URL: https://github.com/freeipa/freeipa/pull/2729
Author: tiran
 Title: #2729: Don't use Python dependency generator yet
Action: opened

PR body:
"""
Fedora 30 started to have python_enable_dependency_generator by default.
Some packages like python3-dbus don't have the new dist names yet. This
fix enables testing on rawhide.
    
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/

"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/2729/head:pr2729
git checkout pr2729
From 85e5e16b742fef47ac00f69a57b8c7a652a955ff Mon Sep 17 00:00:00 2001
From: Christian Heimes <chei...@redhat.com>
Date: Sun, 6 Jan 2019 17:37:50 +0100
Subject: [PATCH 1/2] Don't use Python dependency generator yet

Fedora 30 started to have python_enable_dependency_generator by default.
Some packages like python3-dbus don't have the new dist names yet. This
fix enables testing on rawhide.

https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/

Signed-off-by: Christian Heimes <chei...@redhat.com>
---
 freeipa.spec.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/freeipa.spec.in b/freeipa.spec.in
index 47054eeabb..05d123ab91 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -74,6 +74,11 @@
 # https://pagure.io/389-ds-base/issue/49818
 %global ds_version 1.4.0.16-1
 
+# Don't use Fedora's Python dependency generator on Fedora 30/rawhide yet.
+# Some packages don't provide new dist aliases.
+# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/
+%{?python_disable_dependency_generator}
+
 %endif  # Fedora
 
 # Require Dogtag PKI 10.6.8-3 (10.6.7 was never pushed to stable)

From aea426b21c3782b72e43572569c88e5f8f6179f4 Mon Sep 17 00:00:00 2001
From: Christian Heimes <chei...@redhat.com>
Date: Sun, 6 Jan 2019 17:39:51 +0100
Subject: [PATCH 2/2] Temp commit to test rawhide

---
 .freeipa-pr-ci.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.freeipa-pr-ci.yaml b/.freeipa-pr-ci.yaml
index abcf8c5b63..3622612d72 120000
--- a/.freeipa-pr-ci.yaml
+++ b/.freeipa-pr-ci.yaml
@@ -1 +1 @@
-ipatests/prci_definitions/gating.yaml
\ No newline at end of file
+ipatests/prci_definitions/nightly_rawhide.yaml
\ No newline at end of file
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/freeipa-devel@lists.fedorahosted.org

Reply via email to