update the specfile to allow the automatic buid of the python3 subpackage [release 2.1.5-2mamba;Mon Jul 18 2016]

This commit is contained in:
Davide Madrisan 2024-01-05 16:27:49 +01:00
parent 5b7e0f219f
commit fdd7015e54
2 changed files with 14 additions and 5 deletions

View File

@ -1,4 +1,5 @@
# python-pyparsing # python-pyparsing
The pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions. The pyparsing module provides a library of classes that client code uses to construct the grammar directly in Python code. The pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions.
The pyparsing module provides a library of classes that client code uses to construct the grammar directly in Python code.

View File

@ -1,6 +1,6 @@
Name: python-pyparsing Name: python-pyparsing
Version: 2.1.5 Version: 2.1.5
Release: 1mamba Release: 2mamba
Summary: An alternative approach to creating and executing simple grammars Summary: An alternative approach to creating and executing simple grammars
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -16,7 +16,12 @@ Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
The pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions. The pyparsing module provides a library of classes that client code uses to construct the grammar directly in Python code. The pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions.
The pyparsing module provides a library of classes that client code uses to construct the grammar directly in Python code.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep %prep
%setup -q -n pyparsing-%{version} %setup -q -n pyparsing-%{version}
@ -29,17 +34,20 @@ CFLAGS="%{optflags}" %{__python} setup.py build
%{__python} setup.py install \ %{__python} setup.py install \
-O1 --skip-build \ -O1 --skip-build \
--root="%{buildroot}" \ --root="%{buildroot}" \
--install-headers=%{_includedir}/python \ --install-headers=%{python_inc} \
--install-lib=%{python_sitearch} \ --install-lib=%{python_sitearch} \
--record=%{name}.filelist --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) %defattr(-,root,root)
%doc LICENSE %doc LICENSE
%changelog %changelog
* Mon Jul 18 2016 Davide Madrisan <davide.madrisan@gmail.com> 2.1.5-2mamba
- update the specfile to allow the automatic buid of the python3 subpackage
* Wed Jun 29 2016 Automatic Build System <autodist@mambasoft.it> 2.1.5-1mamba * Wed Jun 29 2016 Automatic Build System <autodist@mambasoft.it> 2.1.5-1mamba
- automatic version update by autodist - automatic version update by autodist