diff --git a/python-markupsafe.spec b/python-markupsafe.spec index 396c3f7..ac34c15 100644 --- a/python-markupsafe.spec +++ b/python-markupsafe.spec @@ -1,6 +1,6 @@ Name: python-markupsafe Version: 0.23 -Release: 1mamba +Release: 2mamba Summary: Implements a XML/HTML/XHTML Markup safe string for Python Group: System/Libraries Vendor: openmamba @@ -10,15 +10,19 @@ URL: https://github.com/mitsuhiko/markupsafe Source: https://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN -## note: run 'autospec -u -a6 python-markupsafe' to get the list of build requirements. -## AUTOBUILDREQ-END +BuildRequires: glibc-devel BuildRequires: libpython-devel +## AUTOBUILDREQ-END Requires: python >= %python_version BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. +%if 0%{?with_pyver} +%pyver_package +%endif + %prep %setup -q -n MarkupSafe-%{version} @@ -35,13 +39,16 @@ CFLAGS="%{optflags}" %{__python} setup.py build --single-version-externally-managed \ --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) %doc AUTHORS LICENSE README.rst %changelog +* Fri Aug 12 2016 Silvan Calarco 0.23-2mamba +- -py3 package build support + * Thu May 22 2014 Automatic Build System 0.23-1mamba - automatic version update by autodist