From eb63ddaff67d04f32c011d6e131fa47b51b56d3b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:45:23 +0100 Subject: [PATCH] rebuilt with distdeps [release 1.4.0-2mamba;Sat Apr 03 2021] --- python-argparse.spec | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/python-argparse.spec b/python-argparse.spec index 1e2b54d..0f83fac 100644 --- a/python-argparse.spec +++ b/python-argparse.spec @@ -1,6 +1,6 @@ Name: python-argparse Version: 1.4.0 -Release: 1mamba +Release: 2mamba Summary: Python command line parser Group: System/Libraries Vendor: openmamba @@ -10,14 +10,16 @@ URL: https://pypi.python.org/pypi/argparse Source: https://pypi.debian.net/argparse/argparse-%{version}.tar.gz License: Apache ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython3-devel ## AUTOBUILDREQ-END -Requires: python >= %python_version -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description The argparse module provides an easy, declarative interface for creating command line tools. +%if "%{?with_pyver}" +%pyver_package +%endif + %prep %setup -q -n argparse-%{version} @@ -33,13 +35,18 @@ CFLAGS="%{optflags}" %{__python} setup.py build --install-lib=%{python_sitearch} \ --record=%{name}.filelist -#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist -%files -f %{name}.filelist +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%dir %{python_sitearch}/argparse-%{version}-py*.egg-info +%{python_sitearch}/argparse-%{version}-py*.egg-info/* %doc README.txt %changelog +* Sat Apr 03 2021 Silvan Calarco 1.4.0-2mamba +- rebuilt with distdeps + * Mon Jun 05 2017 Silvan Calarco 1.4.0-1mamba - update to 1.4.0