-py3 package build support [release 0.23-2mamba;Fri Aug 12 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 11:26:08 +01:00
parent 2e707f6537
commit b1ed204459

View File

@ -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 <silvan.calarco@mambasoft.it> 0.23-2mamba
- -py3 package build support
* Thu May 22 2014 Automatic Build System <autodist@mambasoft.it> 0.23-1mamba
- automatic version update by autodist