From fcde7f8941de3e7333b6a5f3a474ea42e31d421f Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Jan 04 2019 14:20:18 +0000 Subject: Subpackage python2-pycadf has been removed --- diff --git a/python-pycadf.spec b/python-pycadf.spec index f07d898..20b90aa 100644 --- a/python-pycadf.spec +++ b/python-pycadf.spec @@ -3,13 +3,10 @@ %{!?upstream_version: %global upstream_version %{version}%{?milestone}} -%if 0%{?fedora} -%global with_python3 1 -%endif Name: python-%{sname} Version: 2.4.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: DMTF Cloud Audit (CADF) data model License: ASL 2.0 @@ -22,31 +19,6 @@ BuildArch: noarch DMTF Cloud Audit (CADF) data model -%package -n python2-%{sname} -Summary: DMTF Cloud Audit (CADF) data model - -BuildRequires: python2-devel -BuildRequires: python-setuptools -BuildRequires: python-pbr - -Requires: python-babel -Requires: python-debtcollector >= 1.2.0 -Requires: python-iso8601 -Requires: python-netaddr -Requires: python-oslo-config >= 1:3.7.0 -Requires: python-oslo-messaging -Requires: python-oslo-serialization >= 1.10.0 -Requires: pytz -Requires: python-six >= 1.9.0 -Requires: python-webob >= 1.2.3 -Requires: python-%{sname}-common = %{version}-%{release} - -%{?python_provide:%python_provide python2-%{sname}} - -%description -n python2-%{sname} -DMTF Cloud Audit (CADF) data model - -%if 0%{?with_python3} %package -n python3-%{sname} Summary: DMTF Cloud Audit (CADF) data model @@ -64,13 +36,11 @@ Requires: python3-oslo-serialization >= 1.10.0 Requires: python3-pytz Requires: python3-six >= 1.9.0 Requires: python3-webob >= 1.2.3 -Requires: python-%{sname}-common = %{version}-%{release} %{?python_provide:%python_provide python3-%{sname}} %description -n python3-%{sname} DMTF Cloud Audit (CADF) data model -%endif %package -n python-%{sname}-common Summary: DMTF Cloud Audit (CADF) data model @@ -86,31 +56,19 @@ rm -rf %{sname}.egg-info %build -%py2_build -%if 0%{?with_python3} %py3_build -%endif %install -%py2_install -%if 0%{?with_python3} %py3_install -%endif mkdir -p %{buildroot}/%{_sysconfdir} mv %{buildroot}/usr/etc/%{sname} %{buildroot}/%{_sysconfdir}/ -%files -n python2-%{sname} -%{python2_sitelib}/%{sname} -%{python2_sitelib}/%{sname}-%{upstream_version}-py?.?.egg-info - -%if 0%{?with_python3} %files -n python3-%{sname} %{python3_sitelib}/%{sname} %{python3_sitelib}/%{sname}-%{upstream_version}-py?.?.egg-info -%endif %files -n python-%{sname}-common %doc README.rst @@ -120,6 +78,10 @@ mv %{buildroot}/usr/etc/%{sname} %{buildroot}/%{_sysconfdir}/ %changelog +* Fri Jan 04 2019 Miro Hrončok - 2.4.0-8 +- Subpackage python2-pycadf has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Sat Jul 14 2018 Fedora Release Engineering - 2.4.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild