|
|
0ae9d37 |
%if 0%{?fedora}
|
|
|
157838e |
%global with_python3 1
|
|
|
157838e |
%endif
|
|
|
157838e |
|
|
|
157838e |
%global modname pkgwat.api
|
|
|
157838e |
|
|
|
157838e |
Name: python-pkgwat-api
|
|
|
5d6397f |
Version: 0.12
|
|
|
d5eed73 |
Release: 11%{?dist}
|
|
|
157838e |
Summary: Python API for querying the fedora packages webapp
|
|
|
157838e |
|
|
|
157838e |
Group: Development/Libraries
|
|
|
157838e |
License: LGPLv2+
|
|
|
157838e |
URL: http://pypi.python.org/pypi/pkgwat.api
|
|
|
157838e |
Source0: http://pypi.python.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz
|
|
|
157838e |
BuildArch: noarch
|
|
|
157838e |
|
|
|
d5eed73 |
%description
|
|
|
d5eed73 |
Python API for pkgwat
|
|
|
d5eed73 |
http://pypi.python.org/pypi/pkgwat.cli
|
|
|
157838e |
|
|
|
d5eed73 |
%package -n python2-pkgwat-api
|
|
|
d5eed73 |
Summary: Python API for querying the fedora packages webapp
|
|
|
d5eed73 |
Group: Development/Libraries
|
|
|
d5eed73 |
%{?python_provide:%python_provide python2-pkgwat-api}
|
|
|
157838e |
|
|
|
d5eed73 |
BuildRequires: python2-devel
|
|
|
d5eed73 |
BuildRequires: python2-setuptools
|
|
|
d5eed73 |
BuildRequires: python2-six
|
|
|
d5eed73 |
BuildRequires: python2-requests
|
|
|
d5eed73 |
Requires: python2-six
|
|
|
d5eed73 |
Requires: python2-requests
|
|
|
157838e |
|
|
|
5917a58 |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
|
cefd97e |
BuildRequires: python-ordereddict
|
|
|
cefd97e |
Requires: python-ordereddict
|
|
|
cefd97e |
%endif
|
|
|
cefd97e |
|
|
|
d5eed73 |
%description -n python2-pkgwat-api
|
|
|
d5eed73 |
Python2 API for pkgwat
|
|
|
d5eed73 |
http://pypi.python.org/pypi/pkgwat.cli.
|
|
|
157838e |
|
|
|
157838e |
%if 0%{?with_python3}
|
|
|
79f2a80 |
%package -n python3-pkgwat-api
|
|
|
157838e |
Summary: Python API for querying the fedora packages webapp
|
|
|
157838e |
Group: Development/Libraries
|
|
|
d5eed73 |
%{?python_provide:%python_provide python3-pkgwat-api}
|
|
|
157838e |
|
|
|
d5eed73 |
BuildRequires: python3-devel
|
|
|
d5eed73 |
BuildRequires: python3-setuptools
|
|
|
d5eed73 |
BuildRequires: python3-six
|
|
|
d5eed73 |
BuildRequires: python3-requests
|
|
|
157838e |
Requires: python3-six
|
|
|
157838e |
Requires: python3-requests
|
|
|
157838e |
|
|
|
79f2a80 |
%description -n python3-pkgwat-api
|
|
|
d5eed73 |
Python3 API for pkgwat
|
|
|
157838e |
http://pypi.python.org/pypi/pkgwat.cli.
|
|
|
157838e |
%endif
|
|
|
157838e |
|
|
|
157838e |
%prep
|
|
|
157838e |
%setup -q -n %{modname}-%{version}
|
|
|
2661a2b |
|
|
|
157838e |
rm -rf pkgwat.api.egg-info
|
|
|
157838e |
|
|
|
157838e |
%build
|
|
|
d5eed73 |
%{py2_build}
|
|
|
157838e |
%if 0%{?with_python3}
|
|
|
d5eed73 |
%{py3_build}
|
|
|
157838e |
%endif
|
|
|
157838e |
|
|
|
157838e |
%install
|
|
|
d5eed73 |
%{py2_install}
|
|
|
157838e |
%if 0%{?with_python3}
|
|
|
d5eed73 |
%{py3_install}
|
|
|
157838e |
%endif
|
|
|
157838e |
|
|
|
d5eed73 |
%files -n python2-pkgwat-api
|
|
|
d5eed73 |
%doc README.rst lgpl-2.1.txt
|
|
|
d5eed73 |
%license LICENSE
|
|
|
d5eed73 |
%{python2_sitelib}/pkgwat
|
|
|
d5eed73 |
%{python2_sitelib}/%{modname}-%{version}*
|
|
|
157838e |
|
|
|
157838e |
%if 0%{?with_python3}
|
|
|
79f2a80 |
%files -n python3-pkgwat-api
|
|
|
d5eed73 |
%doc README.rst lgpl-2.1.txt
|
|
|
d5eed73 |
%license LICENSE
|
|
|
157838e |
%{python3_sitelib}/pkgwat
|
|
|
157838e |
%{python3_sitelib}/%{modname}-%{version}-*
|
|
|
157838e |
%endif
|
|
|
157838e |
|
|
|
157838e |
%changelog
|
|
|
d5eed73 |
* Fri Sep 09 2016 Ralph Bean <rbean@redhat.com> - 0.12-11
|
|
|
d5eed73 |
- Modernize python macros.
|
|
|
d5eed73 |
- Explicitly python2 subpackage.
|
|
|
d5eed73 |
|
|
|
dcfd408 |
* Fri Sep 09 2016 Ralph Bean <rbean@redhat.com> - 0.12-10
|
|
|
dcfd408 |
- Remove no-longer-needed Obsoletes/Provides (RHBZ#1374243).
|
|
|
dcfd408 |
|
|
|
aadc244 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-9
|
|
|
aadc244 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
aadc244 |
|
|
|
8d3e27a |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-8
|
|
|
8d3e27a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
8d3e27a |
|
|
|
5917a58 |
* Fri Nov 13 2015 Ralph Bean <rbean@redhat.com> - 0.12-7
|
|
|
5917a58 |
- Fix rhel7 conditional...
|
|
|
5917a58 |
|
|
|
48e5921 |
* Thu Nov 12 2015 Ralph Bean <rbean@redhat.com> - 0.12-6
|
|
|
48e5921 |
- Make python-ordereddict unnecessary on EL7.
|
|
|
48e5921 |
|
|
|
a1ccc80 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-5
|
|
|
a1ccc80 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
a1ccc80 |
|
|
|
a78f874 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-4
|
|
|
a78f874 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
a78f874 |
|
|
|
7ed3ff7 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-3
|
|
|
7ed3ff7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
7ed3ff7 |
|
|
|
4ba113d |
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 0.12-2
|
|
|
4ba113d |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
4ba113d |
|
|
|
5d6397f |
* Thu Nov 14 2013 Ralph Bean <rbean@redhat.com> - 0.12-1
|
|
|
5d6397f |
- Fix unicode issues when stripping html from responses.
|
|
|
5d6397f |
|
|
|
1422ba4 |
* Sun Nov 03 2013 Ralph Bean <rbean@redhat.com> - 0.10-2
|
|
|
1422ba4 |
- Add obsoletes/provides on python3-python-pkgwat-api
|
|
|
1422ba4 |
|
|
|
045c53d |
* Tue Oct 22 2013 Ralph Bean <rbean@redhat.com> - 0.10-1
|
|
|
045c53d |
- Latest upstream with some bugfixes.
|
|
|
045c53d |
|
|
|
9598d99 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
|
|
|
9598d99 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
9598d99 |
|
|
|
dcadf6c |
* Tue Jun 11 2013 Ralph Bean <rbean@redhat.com> - 0.9-1
|
|
|
dcadf6c |
- Latest upstream.
|
|
|
dcadf6c |
- New history function to search datagrepper.
|
|
|
dcadf6c |
- Subpackages support with patches from Ariel O. Barria.
|
|
|
dcadf6c |
|
|
|
cefd97e |
* Tue Apr 09 2013 Ralph Bean <rbean@redhat.com> - 0.8-1
|
|
|
cefd97e |
- Latest upstream with a bugfix for py2.6.
|
|
|
cefd97e |
- Conditionally depend on python-ordereddict.
|
|
|
cefd97e |
- Remove py3.2 patch. Now included in upstream's release.
|
|
|
cefd97e |
|
|
|
79f2a80 |
* Wed Mar 20 2013 Ralph Bean <rbean@redhat.com> - 0.7-3
|
|
|
79f2a80 |
- Correctly name the python3 subpackage.
|
|
|
79f2a80 |
|
|
|
2661a2b |
* Thu Feb 28 2013 Ralph Bean <rbean@redhat.com> - 0.7-2
|
|
|
2661a2b |
- Patch to fix syntax error on python3.2.
|
|
|
2661a2b |
|
|
|
1fcc526 |
* Thu Feb 28 2013 Ralph Bean <rbean@redhat.com> - 0.7-1
|
|
|
1fcc526 |
- Latest upstream with a new "get" function.
|
|
|
1fcc526 |
|
|
|
ed605fb |
* Wed Feb 27 2013 Ralph Bean <rbean@redhat.com> - 0.6-1
|
|
|
ed605fb |
- Latest upstream with new functions for querying relationships.
|
|
|
ed605fb |
- Removed spurious newlines in .spec file.
|
|
|
0ae9d37 |
- Modernized with_python3 conditional.
|
|
|
0ae9d37 |
|
|
|
ca200d7 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-2
|
|
|
ca200d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
ed605fb |
|
|
|
7999579 |
* Tue Jan 22 2013 Ralph Bean <rbean@redhat.com> - 0.5-1
|
|
|
7999579 |
- Latest upstream; Fix to the karma formatting.
|
|
|
7999579 |
|
|
|
1f4c0c1 |
* Wed Jan 16 2013 Ralph Bean <rbean@redhat.com> - 0.4-1
|
|
|
1f4c0c1 |
- Latest upstream with support for newer python-requests.
|
|
|
1f4c0c1 |
|
|
|
29ab9c7 |
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 0.3-5
|
|
|
29ab9c7 |
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
|
|
|
29ab9c7 |
|
|
|
b63550e |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-4
|
|
|
b63550e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
b63550e |
|
|
|
157838e |
* Thu Jul 05 2012 Ralph Bean <rbean@redhat.com> - 0.3-3
|
|
|
157838e |
- Remove the bundled egg-info.
|
|
|
157838e |
|
|
|
157838e |
* Mon Jul 02 2012 Ralph Bean <rbean@redhat.com> - 0.3-2
|
|
|
157838e |
- Remove tests for koji.
|
|
|
157838e |
|
|
|
157838e |
* Mon Jul 02 2012 Ralph Bean <rbean@redhat.com> - 0.3-1
|
|
|
157838e |
- Latest upstream, includes unit tests.
|
|
|
157838e |
|
|
|
157838e |
* Mon Jul 02 2012 Ralph Bean <rbean@redhat.com> - 0.1-1
|
|
|
157838e |
- Initial package for Fedora
|