Update to 4.6.0

This commit is contained in:
Orion Poplawski 2018-07-20 21:04:24 -06:00
parent a3d31abab7
commit ca8a8c6bfd
3 changed files with 21 additions and 17 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ Traits-3.4.0.tar.gz
/traits-4.4.0.tar.gz
/traits-4.5.0.tar.gz
/traits-ac5d029.tar.gz
/traits-4.6.0.tar.gz

View File

@ -4,19 +4,19 @@
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: python-%{srcname}
Version: 4.5.0
Release: 18.git%{shortcommit}%{?dist}
Version: 4.6.0
Release: 1%{?dist}
Summary: Explicitly typed attributes for Python
Group: Development/Libraries
# Images have different licenses. For image license breakdown check
# image_LICENSE.txt file.
License: BSD and EPL and LGPLv2+
URL: http://code.enthought.com/projects/traits/
#Source0: https://pypi.python.org/packages/source/t/traits/%{modname}-%{version}.tar.gz
Source0: https://github.com/enthought/traits/archive/%{commit}/%{modname}-%{shortcommit}.tar.gz
URL: http://docs.enthought.com/traits/
#Source0: https://github.com/enthought/traits/archive/%{commit}/%{modname}-%{shortcommit}.tar.gz
Source0: https://github.com/enthought/traits/archive/%{version}/%{modname}-%{version}.tar.gz
# we don't want to provide private python extension libs
%global __provides_exclude_from ^(%{python2_sitearch}|%{python3_sitearch})/.*\\.so$
#global __provides_exclude_from ^(%{python2_sitearch}|%{python3_sitearch})/.*\\.so$
%description
The traits package developed by Enthought provides a special type
@ -60,16 +60,16 @@ attributes, traits also have several additional characteristics:
Python 2 version.
%package -n python3-%{srcname}
%package -n python%{python3_pkgversion}-%{srcname}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{srcname}}
%{?python_provide:%python_provide python3-%{modname}}
BuildRequires: python3-devel python3-setuptools
BuildRequires: python3-nose
Requires: python3-numpy
Provides: python3-%{modname} = %{version}-%{release}
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
%{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}}
BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-nose
Requires: python%{python3_pkgversion}-numpy
Provides: python%{python3_pkgversion}-%{modname} = %{version}-%{release}
%description -n python3-%{srcname}
%description -n python%{python3_pkgversion}-%{srcname}
The traits package developed by Enthought provides a special type
definition called a trait. Although they can be used as normal Python object
attributes, traits also have several additional characteristics:
@ -87,7 +87,7 @@ attributes, traits also have several additional characteristics:
Python 3 version.
%prep
%autosetup -n %{modname}-%{commit}
%autosetup -n %{modname}-%{version}
# we already have a bit another flags
sed -i -e '/extra_compile_args=/d' setup.py
@ -112,12 +112,15 @@ popd
%doc CHANGES.txt examples/tutorials README.rst
%{python2_sitearch}/%{modname}*
%files -n python3-%{srcname}
%files -n python%{python3_pkgversion}-%{srcname}
%license LICENSE.txt
%doc CHANGES.txt examples/tutorials README.rst
%{python3_sitearch}/%{modname}*
%changelog
* Fri Jul 20 2018 Orion Poplawski <orion@nwra.com> - 4.6.0-1
- Update to 4.6.0
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.0-18.gitac5d029
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

View File

@ -1 +1 @@
2aefdbf7858f52210e4aa087ee70ddbb traits-ac5d029.tar.gz
SHA512 (traits-4.6.0.tar.gz) = 33cba49bdcb1ee428049cd88535e3a18e710c975409cfc1ac78c4898cb6cb4131b8cf5338d28b4b95442e189f722047a5ff81ab522c0dc4564f755a912e0c6de