diff --git totpcgi/totpcgi.spec totpcgi/totpcgi.spec.tmp index 9e5929cdce..403272b7b8 100644 --- totpcgi/totpcgi.spec +++ totpcgi/totpcgi.spec.tmp @@ -7,7 +7,7 @@ Name: totpcgi Version: 0.5.5 -Release: 10%{?dist} +Release: 11%{?dist} Summary: A centralized totp solution based on google-authenticator License: GPLv2+ @@ -30,11 +30,12 @@ Requires: python-totpcgi = %{version}-%{release} A CGI/FCGI application to centralize google-authenticator deployments. -%package -n python-totpcgi +%package -n python2-totpcgi +%{?python_provide:%python_provide python2-totpcgi} Summary: Python libraries required for totpcgi Requires: py-bcrypt, python-pyotp, python-crypto, python-passlib -%description -n python-totpcgi +%description -n python2-totpcgi This package includes the Python libraries required for totpcgi and totpcgi-provisioning. @@ -129,7 +130,7 @@ done /usr/sbin/hardlink -cv %{buildroot}%{_datadir}/selinux -%pre -n python-totpcgi +%pre -n python2-totpcgi # We always add both the totpcgi and totpcgi-provisioning user /usr/sbin/useradd -c "Totpcgi user" \ -M -s /sbin/nologin -d /var/lib/totpcgi %{totpcgiuser} 2> /dev/null || : @@ -183,7 +184,7 @@ fi %config(noreplace) %{_sysconfdir}/httpd/conf.d/totpcgi.conf %attr(-, %{totpcgiprovuser}, %{totpcgiuser}) %{_localstatedir}/lib/totpcgi -%files -n python-totpcgi +%files -n python2-totpcgi %doc COPYING %{python_sitelib}/* %dir %attr(-, %{totpcgiprovuser}, %{totpcgiuser}) %{_sysconfdir}/totpcgi @@ -207,6 +208,10 @@ fi %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.5.5-11 +- Python 2 binary package renamed to python2-totpcgi + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.5.5-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild