From 2da0fa84cccd3f7d523105b1d02bb351f27a8374 Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Mar 23 2018 21:04:45 +0000 Subject: Update Python 2 dependency declarations to new packaging standards --- diff --git a/totpcgi.spec b/totpcgi.spec index a691865..9c06ef1 100644 --- a/totpcgi.spec +++ b/totpcgi.spec @@ -7,7 +7,7 @@ Name: totpcgi Version: 0.5.5 -Release: 14%{?dist} +Release: 15%{?dist} Summary: A centralized totp solution based on google-authenticator License: GPLv2+ @@ -22,7 +22,7 @@ BuildArch: noarch BuildRequires: checkpolicy, selinux-policy-devel, hardlink, python2-devel Requires: httpd, mod_ssl -Requires: python-totpcgi = %{version}-%{release} +Requires: python2-totpcgi = %{version}-%{release} %description @@ -32,7 +32,7 @@ A CGI/FCGI application to centralize google-authenticator deployments. %package -n python2-totpcgi %{?python_provide:%python_provide python2-totpcgi} Summary: Python libraries required for totpcgi -Requires: python-bcrypt, python-pyotp, python-crypto, python-passlib +Requires: python2-bcrypt, python2-pyotp, python2-crypto, python2-passlib %description -n python2-totpcgi This package includes the Python libraries required for totpcgi and @@ -41,8 +41,8 @@ totpcgi-provisioning. %package provisioning Summary: CGI for Google Authenticator provisioning using totpcgi -Requires: python-totpcgi = %{version}-%{release} -Requires: httpd, mod_ssl, python-qrcode +Requires: python2-totpcgi = %{version}-%{release} +Requires: httpd, mod_ssl, python2-qrcode %description provisioning This package provides the CGI for provisioning Google Authenticator tokens @@ -51,7 +51,7 @@ used by totpcgi. %package selinux Summary: SELinux policies for totpcgi -Requires: python-%{name} = %{version}-%{release} +Requires: python2-%{name} = %{version}-%{release} Requires: selinux-policy >= %{selinux_policyver} Requires(post): /usr/sbin/semodule, /sbin/restorecon, /sbin/fixfiles Requires(postun): /usr/sbin/semodule, /sbin/restorecon, /sbin/fixfiles @@ -207,6 +207,10 @@ fi %changelog +* Fri Mar 23 2018 Iryna Shcherbina - 0.5.5-15 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + * Fri Feb 09 2018 Fedora Release Engineering - 0.5.5-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild