From abd606a6459bfc5b0813bcd3d9591a352c493487 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Fri, 19 Jun 2020 20:30:27 +0000 Subject: [PATCH 01/10] Added the README --- README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..1d7fe12 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# python-jaraco-collections + +Collection objects similar to those in stdlib by jaraco \ No newline at end of file From 838945ac66592a8699eb74873d84907b22c6d8fd Mon Sep 17 00:00:00 2001 From: Matthias Runge Date: Mon, 22 Jun 2020 08:14:03 +0200 Subject: [PATCH 02/10] Initial import --- .gitignore | 1 + python-jaraco-collections.spec | 87 ++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 89 insertions(+) create mode 100644 .gitignore create mode 100644 python-jaraco-collections.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1baf40a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/jaraco.collections-3.0.0.tar.gz diff --git a/python-jaraco-collections.spec b/python-jaraco-collections.spec new file mode 100644 index 0000000..8c9dbdc --- /dev/null +++ b/python-jaraco-collections.spec @@ -0,0 +1,87 @@ +%global pypi_name jaraco.collections + +Name: python-jaraco-collections +Version: 3.0.0 +Release: 2%{?dist} +Summary: Collection objects similar to those in stdlib by jaraco + +License: MIT +URL: https://github.com/jaraco/jaraco.collections +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(jaraco.classes) +BuildRequires: python3dist(jaraco.packaging) >= 3.2 + +BuildRequires: python3dist(setuptools) +BuildRequires: python3dist(setuptools-scm) >= 1.15.0 +BuildRequires: python3dist(sphinx) + +%if %{with tests} +# test requirements +BuildRequires: python3dist(jaraco.text) +BuildRequires: python3dist(pytest) >= 3.5 +BuildRequires: python3dist(pytest-black-multipy) +BuildRequires: python3dist(pytest-checkdocs) >= 1.2.3 +BuildRequires: python3dist(pytest-cov) +BuildRequires: python3dist(pytest-flake8) +BuildRequires: python3dist(rst.linker) >= 1.9 +BuildRequires: python3dist(six) >= 1.7.0 +%endif + +%description +%{summary} + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +Requires: python3dist(jaraco.classes) +Requires: python3dist(jaraco.packaging) >= 3.2 +Requires: python3dist(jaraco.text) +Requires: python3dist(six) >= 1.7.0 +%description -n python3-%{pypi_name} +%{summary} + +%package -n python-%{pypi_name}-doc +Summary: jaraco.collections documentation +%description -n python-%{pypi_name}-doc +Documentation for jaraco.collections + +%prep +%autosetup -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build +# generate html docs +PYTHONPATH=${PWD} sphinx-build-3 docs html +# remove the sphinx-build leftovers +rm -rf html/.{doctrees,buildinfo} + +%if %{with tests} +%check +%pytest +%endif + +%install +%py3_install + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.rst +%{python3_sitelib}/jaraco +%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info + +%files -n python-%{pypi_name}-doc +%doc html +%license LICENSE + +%changelog +* Fri Jun 19 2020 Matthias Runge - 3.0.0-2 +- review feedback: fix license, remove (wrong) conflict + +* Fri Mar 13 2020 Matthias Runge - 3.0.0-1 +- Initial package. diff --git a/sources b/sources new file mode 100644 index 0000000..3a1aba8 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (jaraco.collections-3.0.0.tar.gz) = c6c5d28fe4b3940c81c68bf877249805db3f508d83a0071947c7a5596d3636631df91cc6e87802b0fa6cd5c8bdd1ef2f39b924471666b44d2147cb64ad1533ad From d9c56879fc2ea8fe088337af766f87c0792cffd1 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Fri, 26 Jun 2020 18:28:18 +0200 Subject: [PATCH 03/10] Fix a file conflict with python3-jaraco Rename the binary rpms to conform to the packaging guidelines Misc packaging fixes --- python-jaraco-collections.spec | 43 +++++++++++++++++++++++----------- 1 file changed, 29 insertions(+), 14 deletions(-) diff --git a/python-jaraco-collections.spec b/python-jaraco-collections.spec index 8c9dbdc..7516c2e 100644 --- a/python-jaraco-collections.spec +++ b/python-jaraco-collections.spec @@ -2,7 +2,7 @@ Name: python-jaraco-collections Version: 3.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Collection objects similar to those in stdlib by jaraco License: MIT @@ -33,20 +33,28 @@ BuildRequires: python3dist(six) >= 1.7.0 %description %{summary} -%package -n python3-%{pypi_name} +%package -n python3-jaraco-collections Summary: %{summary} -%{?python_provide:%python_provide python3-%{pypi_name}} -Requires: python3dist(jaraco.classes) -Requires: python3dist(jaraco.packaging) >= 3.2 -Requires: python3dist(jaraco.text) -Requires: python3dist(six) >= 1.7.0 -%description -n python3-%{pypi_name} +Requires: python3-jaraco + +# The package name was changed. Obsolete the previous +# name to provide a clean upgrade path. +# Remove in Fedora >= 36 +Obsoletes: python3-jaraco.collections < 3.0.0-3 + +%description -n python3-jaraco-collections %{summary} -%package -n python-%{pypi_name}-doc +%package -n python-jaraco-collections-doc Summary: jaraco.collections documentation -%description -n python-%{pypi_name}-doc + +# The package name was changed. Obsolete the previous +# name to provide a clean upgrade path. +# Remove in Fedora >= 36 +Obsoletes: python-jaraco.collections-doc < 3.0.0-3 + +%description -n python-jaraco-collections-doc Documentation for jaraco.collections %prep @@ -69,17 +77,24 @@ rm -rf html/.{doctrees,buildinfo} %install %py3_install -%files -n python3-%{pypi_name} +%files -n python3-jaraco-collections %license LICENSE %doc README.rst -%{python3_sitelib}/jaraco -%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info +# These excludes are provided by python3-jaraco +%pycached %exclude %{python3_sitelib}/jaraco/__init__.py +%pycached %{python3_sitelib}/jaraco/collections.py +%{python3_sitelib}/jaraco.collections-%{version}-py%{python3_version}.egg-info/ -%files -n python-%{pypi_name}-doc +%files -n python-jaraco-collections-doc %doc html %license LICENSE %changelog +* Fri Jun 26 2020 Charalampos Stratakis - 3.0.0-3 +- Fix a file conflict with python3-jaraco +- Rename the binary rpms to conform to the packaging guidelines +- Misc packaging fixes + * Fri Jun 19 2020 Matthias Runge - 3.0.0-2 - review feedback: fix license, remove (wrong) conflict From d7806775be4e3556566add7cbc7e4fe7133a996e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 01:39:50 +0000 Subject: [PATCH 04/10] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-jaraco-collections.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-jaraco-collections.spec b/python-jaraco-collections.spec index 7516c2e..eb440a1 100644 --- a/python-jaraco-collections.spec +++ b/python-jaraco-collections.spec @@ -2,7 +2,7 @@ Name: python-jaraco-collections Version: 3.0.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Collection objects similar to those in stdlib by jaraco License: MIT @@ -90,6 +90,9 @@ rm -rf html/.{doctrees,buildinfo} %license LICENSE %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 3.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jun 26 2020 Charalampos Stratakis - 3.0.0-3 - Fix a file conflict with python3-jaraco - Rename the binary rpms to conform to the packaging guidelines From a0659a9a7ae994e9e4335cdb94f394a2be5dceee Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 11:15:16 +0000 Subject: [PATCH 05/10] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-jaraco-collections.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-jaraco-collections.spec b/python-jaraco-collections.spec index eb440a1..c705d68 100644 --- a/python-jaraco-collections.spec +++ b/python-jaraco-collections.spec @@ -2,7 +2,7 @@ Name: python-jaraco-collections Version: 3.0.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Collection objects similar to those in stdlib by jaraco License: MIT @@ -90,6 +90,9 @@ rm -rf html/.{doctrees,buildinfo} %license LICENSE %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 3.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Jul 29 2020 Fedora Release Engineering - 3.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 1560eaf4de52ed7ac469b7831eb6f27bc8ff2d56 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 4 Jun 2021 15:15:48 +0200 Subject: [PATCH 06/10] Rebuilt for Python 3.10 --- python-jaraco-collections.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-jaraco-collections.spec b/python-jaraco-collections.spec index c705d68..2ae7618 100644 --- a/python-jaraco-collections.spec +++ b/python-jaraco-collections.spec @@ -2,7 +2,7 @@ Name: python-jaraco-collections Version: 3.0.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Collection objects similar to those in stdlib by jaraco License: MIT @@ -90,6 +90,9 @@ rm -rf html/.{doctrees,buildinfo} %license LICENSE %changelog +* Fri Jun 04 2021 Python Maint - 3.0.0-6 +- Rebuilt for Python 3.10 + * Wed Jan 27 2021 Fedora Release Engineering - 3.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 0f8edf3a8e3d3d57662b20d746e4c331b46744f1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 06:59:15 +0000 Subject: [PATCH 07/10] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-jaraco-collections.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-jaraco-collections.spec b/python-jaraco-collections.spec index 2ae7618..9602294 100644 --- a/python-jaraco-collections.spec +++ b/python-jaraco-collections.spec @@ -2,7 +2,7 @@ Name: python-jaraco-collections Version: 3.0.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Collection objects similar to those in stdlib by jaraco License: MIT @@ -90,6 +90,9 @@ rm -rf html/.{doctrees,buildinfo} %license LICENSE %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 3.0.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Fri Jun 04 2021 Python Maint - 3.0.0-6 - Rebuilt for Python 3.10 From 96be29963d1f51c453957e09356b6f46dea097c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 20 Dec 2021 19:46:33 +0100 Subject: [PATCH 08/10] Use PEP 503 names for BuildRequires Since Fedora 33, we generate both python3dist(foo.bar) and python3dist(foo-bar) provides, but we'd like to follow PEP 503 and use only the names with dash. By using the dashes, this is not compatible with the provides generated in EPEL 8, compatibility can be achieved with the %py3_dist macro. --- python-jaraco-collections.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python-jaraco-collections.spec b/python-jaraco-collections.spec index 9602294..537a28f 100644 --- a/python-jaraco-collections.spec +++ b/python-jaraco-collections.spec @@ -11,8 +11,8 @@ Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel -BuildRequires: python3dist(jaraco.classes) -BuildRequires: python3dist(jaraco.packaging) >= 3.2 +BuildRequires: python3dist(jaraco-classes) +BuildRequires: python3dist(jaraco-packaging) >= 3.2 BuildRequires: python3dist(setuptools) BuildRequires: python3dist(setuptools-scm) >= 1.15.0 @@ -20,13 +20,13 @@ BuildRequires: python3dist(sphinx) %if %{with tests} # test requirements -BuildRequires: python3dist(jaraco.text) +BuildRequires: python3dist(jaraco-text) BuildRequires: python3dist(pytest) >= 3.5 BuildRequires: python3dist(pytest-black-multipy) BuildRequires: python3dist(pytest-checkdocs) >= 1.2.3 BuildRequires: python3dist(pytest-cov) BuildRequires: python3dist(pytest-flake8) -BuildRequires: python3dist(rst.linker) >= 1.9 +BuildRequires: python3dist(rst-linker) >= 1.9 BuildRequires: python3dist(six) >= 1.7.0 %endif From 669b3f412502377a3d4acc1a75165e9da8399cdc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 12:54:38 +0000 Subject: [PATCH 09/10] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-jaraco-collections.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-jaraco-collections.spec b/python-jaraco-collections.spec index 537a28f..01bc479 100644 --- a/python-jaraco-collections.spec +++ b/python-jaraco-collections.spec @@ -2,7 +2,7 @@ Name: python-jaraco-collections Version: 3.0.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Collection objects similar to those in stdlib by jaraco License: MIT @@ -90,6 +90,9 @@ rm -rf html/.{doctrees,buildinfo} %license LICENSE %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 3.0.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 3.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From dfebfbd7144b3198faab861bc3a129703c9b98c0 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 23:56:29 +0300 Subject: [PATCH 10/10] Remove unnecessary files --- README.md | 3 --- sources | 1 - 2 files changed, 4 deletions(-) delete mode 100644 README.md delete mode 100644 sources diff --git a/README.md b/README.md deleted file mode 100644 index 1d7fe12..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# python-jaraco-collections - -Collection objects similar to those in stdlib by jaraco \ No newline at end of file diff --git a/sources b/sources deleted file mode 100644 index 3a1aba8..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (jaraco.collections-3.0.0.tar.gz) = c6c5d28fe4b3940c81c68bf877249805db3f508d83a0071947c7a5596d3636631df91cc6e87802b0fa6cd5c8bdd1ef2f39b924471666b44d2147cb64ad1533ad