summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-01-04 05:53:10 -0800
committerAnas Nashif <anas.nashif@intel.com>2013-02-02 16:44:44 -0800
commit3730f52f63bf6dd902061ee86ec4256334487150 (patch)
treed42ebc3deb8f4b651eb9131ad5db113adc2f62f7 /packaging
parente1e3c937a48cd469fe9af213cdbf942c09cb0880 (diff)
downloadlibrpm-tizen-3730f52f63bf6dd902061ee86ec4256334487150.tar.gz
librpm-tizen-3730f52f63bf6dd902061ee86ec4256334487150.tar.bz2
librpm-tizen-3730f52f63bf6dd902061ee86ec4256334487150.zip
spec cleanup
Diffstat (limited to 'packaging')
-rw-r--r--packaging/rpm.spec10
1 files changed, 3 insertions, 7 deletions
diff --git a/packaging/rpm.spec b/packaging/rpm.spec
index 02b3712ed..79530c9b1 100644
--- a/packaging/rpm.spec
+++ b/packaging/rpm.spec
@@ -41,8 +41,8 @@ Source4: rpm-tizen_macros
Source5: rpmsort
Source6: symset-table
Source8: rpmconfigcheck
-Source13: find-docs.sh
-Source22: device-sec-policy
+Source13: find-docs.sh
+Source22: device-sec-policy
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#
# avoid bootstrapping problem
@@ -61,8 +61,6 @@ all installed packages. RPM also supports database queries.
Summary: Include Files and Libraries mandatory for Development
Group: System/Packages
Requires: rpm = %{version}
-# for people confusing the one with the other
-#Recommends: rpm-build = %{version}
Requires: popt-devel
%description devel
@@ -77,7 +75,6 @@ Summary: Tools and Scripts to create rpm packages
Group: System/Packages
Requires: rpm = %{version}
Provides: rpmbuild rpm:%_bindir/rpmbuild
-# SUSE's build essentials
Requires: bzip2
Requires: xz
Requires: gzip
@@ -209,7 +206,6 @@ for i in /usr/share/automake-*/*; do
fi
done
popd
-gzip -9 CHANGES
rm -rf %{buildroot}/%{_libdir}/python%{py_ver}
rm -f %{buildroot}%{_libdir}/*.la
rm -f %{buildroot}%{_libdir}/rpm-plugins/*.la
@@ -218,7 +214,7 @@ sh %{buildroot}/usr/lib/rpm/find-lang.sh %{buildroot} rpm
# rpm is using the host_cpu as default for the platform, but armv7hl is not known by the kernel.
# so we need to enforce the platform here.
# We don't want to use armv7l because it would make us incompatible to Fedora and MeeGo plattforms.
-echo -n armv7hl-suse-linux> %{buildroot}/etc/rpm/platform
+echo -n armv7hl-tizen-linux> %{buildroot}/etc/rpm/platform
%endif
%post