summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-11-20Remove unnecessary Group tag for localisation packagessubmit/tizen_ivi/20141201.222222submit/tizen/20141121.083447accepted/tizen/mobile/20141128.122430accepted/tizen/ivi/20141204.033159accepted/tizen/common/20141121.180717Łukasz Stelmach1-1/+0
Localisation packages should be in the same group as the main package[1]. [1] https://wiki.tizen.org/wiki/Packaging/Guidelines#Group_Tag Change-Id: Idd50d5a96f03ca316deaec61361016eb59db4065 Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
2014-11-03Remove unnecessary Group tag for documentation packagessubmit/tizen_mobile/20141120.000000submit/tizen_ivi/20141119.444444submit/tizen_ivi/20141119.333333submit/tizen_ivi/20141119.051921submit/tizen/20141104.115426accepted/tizen/mobile/20141119.083810accepted/tizen/ivi/20141120.064253accepted/tizen/common/20141104.235407Łukasz Stelmach1-1/+0
With the Group tag explicitly set to "Documentation" trigger rpmlint errors. With the tag removed from the macro the packages inherit their parents' groups which makes rpmlint happy. Change-Id: I3bbb02e58be284ebf36f3cfb0b2fa66b912332d3 Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
2014-10-09Yocto: compatibility: "remove bashism"submit/tizen_mobile/20141120.053809submit/tizen_common/20141027.223054submit/tizen_common/20141024.152722accepted/tizen/mobile/20141120.054833accepted/tizen/common/20141027.223138Kévin THIERRY1-1/+2
Yocto users can use different shells so the code inside recipes should not be "bash only compliant". Bug-Tizen: BTY-21 Change-Id: I5e91b4a284e195ff823f25f9eeed12544344c4b0 Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-10-03MSM: Avoid creating empty access rule filesJosé Bollo1-0/+4
The msm plugin creates one access rule file in SMACK_RULES_PATH=/etc/smack/accesses.d for each RPM installed. Since Tizen 3, the guideline for packages is simplified and the new guideline states that manifest files have to be as simple as: <manifest> <request> <domain name="_"/> </request> </manifest> It means that most access rule files are empty. Thus, this patch removes the file if it is empty because without any penality, it improves: - the start time of the system - the administration of the system The start time is improved because at start, all the files in /etc/smack/accesses.d are read and loaded to the kernel. As empty files are just removed, no time is spend to seek it, open it, read it, close it, apply empty rule. The administration is also improved because only meaning access rule files are retains, avoid to have to sort what is meaning and what is not. Change-Id: I7b40f2b291f0c1dbcb2f033f62191c651430e3c8 Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
2014-09-15Fixed rpm crash when trying to access an undefined domain.tizen_3.0.m14.3_ivi_releasetizen_3.0.2014.q3_common_releasesubmit/tizen_common/20141008.071414submit/tizen/20140925.072409accepted/tizen/ivi/20141005.142818accepted/tizen/common/20141008.190634accepted/tizen/common/20140925.182508tizen_3.0.m14.3_ivitizen_3.0.2014.q3_commonaccepted/tizen_3.0.m14.3_iviaccepted/tizen_3.0.2014.q3_commonMaciej J. Karpiuk1-1/+1
Change-Id: I5e84c913d1756320bf31442d87b797ff8b5f4633
2014-09-05Remove Smack rules having wrong subjectsubmit/tizen_ivi/20140912.000000submit/tizen_common/20140908.122758accepted/tizen/ivi/20140912.193607accepted/tizen/common/20140908.193650José Bollo1-0/+5
Names of the software repositories were used as subject of the generated smack rules. There is no mention of such behaviour on the help pages in the wiki of tizen. Bug-Tizen: PTREL-638 Change-Id: Iefef89492ab5c9839cb01d3b62dae4c3637f00f4 Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
2014-08-27Merge "Allow re-execution of the %prep section" into tizenCasey Schaufler1-10/+10
2014-08-14Update autotools files on aarch64submit/tizen/20140825.050559accepted/tizen/ivi/20140902.210650accepted/tizen/common/20140826.160946Vyacheslav Barinov2-1/+25
Patch borrowed from OpenSUSE rpm. We have many packages with old config.sub and config.guess files which don't have aarch64 support. In order not to patch every separate package, just update them from rpmbuild during build initialization Change-Id: I040bab160864edad84fd9cffcff2c9226ef3a4d0 Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
2014-08-07Remove %suse_version macrosubmit/tizen_ivi/20140818.000001submit/tizen_ivi/20140818.000000submit/tizen/20140807.133029submit/tizen/20140807.124405Yury Usishchev1-1/+0
It was added to enable cumulate install, but [1] enables it differently. [1]: https://review.tizen.org/gerrit/#/c/25635/ Change-Id: I662871adacd4069cb7750fe59135dc20df0e259a Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
2014-08-04Allow re-execution of the %prep sectionKévin THIERRY1-10/+10
With Yocto, when building rpm a second time, the do_prep() function fails because it assumes it hasn't already ran but will be re-using the previous build directory which hasn't been cleaned. This patch prevent such a situation to fail. This issue is not present when building with GBS since every new build is made in a clean directory but since the yocto recipes are generated from spec file, it is better to directly correct the spec file. This patch has no impact on the GBS build. Bug-Tizen: BTY-15 Change-Id: I1e992b63b41ae76a4d6706046e741dc2d25b15eb Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-08-01AArch64 enablingsubmit/tizen/20140804.114129accepted/tizen/common/20140804.175652Yury Usishchev2-2/+4
* Fix packaging of python modules Python site dir is not always in %{_libdir}, %{python_sitearch} is expanded the same way as configure searches for site dir. * Add vendor option to configure * Add suse_version macro Change-Id: I7d249d9329047c49117c49b52ab89d07e42053f6 Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
2014-07-14AArch64 support v2submit/tizen/20140722.073213accepted/tizen/common/20140724.002209Mark Salter2-0/+16
Here is my updated patch adding AArch64 support. The main change was to use CANONCOLOR=3 rather than 2. --Mark Change-Id: I79e397534d25a4ef4d293222c4cbd415a8fcd6b5 Signed-off-by: Panu Matilainen <pmatilai@redhat.com> Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2014-05-26Remove $BUILDTARGET to solve build arch armv7l.tizen_3.0.m14.2_ivi_releasesubmit/tizen_ivi/20140624.064036submit/tizen_ivi/20140623.000000submit/tizen_ivi/20140622.000000submit/tizen_ivi/20140619.000000submit/tizen_ivi/20140618.000001submit/tizen_ivi/20140618.000000submit/tizen/20140530.070149accepted/tizen/ivi/20140625.191701accepted/tizen/common/20140610.160301tizen_3.0.m14.2_iviRonan Le Martret1-11/+1
Macro --host and --build is defined in %reconfigure, so useless in spec file. Change-Id: I4d396a824b30ec03f6913028e3a3836dd076a1b8 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-04-22Merge python-rpm.spec into rpm.spec and cleaning up the spec file.submit/tizen/20140515.122830Ronan Le Martret2-172/+122
Change-Id: Idb234fbe0d1adddeae2523c05879cc09929dddc2 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-01-29Update changelogsubmit/tizen_ivi_release/20140312.071354submit/tizen/20140312.070924submit/tizen/20140204.192312accepted/tizen/mobile/20140227.070345accepted/tizen/ivi/release/20140312.115358accepted/tizen/ivi/panda/20140312.112815accepted/tizen/ivi/20140205.035255accepted/tizen/generic/20140312.123204accepted/tizen/generic/20140204.211928tizen_ivi_releaseaccepted/tizen_ivi_releaseaccepted/tizen_ivi_pandaaccepted/tizen_genericaccepted/tizen/iviaccepted/tizen/genericPatrick McCarty1-0/+5
Change-Id: Ice517533b3a0650f6d99c1e8e21e73d3c9b4c178 Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
2014-01-29Export kernel package name and kernel package release as new macros.Jacek Pielaszkiewicz1-0/+2
The following macros have been added: 1. %kernel_name - kernel name 2. %kernel_release - kenrel release Change-Id: Ie3d2b310b839353af2855f1b6a0eff6abff1aeeb Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
2014-01-29tizen: Export kernel-devel's package version as %kernel_devel_uname_rKarol Lewandowski1-0/+3
This macro provides full version string of available kernel headers as provided by kernel-devel package. This functionality should simplify process of packaging additional external kernel modules eliminating the step of manual searching for appropriate kernel build directory, eg. BuildRequires: kernel-devel %build make M=/lib/modules/%{kernel_devel_uname_r}/build modules Change-Id: Iea73e418065068f8451c42a2a3a4b46a9b5ffaac Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
2014-01-17Update changelogsubmit/tizen/20140120.102104accepted/tizen/mobile/20140122.163056accepted/tizen/ivi/20140122.184940accepted/tizen/generic/20140120.103117accepted/tizen/mobileMikko Ylinen1-0/+5
Change-Id: I5c89a4219a882ac589658576c3e81aa4ffbba672 Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2014-01-10MSM: fix access type length and validationJarkko Sakkinen2-2/+3
This patch fixes three issues with access type: - SMACK_ACCESS_TYPE_LENGHT -> SMACK_ACCESS_TYPE_LENGTH - Changed the value of SMACK_ACCESS_TYPE_LENGTH from 5 to 6. - String length was calculated with unsafe 'strlen()'. Changed to use strlen(type, SMACK_LABEL_LENGTH + 1) instead. Change-Id: I127d7b2beb8a3258ec1e4a5142f253f842b2fa7a Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
2013-12-20Security plugin: change policy to advisoryJarkko Sakkinen1-19/+29
Change policy from enforcing to advisory when access is requested from unknown domain or permitted to unknown domain. Also trunacated lines to 80 characters, fixed grammar in the warning messages, and removed trailing spaces and tabs. In future, it might make sense to make this behaviour a command-line option. Added a FIXME comment about that. Change-Id: Iab78d79a8a28e019ec8601265a59d259fd46f9d6 Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
2013-12-04Security plugin: adding support for l access typesubmit/tizen/20131213.021127submit/tizen/20131204.161726accepted/tizen/mobile/20131216.220231accepted/tizen/generic/20140106.135159accepted/tizen/20131213.021220accepted/tizen/20131209.172435accepted/tizen/20131207.002837Elena Reshetova1-1/+1
Change-Id: Id61dd99ef2e6a673d3c66a58d71c735b07571970
2013-12-03Updating changelogsubmit/tizen/20131203.181853Rusty Lynch1-0/+3
Change-Id: Ibe31f0a5567947c478f8b089e2e4d7b850019abd Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
2013-12-03Security plugin: removing exec label restrictionElena Reshetova1-0/+2
Change-Id: I1da33e6e842a7f93dade78f2aebc00ed271a271c
2013-11-15Update changelog and fix rpmlint errorsubmit/tizen_ivi_stable/20131116.104001submit/tizen/20131115.204240accepted/tizen/20131115.212447Rusty Lynch2-1/+8
Change-Id: Id9df4a22a240fe9b1028d4bdca6987b6f58b0211 Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
2013-11-15- solve bug PTREL-155, build python-rpm.Ronan Le Martret2-3/+16
Change-Id: Idffe011bde3623d20c647aad8c6bac70b07f83f5 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2013-11-15armv7l:fix faulty line in rpmrc.inAdrian Negreanu1-1/+1
[ 484s] === configuring in db3 (/home/abuild/rpmbuild/BUILD/rpm-4.11.0.1/db3) [ 484s] configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--disable-dependency-tracking' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib' '--sysconfdir=/etc' '--localstatedir=/var' '--with-lua' '--with-acl' '--with-cap' '--enable-shared' '--with-msm' '--build=armv7l-tizen-linux-gnueabi' 'build_alias=armv7l-tizen-linux-gnueabi' 'CFLAGS=-O2 -g -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D __SOFTFP__ -ffunction-sections' 'LDFLAGS=-Wl,-Bsymbolic-functions -ffunction-sections' 'CPPFLAGS= -I/usr/include/nss3 -I/usr/include/nspr4 ' 'CXXFLAGS=-O2 -g -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D __SOFTFP__' --cache-file=/dev/null --srcdir=. [ 485s] configure: WARNING: you should use --build, --host, --target [ 485s] configure: WARNING: you should use --build, --host, --target [ 486s] checking build system type... armv7l-tizen-linux-gnueabi [ 486s] checking host system type... Invalid configuration `__SOFTFP__': machine `__SOFTFP__' not recognized [ 486s] configure: error: /bin/sh ./../db/dist/config.sub __SOFTFP__ failed [ 486s] /bin/mv: cannot stat `Makefile': No such file or directory [ 486s] /bin/cat: Makefile.orig: No such file or directory [ 486s] make: *** No rule to make target `listobjs'. Stop. [ 486s] configure: error: ./configure failed for db3 [ 487s] error: Bad exit status from /var/tmp/rpm-tmp.vjacB0 (%build) [ 487s] [ 487s] [ 487s] RPM build errors: [ 487s] Bad exit status from /var/tmp/rpm-tmp.vjacB0 (%build) Bug-Id: https://bugs.tizen.org/jira/browse/PTREL-398 Change-Id: I36f45d1d52754bbf02b6596eac0d21a715bd451e Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
2013-11-15msm: check libxml/{xmlreader,tree}.hAdrian Negreanu3-2/+13
msmconfig.c:29:25: fatal error: libxml/tree.h: No such file or directory msmmanifest.c:37:30: fatal error: libxml/xmlreader.h: No such file or directory Bug-Id: https://bugs.tizen.org/jira/browse/PTREL-397 Change-Id: If287d79f343ca6f6f4be9392f09e17387305fb8a Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
2013-11-01Security plugin: Removing definition of System domain from default device policysubmit/tizen/20131108.095609accepted/tizen/20131108.201843Elena Reshetova1-1/+0
Change-Id: I8260934c6e5e1421b594545b5c2740e9aaebcfd5 Signed-off-by: Elena Reshetova <elena.reshetova@intel.com>
2013-09-27Security plugin: plugin hooks code refactoring and improvmentElena Reshetova5-341/+400
Change-Id: I4d44db47865dd5c83fcf28435ffc26a70164b69d
2013-09-25Introduction of -locale and -docs subpackages. Moved package to another groupJacek Bukarewicz2-7/+11
Change-Id: I6cb5d33ff6bb54fb57475578d6d2d632cc45ccfc Signed-off-by: Jacek Bukarewicz <j.bukarewicz@samsung.com>
2013-09-16update changessubmit/tizen/20130916.051031accepted/tizen/20130916.211819accepted/tizen/20130916.211448accepted/tizen/20130916.210907accepted/tizen/20130916.151945Anas Nashif1-0/+3
Change-Id: I983e29c06ce691f740cc559c1fd18a4812a71c81
2013-09-10remove --target from %configure macrosAnas Nashif1-3/+0
The target will be determined automatically by the configure scripts instead of forcing it to be %target_platform of RPM. Change-Id: I2284de77c28c4d0c7a9e1a9f819f5861eb5b74a0 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2013-09-03enforce platform for ARMsubmit/tizen/20130912.090641submit/tizen/20130912.080341accepted/tizen/20130913.024734accepted/tizen/20130912.194240accepted/tizen/20130912.190057Anas Nashif2-4/+3
also set optflag defaults for armv7l Change-Id: I0cdcc093245b1e121b51327b83300b59d101a30b Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2013-09-02changessubmit/tizen_ivi_release/20131211.023143submit/tizen_ivi_genivi/20140221.210302submit/tizen_ivi_genivi/20140215.011533submit/tizen_ivi_genivi/20140131.032339submit/tizen/20130903.001559ivi_oct_m2accepted/tizen_ivi_release/20131211.023047accepted/tizen/ivi/genivi/20140221.210052accepted/tizen/ivi/genivi/20140215.011425accepted/tizen/ivi/genivi/20140131.033336Anas Nashif1-0/+3
2013-09-02update changelogAnas Nashif1-0/+5
2013-08-20Security plugin: adding checking of return code for dbus policy verificationElena Reshetova2-35/+37
2013-08-19Security plugin: small fixessubmit/tizen/20130820.223822Elena Reshetova2-52/+1
- Removing unused code - Changing the init hook to take care of new libsmack return code
2013-08-07Security plugin: removing disable-dchecks optionElena Reshetova3-32/+0
2013-08-05update changes and releasesubmit/tizen/20130805.171417Anas Nashif1-0/+7
2013-08-05Security plugin: support for --root optionElena Reshetova5-42/+119
-adding macros to configure location of default policy -adding a default security policy to rpm-plugins dir -adding copying of policy file to chroot dir when rpm is run with --root param -moving policy saving to post_tsm hook
2013-08-05Security plugin: pkg_name allocation in conflictElena Reshetova1-6/+9
- fix to the pkg_name allocation in conflict handling
2013-08-05Security plugin: allowing multiple domains definitionElena Reshetova4-122/+170
- allowing multiple domains definition per manifest - fixing indirect include of config.h - restricting adding new sw source with the same key info
2013-06-29resetting manifest requested domain to floorsubmit/tizen/20130710.134739accepted/tizen/20130710.214747Alexandru Cornea2-0/+11
2013-06-12update changelogsubmit/tizen/20130612.115901accepted/tizen/20130612.195417Anas Nashif1-0/+12
2013-06-12update macros from project confAnas Nashif1-0/+33
2013-06-12Merge branch 'tizen' of ssh://review.tizen.org/platform/upstream/rpm into tizenAnas Nashif4-13/+73
2013-05-31Security plugin: Adding configuration option --disable-dchecksElena Reshetova3-5/+40
2013-05-31Security-plugin: Fix the null pointer comparisonElena Reshetova1-3/+4
possibility in msmXattrSupport
2013-05-10Set license using %licenseAnas Nashif1-1/+2
2013-05-07Fix 32bit kernel builds by not using eu-stripsubmit/tizen/20130517.024101submit/tizen/20130509.184059accepted/tizen/20130520.094313William Douglas1-5/+29
Right now 32bit kernel builds are failing because eu-strip is not performing safe operations. In order to work around this, use objdump as before when running a kernel build (by checking for a Kconfig file in the BUILDIR). Change-Id: I8c24eaab9e0ac1dfe21484522ce4e415d21fcb14 Signed-off-by: William Douglas <william.douglas@intel.com>