|
|
828905 |
|
|
|
828905 |
%global pypi_name versiontools
|
|
|
828905 |
|
|
|
828905 |
Name: python-versiontools
|
|
|
828905 |
Version: 1.9.1
|
|
|
828905 |
Release: 28%{?dist}
|
|
|
828905 |
Summary: Smart replacement for plain tuple used in __version__
|
|
|
828905 |
|
|
|
828905 |
License: LGPLv3
|
|
|
828905 |
URL: https://launchpad.net/versiontools
|
|
|
828905 |
Source0: https://pypi.python.org/packages/source/v/versiontools/versiontools-1.9.1.tar.gz
|
|
|
828905 |
|
|
|
828905 |
# Update tests for python 3.4
|
|
|
828905 |
Patch0: versiontools-1.9.1-py34-tests.patch
|
|
|
828905 |
Patch1: python-versiontools-py35.patch
|
|
|
828905 |
|
|
|
828905 |
BuildArch: noarch
|
|
|
828905 |
BuildRequires: python3-devel
|
|
|
828905 |
BuildRequires: python3-setuptools
|
|
|
828905 |
BuildRequires: python3-sphinx
|
|
|
828905 |
BuildRequires: python3-nose
|
|
|
828905 |
|
|
|
828905 |
%global _description\
|
|
|
828905 |
%{summary}
|
|
|
828905 |
|
|
|
828905 |
%description %_description
|
|
|
828905 |
|
|
|
828905 |
%package -n python3-%{pypi_name}
|
|
|
828905 |
Summary: Smart replacement for plain tuple used in __version__
|
|
|
828905 |
|
|
|
828905 |
%description -n python3-%{pypi_name}
|
|
|
828905 |
%{summary}
|
|
|
828905 |
|
|
|
828905 |
%prep
|
|
|
828905 |
%setup -q -n %{pypi_name}-%{version}
|
|
|
828905 |
%patch0 -p0
|
|
|
828905 |
%patch1 -p1
|
|
|
828905 |
|
|
|
828905 |
# remove bundled egg-info
|
|
|
828905 |
rm -rf %{pypi_name}.egg-info
|
|
|
828905 |
# generate html docs
|
|
|
828905 |
sphinx-build doc html
|
|
|
828905 |
# remove the sphinx-build leftovers
|
|
|
828905 |
rm -rf html/.{doctrees,buildinfo}
|
|
|
828905 |
|
|
|
828905 |
find . -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
|
|
|
828905 |
|
|
|
828905 |
%build
|
|
|
828905 |
|
|
|
828905 |
%{__python3} setup.py build
|
|
|
828905 |
|
|
|
828905 |
%install
|
|
|
828905 |
|
|
|
828905 |
%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
|
|
|
828905 |
|
|
|
828905 |
%check
|
|
|
828905 |
|
|
|
828905 |
PYTHONPATH="${PWD}" %{__python3} setup.py nosetests
|
|
|
828905 |
|
|
|
828905 |
%files -n python3-%{pypi_name}
|
|
|
828905 |
%doc html
|
|
|
828905 |
%{python3_sitelib}/%{pypi_name}
|
|
|
828905 |
%{python3_sitelib}/%{pypi_name}-%{version}-py3*.egg-info
|
|
|
828905 |
|
|
|
828905 |
|
|
|
828905 |
%changelog
|
|
|
828905 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-28
|
|
|
828905 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
828905 |
|
|
|
828905 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-27
|
|
|
828905 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
828905 |
|
|
|
828905 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.9.1-26
|
|
|
828905 |
- Rebuilt for Python 3.9
|
|
|
828905 |
|
|
|
828905 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-25
|
|
|
828905 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
828905 |
|
|
|
828905 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.9.1-24
|
|
|
828905 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
828905 |
|
|
|
828905 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.9.1-23
|
|
|
828905 |
- Rebuilt for Python 3.8
|
|
|
828905 |
|
|
|
828905 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-22
|
|
|
828905 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
828905 |
|
|
|
828905 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-21
|
|
|
828905 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
828905 |
|
|
|
828905 |
* Wed Jan 09 2019 Miro Hrončok <mhroncok@redhat.com> - 1.9.1-20
|
|
|
828905 |
- Subpackage python2-versiontools has been removed
|
|
|
828905 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
828905 |
|
|
|
828905 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-19
|
|
|
828905 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
828905 |
|
|
|
828905 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.9.1-18
|
|
|
828905 |
- Rebuilt for Python 3.7
|
|
|
828905 |
|
|
|
828905 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-17
|
|
|
828905 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
828905 |
|
|
|
828905 |
* Wed Jan 31 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.9.1-16
|
|
|
828905 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
828905 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
828905 |
|
|
|
828905 |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.9.1-15
|
|
|
828905 |
- Python 2 binary package renamed to python2-versiontools
|
|
|
828905 |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
828905 |
|
|
|
828905 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-14
|
|
|
828905 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
828905 |
|
|
|
828905 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-13
|
|
|
828905 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
828905 |
|
|
|
828905 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.9.1-12
|
|
|
828905 |
- Rebuild for Python 3.6
|
|
|
828905 |
|
|
|
828905 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-11
|
|
|
828905 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
828905 |
|
|
|
828905 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-10
|
|
|
828905 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
828905 |
|
|
|
828905 |
* Tue Nov 17 2015 Matthias Runge <mrunge@redhat.com> - 1.9.1-9
|
|
|
828905 |
- make python3 tests pass
|
|
|
828905 |
|
|
|
828905 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-9
|
|
|
828905 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
828905 |
|
|
|
828905 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-8
|
|
|
828905 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
828905 |
|
|
|
828905 |
* Wed May 27 2015 Adam Miller <maxamillion@fedoraproject.org> - 1.9.1-7
|
|
|
828905 |
- Update package to provide python3 version as well
|
|
|
828905 |
|
|
|
828905 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-6
|
|
|
828905 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
828905 |
|
|
|
828905 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-5
|
|
|
828905 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
828905 |
|
|
|
828905 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-4
|
|
|
828905 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
828905 |
|
|
|
828905 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-3
|
|
|
828905 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
828905 |
|
|
|
828905 |
* Fri May 04 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.9.1-2
|
|
|
828905 |
- Be more explicit in %%files section.
|
|
|
828905 |
|
|
|
828905 |
* Thu May 03 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.9.1-1
|
|
|
828905 |
- Initial package.
|