From 2891c46bbd943ae5f974c87a63f3eb436ee08837 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 23:54:22 +0300 Subject: [PATCH] Remove unnecessary files and fix spec-file --- README.md | 3 --- python-hatch-vcs.spec | 42 +++++++++++++++++++++++++++++++++++++++++- sources | 1 - 3 files changed, 41 insertions(+), 5 deletions(-) delete mode 100644 README.md delete mode 100644 sources diff --git a/README.md b/README.md deleted file mode 100644 index 2307b34..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# python-hatch-vcs - -The python-hatch-vcs package diff --git a/python-hatch-vcs.spec b/python-hatch-vcs.spec index e2fa14b..ead483f 100644 --- a/python-hatch-vcs.spec +++ b/python-hatch-vcs.spec @@ -1,3 +1,13 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + # Let’s try to build this as early as we can, since it’s a dependency for # some important libraries, such as python-platformdirs. %bcond_with bootstrap @@ -76,4 +86,34 @@ k="${k-}${k+ and }not test_fallback" %changelog -%autochangelog +* Tue Jul 25 2023 Benjamin A. Beasley - 0.3.0-1 +- Update to 0.3.0 (close RHBZ#2152320) +- We can now rely on pyproject-rpm-macros >= 1.2.0 +- The LICENSE.txt file is now handled in pyproject_files +- The setuptools_scm 7 patch is now merged upstream + +* Tue Jul 25 2023 Benjamin A. Beasley - 0.2.1-2 +- Use hatchling’s new “prepare_metadata_…” hook support for BR’s + +* Tue Feb 14 2023 Benjamin A. Beasley - 0.2.1-1 +- Update to 0.2.1 + +* Tue Feb 14 2023 Benjamin A. Beasley - 0.2.0-6 +- EPEL9: allow python-setuptools_scm 6.0.1 +- Skip test_fallback, as upstream does for Python 2.7, due to the + downgraded setuptools-scm version. + +* Tue Feb 14 2023 Benjamin A. Beasley - 0.2.0-5 +- Confirm License is SPDX MIT + +* Sun Sep 11 2022 Benjamin A. Beasley - 0.2.0-4 +- Fix extra newline in description + +* Fri May 06 2022 Benjamin A. Beasley - 0.2.0-3 +- Use wheel-building support to generate BR’s + +* Sun May 01 2022 Benjamin A. Beasley - 0.2.0-2 +- Adjust for pyproject-rpm-macros >= 1.1.0 + +* Fri Apr 22 2022 Benjamin A. Beasley - 0.2.0-1 +- Initial package (close RHBZ#2077832) diff --git a/sources b/sources deleted file mode 100644 index 7f2b55e..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (hatch_vcs-0.3.0.tar.gz) = 06a80e90b45b1316b42845808d04d00d00356f42d32f02d934db0aa9df05efa2f692413709e0dd5465f447829f2f5410110fbbeb826bafdea1f1014e3096e056