diff --git a/README.md b/README.md index d47f1c2..7cc1850 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # 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. diff --git a/python-pyparsing.spec b/python-pyparsing.spec index 9550912..3de779e 100644 --- a/python-pyparsing.spec +++ b/python-pyparsing.spec @@ -1,6 +1,6 @@ Name: python-pyparsing Version: 2.1.5 -Release: 1mamba +Release: 2mamba Summary: An alternative approach to creating and executing simple grammars Group: System/Libraries Vendor: openmamba @@ -16,7 +16,12 @@ Requires: python >= %python_version BuildRoot: %{_tmppath}/%{name}-%{version}-root %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 %setup -q -n pyparsing-%{version} @@ -29,17 +34,20 @@ CFLAGS="%{optflags}" %{__python} setup.py build %{__python} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ - --install-headers=%{_includedir}/python \ + --install-headers=%{python_inc} \ --install-lib=%{python_sitearch} \ --record=%{name}.filelist #sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist -%files -f %{name}.filelist +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %doc LICENSE %changelog +* Mon Jul 18 2016 Davide Madrisan 2.1.5-2mamba +- update the specfile to allow the automatic buid of the python3 subpackage + * Wed Jun 29 2016 Automatic Build System 2.1.5-1mamba - automatic version update by autodist