|
|
2acd225 |
%global with_python3 1
|
|
|
2acd225 |
Name: python-PyRSS2Gen
|
|
|
2acd225 |
Version: 1.1
|
|
|
f9bcb46 |
Release: 16%{?dist}
|
|
|
2acd225 |
Summary: A Python library for generating RSS 2.0 feeds
|
|
|
2acd225 |
|
|
|
2acd225 |
Group: Development/Libraries
|
|
|
2acd225 |
License: BSD
|
|
|
2acd225 |
URL: http://www.dalkescientific.com/Python/PyRSS2Gen.html
|
|
|
2acd225 |
Source0: http://www.dalkescientific.com/Python/PyRSS2Gen-%{version}.tar.gz
|
|
|
2acd225 |
BuildArch: noarch
|
|
|
2acd225 |
BuildRequires: python2-devel
|
|
|
56bc025 |
BuildRequires: python2-setuptools
|
|
|
430e6d9 |
%global _description\
|
|
|
2acd225 |
A Python library for generating RSS 2.0 feeds.
|
|
|
2acd225 |
|
|
|
430e6d9 |
%description %_description
|
|
|
430e6d9 |
|
|
|
430e6d9 |
%package -n python2-pyrss2gen
|
|
|
430e6d9 |
Summary: %summary
|
|
|
56bc025 |
Requires: python2-feedparser
|
|
|
430e6d9 |
%{?python_provide:%python_provide python2-pyrss2gen}
|
|
|
430e6d9 |
|
|
|
430e6d9 |
%description -n python2-pyrss2gen %_description
|
|
|
430e6d9 |
|
|
|
2acd225 |
%if 0%{?with_python3}
|
|
|
2acd225 |
%package -n python3-PyRSS2Gen
|
|
|
2acd225 |
BuildRequires: python3-devel
|
|
|
2acd225 |
BuildRequires: python3-setuptools
|
|
|
2acd225 |
Requires: python3-feedparser
|
|
|
2acd225 |
Summary: A Python library for generating RSS 2.0 feeds
|
|
|
2acd225 |
BuildArch: noarch
|
|
|
2acd225 |
Group: Development/Libraries
|
|
|
2acd225 |
%description -n python3-PyRSS2Gen
|
|
|
2acd225 |
A Python3 library for generating RSS 2.0 feeds.
|
|
|
2acd225 |
%endif
|
|
|
2acd225 |
|
|
|
2acd225 |
|
|
|
2acd225 |
|
|
|
2acd225 |
%prep
|
|
|
2acd225 |
%setup -qn PyRSS2Gen-%{version}
|
|
|
2acd225 |
|
|
|
2acd225 |
%build
|
|
|
2acd225 |
|
|
|
2acd225 |
%install
|
|
|
2acd225 |
%if 0%{?with_python3}
|
|
|
2acd225 |
%{__python3} setup.py install --root %{buildroot}
|
|
|
2acd225 |
%endif
|
|
|
2acd225 |
|
|
|
2acd225 |
%{__python2} setup.py install --root %{buildroot}
|
|
|
2acd225 |
|
|
|
2acd225 |
%check
|
|
|
2acd225 |
|
|
|
2acd225 |
|
|
|
430e6d9 |
%files -n python2-pyrss2gen
|
|
|
2acd225 |
%{python_sitelib}/PyRSS2Gen-%{version}-py2.7.egg-info
|
|
|
2acd225 |
%{python_sitelib}/PyRSS2Gen.py
|
|
|
2acd225 |
%{python_sitelib}/PyRSS2Gen.pyc
|
|
|
2acd225 |
%{python_sitelib}/PyRSS2Gen.pyo
|
|
|
2acd225 |
%doc README LICENSE
|
|
|
2acd225 |
|
|
|
2acd225 |
%if 0%{?with_python3}
|
|
|
2acd225 |
%files -n python3-PyRSS2Gen
|
|
|
cec5ef1 |
%{python3_sitelib}/PyRSS2Gen-%{version}-py%{python3_version}.egg-info
|
|
|
2acd225 |
%{python3_sitelib}/PyRSS2Gen.py
|
|
|
b4139ee |
%{python3_sitelib}/__pycache__/PyRSS2Gen.cpython-*.pyc
|
|
|
2acd225 |
%doc README LICENSE
|
|
|
2acd225 |
%endif
|
|
|
2acd225 |
|
|
|
2acd225 |
%changelog
|
|
|
f9bcb46 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-16
|
|
|
f9bcb46 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
f9bcb46 |
|
|
|
56bc025 |
* Mon Jan 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.1-15
|
|
|
56bc025 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
56bc025 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
56bc025 |
|
|
|
430e6d9 |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.1-14
|
|
|
430e6d9 |
- Python 2 binary package renamed to python2-pyrss2gen
|
|
|
430e6d9 |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
430e6d9 |
|
|
|
168376a |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-13
|
|
|
168376a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
168376a |
|
|
|
e044a17 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-12
|
|
|
e044a17 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
e044a17 |
|
|
|
9ac7851 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.1-11
|
|
|
9ac7851 |
- Rebuild for Python 3.6
|
|
|
9ac7851 |
|
|
|
f3575ab |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-10
|
|
|
f3575ab |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
f3575ab |
|
|
|
89332ca |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-9
|
|
|
89332ca |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
89332ca |
|
|
|
101e440 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-8
|
|
|
101e440 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
101e440 |
|
|
|
83e50f7 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-7
|
|
|
83e50f7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
83e50f7 |
|
|
|
9931c70 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6
|
|
|
9931c70 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
9931c70 |
|
|
|
cec5ef1 |
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.1-5
|
|
|
cec5ef1 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
cec5ef1 |
|
|
|
2acd225 |
* Tue Sep 10 2013 Pete Travis <immanetize@fedoraproject.org> 1.1-4
|
|
|
2acd225 |
- Completing python3 subpackaging, so it really does work.
|
|
|
2acd225 |
|
|
|
2acd225 |
* Fri Sep 06 2013 Pete Travis <immanetize@fedoraproject.org> 1.1-3
|
|
|
2acd225 |
- This should build a python3 package, too.
|
|
|
2acd225 |
|
|
|
2acd225 |
* Thu Aug 22 2013 Pete Travis <immanetize@fedoraproject.org> 1.1-1
|
|
|
2acd225 |
- Initial packaging.
|
|
|
2acd225 |
|
|
|
2acd225 |
* Thu Aug 22 2013 Pete Travis <immanetize@fedoraproject.org> 1.1-2
|
|
|
2acd225 |
- Correcting Requires and BuildRequires in spec, build as noarch.
|