Notification time stamped 2023-05-31 16:59:54 UTC
From c792f7665d21c1c387580d1d436a58b54a082e39 Mon Sep 17 00:00:00 2001
From: Zbigniew Jędrzejewski-Szmek <zbyszek(a)in.waw.pl>
Date: Oct 17 2018 21:12:56 +0000
Subject: Subpackage python2-croniter has been removed
---
diff --git a/python-croniter.spec b/python-croniter.spec
index 72ba47d..85131b8 100644
--- a/python-croniter.spec
+++ b/python-croniter.spec
@@ -1,13 +1,10 @@
# Created by pyp2rpm-3.2.3
%global pypi_name croniter
-%if 0%{?fedora}
-%global with_python3 1
-%endif
Name: python-%{pypi_name}
Version: 0.3.19
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Iteration for datetime object with cron like format
License: MIT
@@ -15,26 +12,12 @@ URL:
https://github.com/kiorky/croniter
Source0:
https://files.pythonhosted.org/packages/source/c/%{pypi_name}/%{pypi_name...
BuildArch: noarch
-BuildRequires: python2-devel
-BuildRequires: python2-setuptools
-
-%if 0%{?with_python3}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
-%endif
%description
croniter provides iteration for the datetime object with a cron like format.
-%package -n python2-%{pypi_name}
-Summary: %{summary}
-%{?python_provide:%python_provide python2-%{pypi_name}}
-
-Requires: python2-dateutil
-%description -n python2-%{pypi_name}
-croniter provides iteration for the datetime object with a cron like format.
-
-%if 0%{?with_python3}
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
@@ -42,7 +25,6 @@ Summary: %{summary}
Requires: python3-dateutil
%description -n python3-%{pypi_name}
croniter provides iteration for the datetime object with a cron like format.
-%endif
%prep
%autosetup -p1 -n %{pypi_name}-%{version}
@@ -54,37 +36,25 @@ rm -rf %{pypi_name}.egg-info
find -name \*.py -exec sed -i '/\/usr\/bin\/env python/{d;q}' {} +
%build
-%py2_build
-%if 0%{?with_python3}
%py3_build
-%endif
%install
# Must do the subpackages' install first because the scripts in /usr/bin are
# overwritten with every setup.py install.
-%if 0%{?with_python3}
%py3_install
-%endif
-
-%py2_install
-%files -n python2-%{pypi_name}
-%license docs/LICENSE
-%doc README.rst
-
-%{python2_sitelib}/%{pypi_name}
-%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
-
-%if 0%{?with_python3}
%files -n python3-%{pypi_name}
%license docs/LICENSE
%doc README.rst
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
-%endif
%changelog
+* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek(a)in.waw.pl> - 0.3.19-5
+- Subpackage python2-croniter has been removed
+ See
https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.19-4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
https://src.fedoraproject.org/rpms/python-croniter/c/c792f7665d21c1c38758...