-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update spec file #227
base: master
Are you sure you want to change the base?
Update spec file #227
Conversation
Codecov Report
@@ Coverage Diff @@
## master #227 +/- ##
=======================================
Coverage 72.79% 72.79%
=======================================
Files 41 41
Lines 4440 4440
Branches 449 449
=======================================
Hits 3232 3232
Misses 1052 1052
Partials 156 156 Continue to review full report at Codecov.
|
Sorry I find this spec file, messy, ugly and confusing, but ok. |
25a5dc4
to
b6a80cc
Compare
custodia.spec
Outdated
%endif # with_etcd | ||
|
||
%if 0%{?with_ipa_python3} | ||
%files -n python2-custodia-ipa |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be python3-custodia-ipa ?
@@ -151,7 +138,20 @@ Sub-package with python3 custodia extra modules (etcdstore) | |||
|
|||
%{overview} | |||
|
|||
%endif # with_etcd | |||
%if 0%{?with_ipa_python3} | |||
%package -n python%{python3_pkgversion}-custodia-ipa |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we reallyneed to use %{python3_pkgversion} ?
custodia.spec
Outdated
%global with_etcd 0 | ||
%else | ||
%global with_etcd 1 | ||
%if 0%{?fedora} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe %if 0%{?fedora} >= 26 here so if someone tries to build on f25 he'll get only py2 bits ?
- add python2-custodia-ipa with custodia.ipa plugins - ship /etc/custodia/ipa.conf - check RPMs with rpmlint - remove check for python-etcd on PPC, 0.4.5-5 no longer depends on etcd - use %tmpfiles_create macro to create /var/run/custodia in %post hook - simplify conflict with freeipa-server w/o Python 3 fix - drop workaround for Fedora 25 Signed-off-by: Christian Heimes <[email protected]>
Signed-off-by: Christian Heimes [email protected]