summaryrefslogtreecommitdiffstats
path: root/freeipa.spec.in
diff options
context:
space:
mode:
authorMilan KubĂ­k <mkubik@redhat.com>2016-02-15 15:54:40 +0100
committerMartin Basti <mbasti@redhat.com>2016-03-23 14:46:00 +0100
commitfddb74e22e4321cb9cca390d215ddd7b68a740c9 (patch)
treeb21c4a4eeb1574fb2560b35937643c6839cd2c27 /freeipa.spec.in
parentb793c9049ec1bf72eb7d3395e9221b229237171b (diff)
downloadfreeipa-fddb74e22e4321cb9cca390d215ddd7b68a740c9.tar.gz
freeipa-fddb74e22e4321cb9cca390d215ddd7b68a740c9.tar.xz
freeipa-fddb74e22e4321cb9cca390d215ddd7b68a740c9.zip
spec file: rename the python-polib dependency name to python2-polib
Trying to install the package depending on python-polib breaks when the system has newer (and renamed) version python2-polib. *This patch is an workaround* for the issue described in [1]. If a renamed package's provides is equal to an older package's name, dnf tries to install the older package. When the newer package is in the system, this leads to a conflict. [1]: https://bugzilla.redhat.com/show_bug.cgi?id=1096506 Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'freeipa.spec.in')
-rw-r--r--freeipa.spec.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/freeipa.spec.in b/freeipa.spec.in
index b7c1c2424..b0861d865 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -76,7 +76,8 @@ BuildRequires: python-gssapi >= 1.1.2
BuildRequires: python-rhsm
BuildRequires: pyOpenSSL
BuildRequires: pylint >= 1.0
-BuildRequires: python-polib
+# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1096506
+BuildRequires: python2-polib
BuildRequires: python-libipa_hbac
BuildRequires: python-memcached
BuildRequires: python-lxml
@@ -596,7 +597,8 @@ Requires: python-nose
Requires: pytest >= 2.6
Requires: python-paste
Requires: python-coverage
-Requires: python-polib
+# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1096506
+Requires: python2-polib
Requires: python-pytest-multihost >= 0.5
Requires: python-pytest-sourceorder
Requires: ldns-utils