diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2013-05-13 15:05:31 +0300 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2013-05-13 16:32:08 +0300 |
commit | 7516a2019b7408b9ed83b4434db0c88a0b16721a (patch) | |
tree | 1b0030626c7d3cd5c6f7971db6c5fc3a3cbe96ec | |
parent | 098a0eada51dbf8d3106e6627cc1888e709cf452 (diff) | |
download | git-buildpackage-release-for-gbsV0.16.tar.gz git-buildpackage-release-for-gbsV0.16.tar.bz2 git-buildpackage-release-for-gbsV0.16.zip |
rpm packaging: depend on pristine-tarrelease-for-gbsV0.16
In practice, it is a weak dependency but upstream RPM doesn't support
weak dependencies so we put it to 'Requires:' for everything else than
openSUSE or Tizen (which do support weak deps).
Change-Id: I43d717d5de6559b7f9d29b12fc6db7adf333bf0f
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rw-r--r-- | packaging/git-buildpackage.spec | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/git-buildpackage.spec b/packaging/git-buildpackage.spec index 17fdb8cb..b9537803 100644 --- a/packaging/git-buildpackage.spec +++ b/packaging/git-buildpackage.spec @@ -74,6 +74,11 @@ Group: Development/Tools/Building Requires: git-core Requires: %{man_pkg_name} Requires: %{python_pkg_name} +%if 0%{?suse_version} || 0%{?tizen_version:1} +Recommends: pristine-tar +%else +Requires: pristine-tar +%endif %description common Common files and documentation, used by both git-buildpackage debian and rpm tools |