diff --git a/python-cssselect.spec b/python-cssselect.spec index 5ea0cce..e024346 100644 --- a/python-cssselect.spec +++ b/python-cssselect.spec @@ -1,6 +1,6 @@ Name: python-cssselect Version: 0.9.1 -Release: 1mamba +Release: 2mamba Summary: cssselect parses CSS3 Selectors and translates them to XPath 1.0 Group: System/Libraries Vendor: openmamba @@ -19,6 +19,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. +%if "%{?with_pyver}" +%pyver_package +%endif + %prep %setup -q -n cssselect-%{version} @@ -37,7 +41,7 @@ CFLAGS="%{optflags}" %{__python} setup.py build sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist -%files -f %{name}.filelist +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) ## note: this list is just an example; modify as required # %{python_sitearch}/%{name}.py* @@ -47,6 +51,9 @@ sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist # %doc CHANGES README.rst %changelog +* Mon Jun 22 2015 Silvan Calarco 0.9.1-2mamba +- rebuilt with -py3 package + * Thu Nov 21 2013 Automatic Build System 0.9.1-1mamba - automatic version update by autodist