6d37b97
a02e5fc
%if 0%{?fedora} || 0%{?rhel} > 7
816f786
%global with_python3 1
816f786
%endif
816f786
a4abbac
%global desc This tool provides code to load WSGI applications and servers from\
a4abbac
URIs; these URIs can refer to Python Eggs for INI-style configuration\
a4abbac
files.  PasteScript provides commands to serve applications based on\
a4abbac
this configuration file.
a4abbac
%global sum Load, configure, and compose WSGI applications and servers
a4abbac
6d37b97
Name:           python-paste-deploy
f02485f
Version:        1.5.2
fe8be4b
Release:        18%{?dist}
a4abbac
Summary:        %{sum}
6d37b97
License:        MIT
6d37b97
URL:            http://pythonpaste.org/deploy
6d37b97
Source0:        http://cheeseshop.python.org/packages/source/P/PasteDeploy/PasteDeploy-%{version}.tar.gz
6d37b97
BuildArch:      noarch
Luke Macken 4594b81
Luke Macken 4594b81
# 1.5.0+ dropped Python 2.4 support
816f786
BuildRequires:  python2-devel > 2.4
9155f5f
BuildRequires:  python2-setuptools
a4abbac
a4abbac
%if 0%{?with_python3}
a4abbac
BuildRequires:  python3-devel
a4abbac
BuildRequires:  python3-setuptools
a4abbac
%endif
a4abbac
a4abbac
a4abbac
%description
a4abbac
%{desc}
a4abbac
a4abbac
a4abbac
%package -n python2-paste-deploy
a4abbac
Summary:        %{sum}
a4abbac
9155f5f
Requires:       python2-paste
9155f5f
Requires:       python2-setuptools
6d37b97
a4abbac
%{?python_provide:%python_provide python2-paste-deploy}
a4abbac
a4abbac
a4abbac
%description -n python2-paste-deploy
a4abbac
%{desc}
a4abbac
6d37b97
e7d8083
%if 0%{?with_python3}
816f786
%package -n python3-paste-deploy
a4abbac
Summary:        %{sum}
816f786
a4abbac
Requires:       python3-paste
816f786
Requires:       python3-setuptools
816f786
a4abbac
%{?python_provide:%python_provide python3-paste-deploy}
a4abbac
a4abbac
816f786
%description -n python3-paste-deploy
a4abbac
%desc
816f786
816f786
%endif
816f786
816f786
6d37b97
%prep
6d37b97
%setup -q -n PasteDeploy-%{version}
6d37b97
816f786
# Remove bundled egg-info if it exists
816f786
rm -rf *.egg-info
816f786
a4abbac
mv docs/license.txt license.txt
a4abbac
a4abbac
6d37b97
%build
111b542
%py2_build
6d37b97
816f786
%if 0%{?with_python3}
111b542
%py3_build
816f786
%endif
816f786
6d37b97
6d37b97
%install
111b542
%py2_install
111b542
rm -rf %{buildroot}%{python2_sitelib}/test
816f786
816f786
%if 0%{?with_python3}
111b542
%py3_install
816f786
rm -rf %{buildroot}%{python3_sitelib}/test
816f786
%endif
6d37b97
6d37b97
a4abbac
%files -n python2-paste-deploy
a4abbac
%license license.txt
6d37b97
%doc docs/*
111b542
%{python2_sitelib}/*
6d37b97
816f786
%if 0%{?with_python3}
816f786
%files -n python3-paste-deploy
a4abbac
%license license.txt
816f786
%doc docs/*
816f786
%{python3_sitelib}/*
816f786
%endif
816f786
6d37b97
6d37b97
%changelog
fe8be4b
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-18
fe8be4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
fe8be4b
111b542
* Mon Jul 16 2018 Dan Callaghan <dcallagh@redhat.com> - 1.5.2-17
111b542
- invoke Python 2 explicitly, use modern Python RPM macros
111b542
eef2f66
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-16
eef2f66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
eef2f66
504401c
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 1.5.2-15
504401c
- Rebuilt for Python 3.7
504401c
9155f5f
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.5.2-14
9155f5f
- Update Python 2 dependency declarations to new packaging standards
9155f5f
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
9155f5f
8a1fe6d
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-13
8a1fe6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
8a1fe6d
a02e5fc
* Fri Sep 29 2017 Troy Dawson <tdawson@redhat.com> - 1.5.2-12
a02e5fc
- Cleanup spec file conditionals
a02e5fc
24d5b3a
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-11
24d5b3a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
24d5b3a
37ed61f
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-10
37ed61f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
37ed61f
4990c85
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.5.2-9
4990c85
- Rebuild for Python 3.6
4990c85
a4abbac
* Mon Dec 05 2016 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.5.2-8
a4abbac
- Use the Python provides macro to make a python-2 subpackage (#1399573).
a4abbac
- Mark license.txt as a license.
a4abbac
- Depend on python3-paste and remove a no-longer-correct comment.
a4abbac
- Move BuildRequires to top.
a4abbac
- Create global for description and summary.
a4abbac
- Don't remove the buildroot at the beginning of install.
a4abbac
- Drop defattr from the files section.
a4abbac
ce616bb
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-7
ce616bb
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
ce616bb
b0f8c7d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-6
b0f8c7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b0f8c7d
c01032f
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-5
c01032f
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
c01032f
69e31c8
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-4
69e31c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
69e31c8
a64837c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-3
a64837c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a64837c
01710a7
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.5.2-2
01710a7
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
01710a7
f02485f
* Wed Feb 12 2014 Ralph Bean <rbean@redhat.com> - 1.5.2-1
f02485f
- Latest upstream.
f02485f
e7d8083
* Mon Aug 19 2013 Ralph Bean <rbean@redhat.com> - 1.5.0-10
e7d8083
- Fix typo in with_python3 conditional; patch from Tomas Dabašinskas.
e7d8083
c62865f
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-9
c62865f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c62865f
25a073f
* Wed Feb 27 2013 Ralph Bean <rbean@redhat.com> - 1.5.0-8
25a073f
- Removed extra dependency on python3-paste.
25a073f
816f786
* Wed Feb 27 2013 Ralph Bean <rbean@redhat.com> - 1.5.0-7
816f786
- Added python3 subpackage.
816f786
- Corrected pythonsitelib typo in %%install section.
816f786
5921ea2
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-6
5921ea2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
5921ea2
2c5bf13
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-5
2c5bf13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2c5bf13
d3f0f56
* Thu Jan 26 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 1.5.0-4
088ab48
- Add dependency on python-setuptools since parts of paste.deploy rely on
088ab48
  pkg_resources
088ab48
83a5a1a
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-3
83a5a1a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
83a5a1a
41a1e99
* Mon Jul 11 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 1.5.0-2
41a1e99
- Remove the test directory as it serves no purpose and pollutes the global namespace
41a1e99
  https://bugzilla.redhat.com/show_bug.cgi?id=720055
41a1e99
Luke Macken 4594b81
* Thu Jun 16 2011 Luke Macken <lmacken@redhat.com> - 1.5.0-1
Luke Macken 4594b81
- Update to 1.5.0
Luke Macken 4594b81
387abb9
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.4-2
387abb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
387abb9
Luke Macken bc1662f
* Thu Sep 30 2010 Luke Macken <lmacken@redhat.com> - 1.3.4-1
Luke Macken bc1662f
- Update to 1.3.4
Luke Macken bc1662f
519ee6d
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.3.3-4
519ee6d
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
519ee6d
43097db
* Thu Jan 28 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 1.3.3-2
43097db
- Modernise the build
43097db
db9c8f2
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-2
db9c8f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
db9c8f2
9835c56
* Sun May 31 2009 Luke Macken <lmacken@redhat.com> - 1.3.3-1
9835c56
- Update to 1.3.3
9835c56
e8b4179
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-3
e8b4179
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e8b4179
8c85df7
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.3.2-2
8c85df7
- Rebuild for Python 2.6
8c85df7
a92303f
* Sat Jun 14 2008 Luke Macken <lmacken@redhat.com> - 1.3.2-3
a92303f
- Update to PasteDeploy 1.3.2
a92303f
6a6a89f
* Sun Sep  2 2007 Luke Macken <lmacken@redhat.com> - 1.3.1-2
6a6a89f
- Update for python-setuptools changes in rawhide
6a6a89f
ec16ed4
* Sun Jul  8 2007 Luke Macken <lmacken@redhat.com> - 1.3.1-1
ec16ed4
- 1.3.1
ec16ed4
76eab30
* Sat Mar  3 2007 Luke Macken <lmacken@redhat.com> - 1.1-1
76eab30
- 1.1
76eab30
76c3ec2
* Sat Dec  9 2006 Luke Macken <lmacken@redhat.com> - 1.0-2
76c3ec2
- Add python-devel to BuildRequires
e61f8c9
- 1.0
e61f8c9
28df7eb
* Sun Sep 17 2006 Luke Macken <lmacken@redhat.com> - 0.9.6-1
28df7eb
- 0.9.6
28df7eb
f401a1a
* Sun Sep  3 2006 Luke Macken <lmacken@redhat.com> - 0.5-4
f401a1a
- Rebuild for FC6
f401a1a
6d37b97
* Mon Aug 21 2006 Luke Macken <lmacken@redhat.com> - 0.5-3
6d37b97
- Include .pyo files instead of ghosting them.
6d37b97
6d37b97
* Mon Jul 24 2006 Luke Macken <lmacken@redhat.com> - 0.5-2
6d37b97
- Fix docs inclusion
6d37b97
- Rename package to python-paste-deploy
6d37b97
- Fix inconsistent use of buildroots
6d37b97
6d37b97
* Mon Jul 10 2006 Luke Macken <lmacken@redhat.com> - 0.5-1
6d37b97
- Initial package