From d4e96fa8ac69b9327e9ae9568bd3ff8f985ad8a4 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sat, 18 Mar 2017 19:30:24 +0100 Subject: [PATCH 1/8] - new --- python-strict_rfc3339.spec | 88 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 python-strict_rfc3339.spec diff --git a/python-strict_rfc3339.spec b/python-strict_rfc3339.spec new file mode 100644 index 0000000..1579482 --- /dev/null +++ b/python-strict_rfc3339.spec @@ -0,0 +1,88 @@ +# +# Conditional build: +%bcond_without python2 # CPython 2.x module +%bcond_without python3 # CPython 3.x module + +Summary: Strict, simple, lightweight RFC3339 functions for Python 2 +Summary(pl.UTF-8): Ścisłe, proste, lekkie funkcje RFC3339 dla Pythona 2 +Name: python-strict_rfc3339 +Version: 0.7 +Release: 1 +License: GPL v3+ +Group: Libraries/Python +#Source0Download: https://pypi.python.org/simple/strict-rfc3339/ +Source0: https://files.pythonhosted.org/packages/source/s/strict-rfc3339/strict-rfc3339-%{version}.tar.gz +# Source0-md5: 4d9b635b4df885bc37bc1189d66c9abc +URL: https://pypi.python.org/pypi/strict-rfc3339/ +%if %{with python2} +BuildRequires: python-devel >= 1:2.5 +BuildRequires: python-modules >= 1:2.5 +%endif +%if %{with python3} +BuildRequires: python3-devel >= 1:3.2 +BuildRequires: python3-modules >= 1:3.2 +%endif +BuildRequires: rpm-pythonprov +BuildRequires: rpmbuild(macros) >= 1.714 +Requires: python-modules >= 1:2.5 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Strict, simple, lightweight RFC3339 functions for Python 2. + +%description -l pl.UTF-8 +Ścisłe, proste, lekkie funkcje RFC3339 dla Pythona 2. + +%package -n python3-strict_rfc3339 +Summary: Strict, simple, lightweight RFC3339 functions for Python 3 +Summary(pl.UTF-8): Ścisłe, proste, lekkie funkcje RFC3339 dla Pythona 3 +Group: Libraries/Python +Requires: python3-modules >= 1:3.2 + +%description -n python3-strict_rfc3339 +Strict, simple, lightweight RFC3339 functions for Python 3. + +%description -n python3-strict_rfc3339 -l pl.UTF-8 +Ścisłe, proste, lekkie funkcje RFC3339 dla Pythona 3. + +%prep +%setup -q -n strict-rfc3339-%{version} + +%build +%if %{with python2} +%py_build +%endif + +%if %{with python3} +%py3_build +%endif + +%install +rm -rf $RPM_BUILD_ROOT + +%if %{with python2} +%py_install + +%py_postclean +%endif + +%if %{with python3} +%py3_install +%endif + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS README.md +%{py_sitescriptdir}/strict_rfc3339.py[co] +%{py_sitescriptdir}/strict_rfc3339-%{version}-py*.egg-info + +%files -n python3-strict_rfc3339 +%defattr(644,root,root,755) +%doc AUTHORS README.md +%{py3_sitescriptdir}/strict_rfc3339.py +%{py3_sitescriptdir}/__pycache__/strict_rfc3339.cpython-*.py[co] +%{py3_sitescriptdir}/strict_rfc3339-%{version}-py*.egg-info -- 2.43.0 From 7b1cfdd2381bb5c2226bfe1f0de330d6a6977288 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Tue, 3 Jul 2018 14:12:28 +0200 Subject: [PATCH 2/8] - release 2 (by relup.sh) --- python-strict_rfc3339.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-strict_rfc3339.spec b/python-strict_rfc3339.spec index 1579482..347b56e 100644 --- a/python-strict_rfc3339.spec +++ b/python-strict_rfc3339.spec @@ -7,7 +7,7 @@ Summary: Strict, simple, lightweight RFC3339 functions for Python 2 Summary(pl.UTF-8): Ścisłe, proste, lekkie funkcje RFC3339 dla Pythona 2 Name: python-strict_rfc3339 Version: 0.7 -Release: 1 +Release: 2 License: GPL v3+ Group: Libraries/Python #Source0Download: https://pypi.python.org/simple/strict-rfc3339/ -- 2.43.0 From 5bc06d43c81aff5efe4f8be8454f9405a1371bfe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Mon, 28 Oct 2019 10:03:36 +0100 Subject: [PATCH 3/8] - rebuild with python 3.8 - release 3 (by relup.sh) --- python-strict_rfc3339.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-strict_rfc3339.spec b/python-strict_rfc3339.spec index 347b56e..fb013af 100644 --- a/python-strict_rfc3339.spec +++ b/python-strict_rfc3339.spec @@ -7,7 +7,7 @@ Summary: Strict, simple, lightweight RFC3339 functions for Python 2 Summary(pl.UTF-8): Ścisłe, proste, lekkie funkcje RFC3339 dla Pythona 2 Name: python-strict_rfc3339 Version: 0.7 -Release: 2 +Release: 3 License: GPL v3+ Group: Libraries/Python #Source0Download: https://pypi.python.org/simple/strict-rfc3339/ -- 2.43.0 From 28fa6e80deccddc4de5abae5e3b54aba19bd9c07 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sat, 11 Apr 2020 21:25:18 +0200 Subject: [PATCH 4/8] - updated URLs --- python-strict_rfc3339.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-strict_rfc3339.spec b/python-strict_rfc3339.spec index fb013af..96cb53b 100644 --- a/python-strict_rfc3339.spec +++ b/python-strict_rfc3339.spec @@ -10,10 +10,10 @@ Version: 0.7 Release: 3 License: GPL v3+ Group: Libraries/Python -#Source0Download: https://pypi.python.org/simple/strict-rfc3339/ +#Source0Download: https://pypi.org/simple/strict-rfc3339/ Source0: https://files.pythonhosted.org/packages/source/s/strict-rfc3339/strict-rfc3339-%{version}.tar.gz # Source0-md5: 4d9b635b4df885bc37bc1189d66c9abc -URL: https://pypi.python.org/pypi/strict-rfc3339/ +URL: https://pypi.org/project/strict-rfc3339/ %if %{with python2} BuildRequires: python-devel >= 1:2.5 BuildRequires: python-modules >= 1:2.5 -- 2.43.0 From da4e39203e1294313c42fa4c307381355e4e1e24 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Fri, 26 Feb 2021 20:03:17 +0100 Subject: [PATCH 5/8] - release 4 (by relup.sh) --- python-strict_rfc3339.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-strict_rfc3339.spec b/python-strict_rfc3339.spec index 96cb53b..3d405ce 100644 --- a/python-strict_rfc3339.spec +++ b/python-strict_rfc3339.spec @@ -7,7 +7,7 @@ Summary: Strict, simple, lightweight RFC3339 functions for Python 2 Summary(pl.UTF-8): Ścisłe, proste, lekkie funkcje RFC3339 dla Pythona 2 Name: python-strict_rfc3339 Version: 0.7 -Release: 3 +Release: 4 License: GPL v3+ Group: Libraries/Python #Source0Download: https://pypi.org/simple/strict-rfc3339/ -- 2.43.0 From b0229b948dc8e63d062a53c5ccff33e28ee9105b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Fri, 25 Mar 2022 13:37:03 +0100 Subject: [PATCH 6/8] rebuild with python 3.10 Release 5 (by relup.sh) --- python-strict_rfc3339.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-strict_rfc3339.spec b/python-strict_rfc3339.spec index 3d405ce..458e5a5 100644 --- a/python-strict_rfc3339.spec +++ b/python-strict_rfc3339.spec @@ -7,7 +7,7 @@ Summary: Strict, simple, lightweight RFC3339 functions for Python 2 Summary(pl.UTF-8): Ścisłe, proste, lekkie funkcje RFC3339 dla Pythona 2 Name: python-strict_rfc3339 Version: 0.7 -Release: 4 +Release: 5 License: GPL v3+ Group: Libraries/Python #Source0Download: https://pypi.org/simple/strict-rfc3339/ -- 2.43.0 From 0b02139d47fb1ab937022afa303fe9b86848c79e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Fri, 25 Mar 2022 23:32:25 +0100 Subject: [PATCH 7/8] rebuild with python 3.10 Release 6 (by relup.sh) --- python-strict_rfc3339.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-strict_rfc3339.spec b/python-strict_rfc3339.spec index 458e5a5..40f008d 100644 --- a/python-strict_rfc3339.spec +++ b/python-strict_rfc3339.spec @@ -7,7 +7,7 @@ Summary: Strict, simple, lightweight RFC3339 functions for Python 2 Summary(pl.UTF-8): Ścisłe, proste, lekkie funkcje RFC3339 dla Pythona 2 Name: python-strict_rfc3339 Version: 0.7 -Release: 5 +Release: 6 License: GPL v3+ Group: Libraries/Python #Source0Download: https://pypi.org/simple/strict-rfc3339/ -- 2.43.0 From 492e119907b69f6d938742a1febec80875d01cf3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Wed, 30 Mar 2022 14:28:48 +0200 Subject: [PATCH 8/8] rebuild with tests and docs Release 7 (by relup.sh) --- python-strict_rfc3339.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-strict_rfc3339.spec b/python-strict_rfc3339.spec index 40f008d..21cb9b2 100644 --- a/python-strict_rfc3339.spec +++ b/python-strict_rfc3339.spec @@ -7,7 +7,7 @@ Summary: Strict, simple, lightweight RFC3339 functions for Python 2 Summary(pl.UTF-8): Ścisłe, proste, lekkie funkcje RFC3339 dla Pythona 2 Name: python-strict_rfc3339 Version: 0.7 -Release: 6 +Release: 7 License: GPL v3+ Group: Libraries/Python #Source0Download: https://pypi.org/simple/strict-rfc3339/ -- 2.43.0