Update to 1.0 (#1430160)

This commit is contained in:
Miro Hrončok 2018-07-31 14:56:54 +02:00
parent acfee53c6f
commit 45ff299755
3 changed files with 36 additions and 25 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ MarkupSafe-0.9.2.tar.gz
/MarkupSafe-0.11.tar.gz /MarkupSafe-0.11.tar.gz
/MarkupSafe-0.18.tar.gz /MarkupSafe-0.18.tar.gz
/MarkupSafe-0.23.tar.gz /MarkupSafe-0.23.tar.gz
/MarkupSafe-1.0.tar.gz

View File

@ -1,51 +1,54 @@
Name: python-markupsafe Name: python-markupsafe
Version: 0.23 Version: 1.0
Release: 19%{?dist} Release: 1%{?dist}
Summary: Implements a XML/HTML/XHTML Markup safe string for Python Summary: Implements a XML/HTML/XHTML Markup safe string for Python
License: BSD
Group: Development/Languages URL: https://pypi.org/project/MarkupSafe/
License: BSD Source0: %pypi_source MarkupSafe
URL: http://pypi.python.org/pypi/MarkupSafe
Source0: http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz
BuildRequires: gcc BuildRequires: gcc
BuildRequires: python2-devel python2-setuptools
BuildRequires: python3-devel python3-setuptools
%description %description
A library for safe markup escaping. A library for safe markup escaping.
%package -n python2-markupsafe %package -n python2-markupsafe
Summary: Implements a XML/HTML/XHTML Markup safe string for Python 2 Summary: Implements a XML/HTML/XHTML Markup safe string for Python 2
Group: Development/Languages BuildRequires: python2-devel
BuildRequires: python2dist(setuptools)
%{?python_provide:%python_provide python2-markupsafe} %{?python_provide:%python_provide python2-markupsafe}
%description -n python2-markupsafe %description -n python2-markupsafe
A library for safe markup escaping. A library for safe markup escaping. Python 2 version.
%package -n python3-markupsafe %package -n python3-markupsafe
Summary: Implements a XML/HTML/XHTML Markup safe string for Python 3 Summary: Implements a XML/HTML/XHTML Markup safe string for Python 3
Group: Development/Languages BuildRequires: python3-devel
BuildRequires: python3dist(setuptools)
%{?python_provide:%python_provide python3-markupsafe} %{?python_provide:%python_provide python3-markupsafe}
%description -n python3-markupsafe %description -n python3-markupsafe
A library for safe markup escaping. A library for safe markup escaping. Python 3 version.
%prep %prep
%setup -q -n MarkupSafe-%{version} %autosetup -n MarkupSafe-%{version}
%build %build
%py2_build %py2_build
%py3_build %py3_build
%install %install
%py2_install %py2_install
# C code errantly gets installed # C code errantly gets installed
rm $RPM_BUILD_ROOT/%{python2_sitearch}/markupsafe/*.c rm %{buildroot}%{python2_sitearch}/markupsafe/*.c
%py3_install %py3_install
# C code errantly gets installed # C code errantly gets installed
rm $RPM_BUILD_ROOT/%{python3_sitearch}/markupsafe/*.c rm %{buildroot}%{python3_sitearch}/markupsafe/*.c
%check %check
@ -55,15 +58,22 @@ rm $RPM_BUILD_ROOT/%{python3_sitearch}/markupsafe/*.c
%files -n python2-markupsafe %files -n python2-markupsafe
%license LICENSE %license LICENSE
%doc AUTHORS README.rst %doc AUTHORS CHANGES README.rst
%{python2_sitearch}/* %{python2_sitearch}/MarkupSafe-%{version}-py%{python2_version}.egg-info/
%{python2_sitearch}/markupsafe/
%files -n python3-markupsafe %files -n python3-markupsafe
%doc AUTHORS LICENSE README.rst %license LICENSE
%{python3_sitearch}/* %doc AUTHORS CHANGES README.rst
%{python3_sitearch}/MarkupSafe-%{version}-py%{python3_version}.egg-info/
%{python3_sitearch}/markupsafe/
%changelog %changelog
* Tue Jul 31 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0-1
- Update to 1.0 (#1430160)
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-19 * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

View File

@ -1 +1 @@
f5ab3deee4c37cd6a922fb81e730da6e MarkupSafe-0.23.tar.gz SHA512 (MarkupSafe-1.0.tar.gz) = 7437a02cb1b9c1d6d6c20b13d394f24a1cd1cb8c743f832d8b1cbb6ab8846f70f54d924dd693423b33c4d592e772983ae38fd4a35961e233457c48bd3584ecb8