[packages/python3-sgmllib] - pl, more readable files

qboosh qboosh at pld-linux.org
Sun Apr 2 16:41:38 CEST 2023


commit 102ec4845c7e0f581a3e9a47809417a3c98d0d09
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Apr 2 16:44:09 2023 +0200

    - pl, more readable files

 python3-sgmllib.spec | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/python3-sgmllib.spec b/python3-sgmllib.spec
index 52c6a69..a2aa1e5 100644
--- a/python3-sgmllib.spec
+++ b/python3-sgmllib.spec
@@ -2,23 +2,29 @@
 %define		pypi_name	sgmllib3k
 
 Summary:	Py3k port of sgmllib
+Summary(pl.UTF-8):	Port py3k biblioteki sgmllib
 Name:		python3-%{module}
 Version:	1.0.0
 Release:	4
 License:	BSD
 Group:		Libraries/Python
-Source0:	https://pypi.python.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+#Source0Download: https://pypi.org/simple/sgmllib3k/
+Source0:	https://files.pythonhosted/packages/source/s/sgmllib3k/%{pypi_name}-%{version}.tar.gz
 # Source0-md5:	d70efde06e40797f37e867123aa080ec
 URL:		https://pypi.org/project/sgmllib3k/
 BuildRequires:	python3-modules
 BuildRequires:	python3-setuptools
 BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Py3k port of sgmllib.
 
+%description -l pl.UTF-8
+Port py3k biblioteki sgmllib.
+
 %prep
 %setup -q -n %{pypi_name}-%{version}
 
@@ -35,6 +41,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -n python3-%{module}
 %defattr(644,root,root,755)
-%{py3_sitescriptdir}/%{module}.py
-%{py3_sitescriptdir}/__pycache__/%{module}.cpython-*.pyc
-%{py3_sitescriptdir}/%{pypi_name}-*.egg-info
+%{py3_sitescriptdir}/sgmllib.py
+%{py3_sitescriptdir}/__pycache__/sgmllib.cpython-*.pyc
+%{py3_sitescriptdir}/sgmllib3k-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-sgmllib.git/commitdiff/102ec4845c7e0f581a3e9a47809417a3c98d0d09



More information about the pld-cvs-commit mailing list