Use versioned python macros

This commit is contained in:
Alexander Bokovoy 2018-07-16 16:26:12 +03:00
parent 779c74e270
commit d895dd1288

View File

@ -119,7 +119,7 @@
Name: freeipa
Version: %{VERSION}
Release: 10%{?dist}
Release: 11%{?dist}
Summary: The Identity, Policy and Audit system
Group: System Environment/Base
@ -1576,24 +1576,24 @@ fi
%files -n python2-ipaclient
%doc README.md Contributors.txt
%license COPYING
%dir %{python_sitelib}/ipaclient
%{python_sitelib}/ipaclient/*.py*
%dir %{python_sitelib}/ipaclient/install
%{python_sitelib}/ipaclient/install/*.py*
%dir %{python_sitelib}/ipaclient/plugins
%{python_sitelib}/ipaclient/plugins/*.py*
%dir %{python_sitelib}/ipaclient/remote_plugins
%{python_sitelib}/ipaclient/remote_plugins/*.py*
%dir %{python_sitelib}/ipaclient/remote_plugins/2_*
%{python_sitelib}/ipaclient/remote_plugins/2_*/*.py*
%dir %{python_sitelib}/ipaclient/csrgen
%dir %{python_sitelib}/ipaclient/csrgen/profiles
%{python_sitelib}/ipaclient/csrgen/profiles/*.json
%dir %{python_sitelib}/ipaclient/csrgen/rules
%{python_sitelib}/ipaclient/csrgen/rules/*.json
%dir %{python_sitelib}/ipaclient/csrgen/templates
%{python_sitelib}/ipaclient/csrgen/templates/*.tmpl
%{python_sitelib}/ipaclient-*.egg-info
%dir %{python2_sitelib}/ipaclient
%{python2_sitelib}/ipaclient/*.py*
%dir %{python2_sitelib}/ipaclient/install
%{python2_sitelib}/ipaclient/install/*.py*
%dir %{python2_sitelib}/ipaclient/plugins
%{python2_sitelib}/ipaclient/plugins/*.py*
%dir %{python2_sitelib}/ipaclient/remote_plugins
%{python2_sitelib}/ipaclient/remote_plugins/*.py*
%dir %{python2_sitelib}/ipaclient/remote_plugins/2_*
%{python2_sitelib}/ipaclient/remote_plugins/2_*/*.py*
%dir %{python2_sitelib}/ipaclient/csrgen
%dir %{python2_sitelib}/ipaclient/csrgen/profiles
%{python2_sitelib}/ipaclient/csrgen/profiles/*.json
%dir %{python2_sitelib}/ipaclient/csrgen/rules
%{python2_sitelib}/ipaclient/csrgen/rules/*.json
%dir %{python2_sitelib}/ipaclient/csrgen/templates
%{python2_sitelib}/ipaclient/csrgen/templates/*.tmpl
%{python2_sitelib}/ipaclient-*.egg-info
%if 0%{?with_python3}
@ -1660,20 +1660,20 @@ fi
%files -n python2-ipalib
%doc README.md Contributors.txt
%license COPYING
%dir %{python_sitelib}/ipapython
%{python_sitelib}/ipapython/*.py*
%dir %{python_sitelib}/ipapython/install
%{python_sitelib}/ipapython/install/*.py*
%dir %{python_sitelib}/ipalib
%{python_sitelib}/ipalib/*.py*
%dir %{python_sitelib}/ipalib/install
%{python_sitelib}/ipalib/install/*.py*
%dir %{python_sitelib}/ipaplatform
%{python_sitelib}/ipaplatform/*
%{python_sitelib}/ipapython-*.egg-info
%{python_sitelib}/ipalib-*.egg-info
%{python_sitelib}/ipaplatform-*.egg-info
%{python_sitelib}/ipaplatform-*-nspkg.pth
%dir %{python2_sitelib}/ipapython
%{python2_sitelib}/ipapython/*.py*
%dir %{python2_sitelib}/ipapython/install
%{python2_sitelib}/ipapython/install/*.py*
%dir %{python2_sitelib}/ipalib
%{python2_sitelib}/ipalib/*.py*
%dir %{python2_sitelib}/ipalib/install
%{python2_sitelib}/ipalib/install/*.py*
%dir %{python2_sitelib}/ipaplatform
%{python2_sitelib}/ipaplatform/*
%{python2_sitelib}/ipapython-*.egg-info
%{python2_sitelib}/ipalib-*.egg-info
%{python2_sitelib}/ipaplatform-*.egg-info
%{python2_sitelib}/ipaplatform-*-nspkg.pth
%files common -f %{gettext_domain}.lang
@ -1704,8 +1704,8 @@ fi
%files -n python2-ipatests
%doc README.md Contributors.txt
%license COPYING
%{python_sitelib}/ipatests
%{python_sitelib}/ipatests-*.egg-info
%{python2_sitelib}/ipatests
%{python2_sitelib}/ipatests-*.egg-info
%{_bindir}/ipa-run-tests
%{_bindir}/ipa-test-config
%{_bindir}/ipa-test-task
@ -1739,6 +1739,9 @@ fi
%endif # with_ipatests
%changelog
* Mon Jul 16 2018 Alexander Bokovoy <abokovoy@redhat.com> - 4.6.90.pre2-11
- Use version-aware macros for Python
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.6.90.pre2-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild