From: Jakub Bogusz Date: Sun, 2 Apr 2023 14:44:09 +0000 (+0200) Subject: - pl, more readable files X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=102ec4845c7e0f581a3e9a47809417a3c98d0d09;p=packages%2Fpython3-sgmllib.git - pl, more readable files --- 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