-py3 package build support [release 0.23-2mamba;Fri Aug 12 2016]
This commit is contained in:
parent
2e707f6537
commit
b1ed204459
@ -1,6 +1,6 @@
|
|||||||
Name: python-markupsafe
|
Name: python-markupsafe
|
||||||
Version: 0.23
|
Version: 0.23
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Implements a XML/HTML/XHTML Markup safe string for Python
|
Summary: Implements a XML/HTML/XHTML Markup safe string for Python
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
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
|
Source: https://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz
|
||||||
License: BSD
|
License: BSD
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
## note: run 'autospec -u -a6 python-markupsafe' to get the list of build requirements.
|
BuildRequires: glibc-devel
|
||||||
## AUTOBUILDREQ-END
|
|
||||||
BuildRequires: libpython-devel
|
BuildRequires: libpython-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
Requires: python >= %python_version
|
Requires: python >= %python_version
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
|
%if 0%{?with_pyver}
|
||||||
|
%pyver_package
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n MarkupSafe-%{version}
|
%setup -q -n MarkupSafe-%{version}
|
||||||
|
|
||||||
@ -35,13 +39,16 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
|||||||
--single-version-externally-managed \
|
--single-version-externally-managed \
|
||||||
--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 AUTHORS LICENSE README.rst
|
%doc AUTHORS LICENSE README.rst
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu May 22 2014 Automatic Build System <autodist@mambasoft.it> 0.23-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user