[packages/python3-hatch-fancy-pypi-readme] - rel 4, drop the underscore madness from package name

baggins baggins at pld-linux.org
Fri Apr 4 02:22:37 CEST 2025


commit 4543e31b830912457ad5bbcc430cbd9ce5c7c589
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Apr 4 01:29:53 2025 +0200

    - rel 4, drop the underscore madness from package name

 ...ypi_readme.spec => python3-hatch-fancy-pypi-readme.spec | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/python3-hatch_fancy_pypi_readme.spec b/python3-hatch-fancy-pypi-readme.spec
similarity index 75%
rename from python3-hatch_fancy_pypi_readme.spec
rename to python3-hatch-fancy-pypi-readme.spec
index b8d3e9a..4d88ce8 100644
--- a/python3-hatch_fancy_pypi_readme.spec
+++ b/python3-hatch-fancy-pypi-readme.spec
@@ -1,14 +1,15 @@
 # Conditional build:
 %bcond_with	tests	# unit tests
 
-%define		module	 hatch_fancy_pypi_readme
+%define		module	 hatch-fancy-pypi-readme
 Summary:	Fancy PyPI READMEs with Hatch
 Name:		python3-%{module}
 Version:	24.1.0
-Release:	3
+Release:	4
 License:	MIT
 Group:		Libraries/Python
-Source0:	https://pypi.debian.net/hatch_fancy_pypi_readme/%{module}-%{version}.tar.gz
+#Source0Download: https://pypi.org/simple/hatch-fancy-pypi-readme
+Source0:	https://files.pythonhosted.org/packages/source/h/hatch-fancy-pypi-readme/hatch_fancy_pypi_readme-%{version}.tar.gz
 # Source0-md5:	f5f9e639f066c91f8e623ec6231beae9
 URL:		https://pypi.org/project/hatch-fancy-pypi-readme/
 BuildRequires:	python3-build
@@ -20,6 +21,7 @@ BuildRequires:	python3-modules >= 1:3.2
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 2.044
 Requires:	python3-modules >= 1:3.2
+Obsoletes:	python3-hatch_fancy_pypi_readme < 24.1.0-4
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -38,7 +40,7 @@ API documentation for Python %{module} module.
 Dokumentacja API modułu Pythona %{module}.
 
 %prep
-%setup -q -n %{module}-%{version}
+%setup -q -n hatch_fancy_pypi_readme-%{version}
 
 %build
 %py3_build_pyproject
@@ -62,5 +64,5 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS.md CHANGELOG.md README.md
 %attr(755,root,root) %{_bindir}/hatch-fancy-pypi-readme
-%{py3_sitescriptdir}/%{module}
-%{py3_sitescriptdir}/%{module}-%{version}.dist-info
+%{py3_sitescriptdir}/hatch_fancy_pypi_readme
+%{py3_sitescriptdir}/hatch_fancy_pypi_readme-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-hatch-fancy-pypi-readme.git/commitdiff/4543e31b830912457ad5bbcc430cbd9ce5c7c589



More information about the pld-cvs-commit mailing list