summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-07-23 18:10:50 +0300
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-07-23 19:28:15 +0300
commitf8d016184335583ae66d85068c953d877e25aefa (patch)
tree179352a48f8bdc1404e45b3114a02bbd608ce381
parent93d40d3e8e57c97844acbd31aa3e00d774c30a72 (diff)
downloadlibrpm-tizen-f8d016184335583ae66d85068c953d877e25aefa.tar.gz
librpm-tizen-f8d016184335583ae66d85068c953d877e25aefa.tar.bz2
librpm-tizen-f8d016184335583ae66d85068c953d877e25aefa.zip
rpm-packaging: enable customized autoreq
Enable automatic requirement processing. However, filter out all librpm* stuff so that the package is installable (basically things that would be auto-provided by the package). We still do not want to enable autoprov in order to not interfere the host systems dependency chains. Change-Id: I1b5e6627f42af0f78021b6db485e88ff30b96aed Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rw-r--r--packaging/librpm-tizen.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/packaging/librpm-tizen.spec b/packaging/librpm-tizen.spec
index e0e968d2c..f884fa9dc 100644
--- a/packaging/librpm-tizen.spec
+++ b/packaging/librpm-tizen.spec
@@ -1,3 +1,9 @@
+# Use custom autoreq script for filtering out all librpm* stuff
+# (basically everything that the package would auto-provide) in order to make
+# the package installable
+%define _use_internal_dependency_generator 0
+%define __find_requires bash -c "/usr/lib/rpm/find-requires | grep -v librpm"
+
%define rpmlibdir %{_prefix}/lib
%define rpmhome %{rpmlibdir}/rpm
@@ -58,7 +64,7 @@ Source22: device-sec-policy
Source23: find-provides.ksyms
Source1001: rpm.manifest
Source0: rpm-%{version}.tar.gz
-AutoReqProv: No
+AutoProv: No
Provides: rpm-tizen = %{version}-tizen20140611
#