Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update spec file #227

wants to merge 1 commit into from

Conversation

tiran
Copy link
Member

@tiran tiran commented Aug 11, 2017

  • 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 cheimes@redhat.com

@codecov-io
Copy link

codecov-io commented Aug 11, 2017

Codecov Report

Merging #227 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f3b6ff5...805ee57. Read the comment docs.

@simo5
Copy link
Member

simo5 commented Aug 11, 2017

Sorry I find this spec file, messy, ugly and confusing, but ok.
/lgtm

@tiran tiran force-pushed the specfile branch 2 times, most recently from 25a5dc4 to b6a80cc Compare August 11, 2017 16:14
@tiran tiran changed the title Update spec file for custodia.ipa Update spec file Aug 11, 2017
custodia.spec Outdated
%endif # with_etcd

%if 0%{?with_ipa_python3}
%files -n python2-custodia-ipa
Copy link
Member

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
Copy link
Member

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}
Copy link
Member

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 <cheimes@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants