Michal Cyprian b3e1a34
Name:           pyp2rpm
2efebe0
Version:        3.3.2
2efebe0
Release:        1%{?dist}
df72b15
Summary:        Convert Python packages to RPM SPECFILES
df72b15
df72b15
License:        MIT
a925379
URL:            https://pypi.python.org/pypi/pyp2rpm
Michal Cyprian b3e1a34
Source0:        https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
927508e
df72b15
BuildArch:      noarch
df72b15
 
df72b15
BuildRequires:  python3-devel
Michal Cyprian b3e1a34
BuildRequires:  python3dist(setuptools)
Michal Cyprian b3e1a34
BuildRequires:  python3dist(virtualenv-api)
Michal Cyprian b3e1a34
BuildRequires:  python2dist(virtualenv-api)
Michal Cyprian b3e1a34
BuildRequires:  python3dist(jinja2)
Michal Cyprian b3e1a34
BuildRequires:  python3dist(click)
Michal Cyprian b3e1a34
BuildRequires:  python3dist(pytest-runner)
Michal Cyprian b3e1a34
Michal Cyprian b3e1a34
BuildRequires:  python3dist(pytest)
Michal Cyprian b3e1a34
BuildRequires:  python3dist(flexmock) >= 0.9.3
Michal Cyprian b3e1a34
BuildRequires:  python3dist(scripttest)
a925379
BuildRequires:  vex
df72b15
 
Michal Cyprian b3e1a34
Requires:       python3dist(jinja2)
Michal Cyprian b3e1a34
Requires:       python3dist(setuptools)
Michal Cyprian b3e1a34
Requires:       python3dist(click)
Michal Cyprian b3e1a34
Requires:       python3dist(virtualenv-api)
Michal Cyprian b3e1a34
Requires:       python2dist(virtualenv-api)
Michal Cyprian b3e1a34
Requires:       python3-rpm
Robert Kuska cb6aa19
Requires:       rpmdevtools
66f0efd
Robert Kuska dbf51ae
%description
df72b15
Convert Python packages to RPM SPECFILES. The packages can be downloaded from
143310b
PyPI and the produced SPEC is in line with Fedora Packaging Guidelines or
143310b
Mageia Python Policy.
df72b15
df72b15
%prep
Michal Cyprian b3e1a34
%autosetup -p1 -n %{name}-%{version}
df72b15
df72b15
%build
143310b
%py3_build
df72b15
df72b15
%install
143310b
%py3_install
df72b15
df72b15
%check
1748a16
export LC_CTYPE="en_US.UTF-8"
1748a16
PYTHONPATH="." py.test-3 -vv -m "not webtest"
df72b15
df72b15
%files
5c789d9
%license LICENSE
5c789d9
%doc README.md
df72b15
%{_bindir}/pyp2rpm
Michal Cyprian b3e1a34
%{python3_sitelib}/%{name}
Michal Cyprian b3e1a34
%{python3_sitelib}/%{name}-%{version}-py?.?.egg-info
df72b15
df72b15
df72b15
%changelog
2efebe0
* Wed Mar 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.3.2-1
2efebe0
- Update to 3.3.2
2efebe0
a84b79a
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-3
a84b79a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a84b79a
Michal Cyprian b3e1a34
* Tue Dec 19 2017 Michal Cyprian <mcyprian@redhat.com> - 3.3.0-2
Michal Cyprian b3e1a34
- Use automatic provides style requires
Michal Cyprian b3e1a34
a925379
* Sat Dec 16 2017 Kevin Fenzi <kevin@scrye.com> - 3.3.0-1
a925379
- Update to 3.3.0. Fixes bug #1526664
a925379
Michal Cyprian bf1995a
* Mon Aug 28 2017 Michal Cyprian <mcyprian@redhat.com> - 3.2.3-1
Michal Cyprian bf1995a
- Update to 3.2.3
Michal Cyprian bf1995a
982caf8
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-2
982caf8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
982caf8
1748a16
* Wed Feb 22 2017 Michal Cyprian <mcyprian@redhat.com> - 3.2.2-1
1748a16
- Update to 3.2.2
1748a16
f4bd448
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-3
f4bd448
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f4bd448
76090f6
* Mon Dec 19 2016 Miro HronĨok <mhroncok@redhat.com> - 3.2.1-2
76090f6
- Rebuild for Python 3.6
76090f6
61f9c33
* Thu Oct 13 2016 Michal Cyprian <mcyprian@redhat.com> - 3.2.0-1
61f9c33
- Update to 3.2.1
61f9c33
f133513
* Wed Aug 10 2016 Michal Cyprian <mcyprian@redhat.com> - 3.1.3-1
f133513
- Update to 3.1.3
f133513
ab41ca2
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-2
ab41ca2
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
ab41ca2
2ee15e6
* Thu Jun 16 2016 Michal Cyprian <mcyprian@redhat.com> - 3.1.2-1
2ee15e6
- Update to 3.1.2
2ee15e6
1988639
* Wed Jun 01 2016 Michal Cyprian <mcyprian@redhat.com> - 3.1.1-1
1988639
- Update to 3.1.1
1988639
36bc737
* Thu Apr 21 2016 Michal Cyprian <mcyprian@redhat.com> - 3.0.2-1
36bc737
- Update to 3.0.2
36bc737
5c789d9
* Wed Apr 13 2016 Michal Cyprian <mcyprian@redhat.com> - 3.0.1-1
5c789d9
- Update to 3.0.1
5c789d9
8d74c46
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
8d74c46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
8d74c46
fa98e2a
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-2
fa98e2a
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
fa98e2a
143310b
* Tue Aug 18 2015 Michal Cyprian <mcyprian@redhat.com> - 2.0.0-1
143310b
- Update to 2.0.0
143310b
c7dcf6d
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-2
c7dcf6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c7dcf6d
Robert Kuska 0ccf26b
* Thu Nov 27 2014 Robert Kuska <rkuska@redhat.com> - 1.1.2-1
Robert Kuska 0ccf26b
- Update to 1.1.2
Robert Kuska 0ccf26b
Robert Kuska 0776236
* Fri Sep 12 2014 Robert Kuska <rkuska@redhat.com> - 1.1.1-1
Robert Kuska 0776236
- Update to 1.1.1
Robert Kuska 0776236
aea0bff
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0b-3
aea0bff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
aea0bff
5ae355c
* Tue May 13 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.1.0b-2
5ae355c
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
5ae355c
Robert Kuska dbf51ae
* Tue Apr 29 2014 Robert Kuska <rkuska@redhat.com> - 1.1.0b-1
Robert Kuska dbf51ae
- Update to v1.1.0b
Robert Kuska dbf51ae
Robert Kuska cb6aa19
* Wed Jan 29 2014 Robert Kuska <rkuska@redhat.com> - 1.0.1-4
Robert Kuska cb6aa19
- Change requires from distribute to setuptools
Robert Kuska cb6aa19
- Add rpmdevtools to requires
Robert Kuska cb6aa19
206ea50
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3
206ea50
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
206ea50
6e2a556
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
6e2a556
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6e2a556
86cc078
* Wed Dec 19 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.5.1-6
86cc078
- Update to 1.0.1.
86cc078
66f0efd
* Mon Dec 03 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.5.1-5
66f0efd
- Properly require python3 deps only from the python3 subpackage.
66f0efd
add360c
* Mon Aug 06 2012 David Malcolm <dmalcolm@redhat.com> - 0.5.1-4
add360c
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
add360c
13da8ce
* Thu Aug  2 2012 David Malcolm <dmalcolm@redhat.com> - 0.5.1-3
13da8ce
- generalize py.test reference to work with Python 3.*
13da8ce
7976ef9
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
7976ef9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7976ef9
df72b15
* Mon Jun 18 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.5.1-1
df72b15
- Initial package.