[packages/python-ruamel.base] - pl, package LICENSE; release 3
qboosh
qboosh at pld-linux.org
Sat Jun 27 18:30:28 CEST 2020
commit 6ed7cddb827a0ce7d66e19a66efa2404ed2f6e3b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Jun 27 18:31:34 2020 +0200
- pl, package LICENSE; release 3
python-ruamel.base.spec | 32 ++++++++++++++++++++------------
1 file changed, 20 insertions(+), 12 deletions(-)
---
diff --git a/python-ruamel.base.spec b/python-ruamel.base.spec
index cc156a4..c0354db 100644
--- a/python-ruamel.base.spec
+++ b/python-ruamel.base.spec
@@ -1,12 +1,14 @@
+#
# Conditional build:
%bcond_without python2 # CPython 2.x module
%bcond_without python3 # CPython 3.x module
%define module ruamel.base
Summary: Common routines for ruamel packages
+Summary(pl.UTF-8): Wspólne funkcje dla pakietów ruamel
Name: python-%{module}
Version: 1.0.0
-Release: 2
+Release: 3
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/ruamel.base/
@@ -16,27 +18,34 @@ URL: https://pypi.org/project/ruamel.base/
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
%if %{with python2}
-BuildRequires: python-modules
+BuildRequires: python-modules >= 2
BuildRequires: python-setuptools
%endif
%if %{with python3}
-BuildRequires: python3-modules
+BuildRequires: python3-modules >= 1:3.2
BuildRequires: python3-setuptools
%endif
-Requires: python-modules
+Requires: python-modules >= 2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Common routines for ruamel packages.
+%description -l pl.UTF-8
+Wspólne funkcje dla pakietów ruamel.
+
%package -n python3-%{module}
Summary: Common routines for ruamel packages
+Summary(pl.UTF-8): Wspólne funkcje dla pakietów ruamel
Group: Libraries/Python
-Requires: python3-modules
+Requires: python3-modules >= 1:3.2
%description -n python3-%{module}
Common routines for ruamel packages.
+%description -n python3-%{module} -l pl.UTF-8
+Wspólne funkcje dla pakietów ruamel.
+
%prep
%setup -q -n %{module}-%{version}
@@ -52,7 +61,6 @@ Common routines for ruamel packages.
%install
rm -rf $RPM_BUILD_ROOT
-
%if %{with python2}
install -d $RPM_BUILD_ROOT%{py_sitedir}/ruamel
@@ -73,21 +81,21 @@ rm -rf $RPM_BUILD_ROOT
%if %{with python2}
%files
%defattr(644,root,root,755)
-%doc README.rst
+%doc LICENSE README.rst
%dir %{py_sitescriptdir}/ruamel
%{py_sitescriptdir}/ruamel/base
-%{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
-%{py_sitescriptdir}/%{module}-%{version}-py*-nspkg.pth
+%{py_sitescriptdir}/ruamel.base-%{version}-py*.egg-info
+%{py_sitescriptdir}/ruamel.base-%{version}-py*-nspkg.pth
%dir %{py_sitedir}/ruamel
%endif
%if %{with python3}
%files -n python3-%{module}
%defattr(644,root,root,755)
-%doc README.rst
+%doc LICENSE README.rst
%dir %{py3_sitescriptdir}/ruamel
%{py3_sitescriptdir}/ruamel/base
-%{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
-%{py3_sitescriptdir}/%{module}-%{version}-py*-nspkg.pth
+%{py3_sitescriptdir}/ruamel.base-%{version}-py*.egg-info
+%{py3_sitescriptdir}/ruamel.base-%{version}-py*-nspkg.pth
%dir %{py3_sitedir}/ruamel
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-ruamel.base.git/commitdiff/6ed7cddb827a0ce7d66e19a66efa2404ed2f6e3b
More information about the pld-cvs-commit
mailing list