From 456a0e9d68d1eb1a378f86c54b55a1eeb7a11446 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Jan 15 2019 10:54:20 +0000 Subject: Subpackage python2-debconf has been removed --- diff --git a/debconf.spec b/debconf.spec index 9b70483..c0f8082 100644 --- a/debconf.spec +++ b/debconf.spec @@ -1,6 +1,6 @@ Name: debconf Version: 1.5.69 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Debian configuration management system Group: Development/Tools @@ -10,8 +10,7 @@ Source0: http://ftp.de.debian.org/debian/pool/main/d/%{name}/%{name}_%{ve BuildArch: noarch #Build-Depends: debhelper (>= 9~), dh-exec, po-debconf, po4a (>= 0.23) -#Build-Depends-Indep: perl (>= 5.10.0-16), python (>= 2.6.6-3~), python3 (>= 3.1.2-8), gettext (>= 0.13), libintl-perl, libqtgui4-perl -BuildRequires: python2-devel +#Build-Depends-Indep: perl (>= 5.10.0-16), python3 (>= 3.1.2-8), gettext (>= 0.13), libintl-perl, libqtgui4-perl BuildRequires: python%{python3_pkgversion}-devel BuildRequires: po4a >= 0.23 BuildRequires: gettext >= 0.13 @@ -76,13 +75,6 @@ Requires: %{name} = %{version}-%{release} %description utils This package contains some small utilities for debconf developers. -%package -n python2-%{name} -Summary: python2 for debconf -%{?python_provide:%python_provide python2-%{name}} - -%description -n python2-%{name} -This package contains the python2 for debconf. - %package -n python%{python3_pkgversion}-%{name} Summary: python3 for debconf. %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} @@ -102,11 +94,6 @@ This package contains the python3 for debconf. %install make install-utils prefix=%{buildroot} make install-i18n prefix=%{buildroot} -#make install-python2 prefix=%{buildroot} -set -e; for dir in %{buildroot}%{python2_sitelib}; do \ - install -d $dir; \ - install -m 0644 debconf.py $dir/; \ -done #make install-python3 prefix=%{buildroot} install -d %{buildroot}%{python3_sitelib} install -m 0644 debconf.py %{buildroot}%{python3_sitelib} @@ -270,13 +257,15 @@ done %{_mandir}/man1/debconf-loadtemplate.1* %{_mandir}/man1/debconf-mergetemplate.1* -%files -n python2-%{name} -%{python2_sitelib} - %files -n python%{python3_pkgversion}-%{name} -%{python3_sitelib} +%{python3_sitelib}/debconf.py +%{python3_sitelib}/__pycache__/debconf.* %changelog +* Tue Jan 15 2019 Miro Hrončok - 1.5.69-2 +- Subpackage python2-debconf has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Mon Sep 17 2018 Sérgio Basto - 1.5.69-1 - Update to 1.5.69 (#1504325) - Provide Python2 and Python3 sub packages (#1531598)