| |
@@ -1,21 +1,17 @@
|
| |
%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
|
| |
- %if 0%{?fedora >= 24}
|
| |
+ %if 0%{?fedora >= 24} || 0%{?rhel} > 7
|
| |
%global with_python3 1
|
| |
%endif
|
| |
|
| |
%global pypi_name deprecation
|
| |
|
| |
Name: python-%{pypi_name}
|
| |
- Version: 1.0
|
| |
- Release: 10%{?dist}
|
| |
+ Version: 2.0.6
|
| |
+ Release: 1%{?dist}
|
| |
Summary: A library to handle automated deprecations
|
| |
- # License text missing from tarball
|
| |
- # https://github.com/briancurtin/deprecation/pull/3
|
| |
License: ASL 2.0
|
| |
URL: http://deprecation.readthedocs.io/
|
| |
Source0: https://files.pythonhosted.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
| |
- # Fetched from https://raw.githubusercontent.com/briancurtin/deprecation/master/LICENSE (see above)
|
| |
- Source1: LICENSE
|
| |
BuildArch: noarch
|
| |
|
| |
BuildRequires: python2-devel
|
| |
@@ -51,9 +47,6 @@
|
| |
%autosetup -n %{pypi_name}-%{version}
|
| |
# Remove bundled egg-info
|
| |
rm -rf %{pypi_name}.egg-info
|
| |
- # License text missing from tarball
|
| |
- # https://github.com/briancurtin/deprecation/pull/3
|
| |
- cp -a %{SOURCE1} .
|
| |
|
| |
%build
|
| |
# Required to avoid error "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1918"
|
| |
@@ -89,6 +82,9 @@
|
| |
%endif
|
| |
|
| |
%changelog
|
| |
+ * Wed Feb 06 2019 Alfredo Moralejo <amoralej@redhat.com> - 2.0.6-1
|
| |
+ - Update to 2.0.6.
|
| |
+
|
| |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-10
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
| |
|
| |