Blame SPECS/python-pecan.spec

6b19a8
%global pypi_name pecan
6b19a8
%{!?_licensedir:%global license %%doc}
6b19a8
%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
6b19a8
6b19a8
Name:           python-%{pypi_name}
6b19a8
Version:        1.4.0
6b19a8
Release:        2%{?dist}
6b19a8
Summary:        A lean WSGI object-dispatching web framework
6b19a8
6b19a8
License:        BSD
6b19a8
URL:            https://github.com/pecan/pecan
6b19a8
Source0:        https://pypi.io/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
6b19a8
BuildArch:      noarch
6b19a8
6b19a8
%description
6b19a8
A WSGI object-dispatching web framework, designed to be lean and
6b19a8
fast with few dependencies
6b19a8
6b19a8
%package -n python3-%{pypi_name}
6b19a8
Summary:        A lean WSGI object-dispatching web framework
6b19a8
%{?python_provide:%python_provide python3-%{pypi_name}}
6b19a8
6b19a8
BuildRequires:  python3-devel
6b19a8
BuildRequires:  python3-setuptools
6b19a8
6b19a8
Conflicts:     python2-%{pypi_name} < 1.3.2-5
6b19a8
6b19a8
%description -n python3-%{pypi_name}
6b19a8
A WSGI object-dispatching web framework, designed to be lean and
6b19a8
fast with few dependencies
6b19a8
6b19a8
%prep
6b19a8
%setup -q -n %{pypi_name}-%{version}
6b19a8
# Remove bundled egg-info
6b19a8
rm -rf %{pypi_name}.egg-info
6b19a8
6b19a8
%build
6b19a8
%py3_build
6b19a8
6b19a8
%install
6b19a8
%py3_install
6b19a8
6b19a8
%files -n python3-%{pypi_name}
6b19a8
%doc README.rst
6b19a8
%license LICENSE
6b19a8
%{_bindir}/pecan
6b19a8
%{_bindir}/gunicorn_pecan
6b19a8
%{python3_sitelib}/%{pypi_name}
6b19a8
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
6b19a8
6b19a8
%changelog
6b19a8
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
6b19a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
6b19a8
6b19a8
* Mon Aug 03 2020 Dan Radez <dradez@redhat.com> - 1.4.0-1
6b19a8
- Update to 1.4.0 (rhbz#1862179)
6b19a8
6b19a8
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-2
6b19a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
6b19a8
6b19a8
* Fri Jun 05 2020 Ken Dreyer <kdreyer@redhat.com> 1.3.3-1
6b19a8
- Update to 1.3.3 (rhbz#1378265)
6b19a8
- Remove explicit Requires (rhbz#1803982)
6b19a8
- Use HTTPS URL
6b19a8
6b19a8
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.3.2-11
6b19a8
- Rebuilt for Python 3.9
6b19a8
6b19a8
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-10
6b19a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
6b19a8
6b19a8
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.2-9
6b19a8
- Rebuilt for Python 3.8.0rc1 (#1748018)
6b19a8
6b19a8
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.2-8
6b19a8
- Rebuilt for Python 3.8
6b19a8
6b19a8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-7
6b19a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6b19a8
6b19a8
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-6
6b19a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6b19a8
6b19a8
* Sat Jan 12 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.2-5
6b19a8
- Subpackage python2-pecan has been removed
6b19a8
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
6b19a8
6b19a8
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-4
6b19a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
6b19a8
6b19a8
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.3.2-3
6b19a8
- Rebuilt for Python 3.7
6b19a8
6b19a8
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.3.2-2
6b19a8
- Rebuilt for Python 3.7
6b19a8
6b19a8
* Fri Jun 01 2018 Alfredo Moralejo <amoralej@redhat.com> - 1.3.2-1
6b19a8
- Update to 1.3.2 release. It adds support for webob >= 1.8.0.
6b19a8
6b19a8
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.2.1-3
6b19a8
- Update Python 2 dependency declarations to new packaging standards
6b19a8
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
6b19a8
6b19a8
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
6b19a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6b19a8
6b19a8
* Mon Oct 23 2017 Alan Pevec <alan.pevec@redhat.com> 1.2.1-1
6b19a8
- Update to 1.2.1
6b19a8
6b19a8
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-4
6b19a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6b19a8
6b19a8
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-3
6b19a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6b19a8
6b19a8
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-2
6b19a8
- Rebuild for Python 3.6
6b19a8
6b19a8
* Tue Jul 19 2016 Alan Pevec <alan.pevec@redhat.com> 1.1.2-1
6b19a8
- Update to 1.1.2
6b19a8
6b19a8
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-6
6b19a8
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
6b19a8
6b19a8
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-5
6b19a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6b19a8
6b19a8
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-4
6b19a8
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
6b19a8
6b19a8
* Sat Nov  7 2015 Toshio Kuratomi <toshio@fedoraproject.org> - 1.0.2-3
6b19a8
- Fix the naming of python2 vs python3 versions of the scripts to comply with
6b19a8
  the python guidelines: https://fedoraproject.org/wiki/Packaging:Python#Naming
6b19a8
  This fixes several things:
6b19a8
  * The scripts in the python2-pecan package not working because they
6b19a8
    needed the python3-pecan libraries but there was no rpm dependency
6b19a8
  * The python2-pecan package requiring /usr/bin/python3
6b19a8
  * The python2-pecan package's scripts wouldn't have been able to serve
6b19a8
    web apps written in python2 because they were using python3 and would
6b19a8
    have failed to run pyhon2 scripts in their python3 process.
6b19a8
  * If those were fixed properly then the python-pecan and python3-pecan
6b19a8
    packages would have conflicted due to the scripts being different between
6b19a8
    the packages.
6b19a8
  Following the guidelines solves all of these problems.
6b19a8
6b19a8
* Sun Sep 06 2015 Matthias Runge <mrunge@redhat.com> - 1.0.2-2
6b19a8
- fix provides and obsoletes
6b19a8
6b19a8
* Fri Sep 04 2015 Chandan Kumar <chkumar246@gmail.com> - 1.0.2-1
6b19a8
- Added python2 and python3 subpackage
6b19a8
- Bumped to 1.0.2
6b19a8
6b19a8
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-2
6b19a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6b19a8
6b19a8
* Thu Mar 26 2015 Pádraig Brady <pbrady@redhat.com> - 0.8.3-1
6b19a8
- Latest upstream
6b19a8
6b19a8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.5-4
6b19a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6b19a8
6b19a8
* Sun Mar 23 2014 Pádraig Brady <pbrady@redhat.com> - 0.4.5-3
6b19a8
- Add missing dependency on python-logutils
6b19a8
6b19a8
* Tue Mar 18 2014 Pádraig Brady <pbrady@redhat.com> - 0.4.5-2
6b19a8
- Add missing dependency on python-singledispatch
6b19a8
6b19a8
* Mon Mar 10 2014 Pádraig Brady <pbrady@redhat.com> - 0.4.5-1
6b19a8
- Latest upstream
6b19a8
6b19a8
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-6
6b19a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
6b19a8
6b19a8
* Fri Apr  5 2013 Luke Macken <lmacken@redhat.com> - 0.2.1-5
6b19a8
- Require python-webob >= 1.2 instead of python-webob1.2
6b19a8
6b19a8
* Thu Mar 14 2013 Padraig Brady <P@draigBrady.com> - 0.2.1-4
6b19a8
- Initial package.