Blame SPECS/python-ordered-set.spec

f91cda
%global short_name ordered-set
f91cda
%global dir_name ordered_set
f91cda
f91cda
Name:           python-%{short_name}
f91cda
Version:        2.0.2
f91cda
Release:        4%{?dist}
f91cda
Summary:        A Custom MutableSet that remembers its order
f91cda
f91cda
License:        MIT
f91cda
URL:            https://github.com/LuminosoInsight/ordered-set
f91cda
Source0:        https://pypi.python.org/packages/source/o/%{short_name}/%{short_name}-%{version}.tar.gz
f91cda
f91cda
BuildArch:      noarch
f91cda
f91cda
BuildRequires:  python3-devel
f91cda
#test
f91cda
BuildRequires:  python3-nose
f91cda
f91cda
%description
f91cda
An OrderedSet is a custom MutableSet that remembers its order, so that every\
f91cda
entry has an index that can be looked up.
f91cda
f91cda
%package     -n python3-%{short_name}
f91cda
Summary:        A Custom MutableSet that remembers its order
f91cda
f91cda
%description -n python3-%{short_name}
f91cda
An OrderedSet is a custom MutableSet that remembers its order, so that every
f91cda
entry has an index that can be looked up.
f91cda
f91cda
f91cda
%prep
f91cda
%setup -q -n %{short_name}-%{version}
f91cda
f91cda
%build
f91cda
%py3_build
f91cda
f91cda
%install
f91cda
%py3_install
f91cda
f91cda
f91cda
%check
f91cda
%{__python3} setup.py nosetests
f91cda
f91cda
%files -n python3-%{short_name} 
f91cda
%doc README
f91cda
%license MIT-LICENSE
f91cda
%{python3_sitelib}/%{dir_name}.py
f91cda
%{python3_sitelib}/*egg-info/
f91cda
%{python3_sitelib}/__pycache__/*
f91cda
f91cda
f91cda
%changelog
f91cda
* Tue Jun 05 2018 Petr Viktorin <pviktori@redhat.com> - 2.0.2-4
f91cda
- Remove the Python 2 subpackage
f91cda
  https://bugzilla.redhat.com/show_bug.cgi?id=1585973
f91cda
f91cda
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-3
f91cda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f91cda
f91cda
* Wed Sep 27 2017 Troy Dawson <tdawson@redhat.com> - 2.0.2-2
f91cda
- Cleanup spec file conditionals
f91cda
f91cda
* Mon Aug 21 2017 Miroslav Suchý <msuchy@redhat.com> 2.0.2-1
f91cda
- add license
f91cda
f91cda
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.0.0-8
f91cda
- Python 2 binary package renamed to python2-ordered-set
f91cda
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
f91cda
f91cda
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-7
f91cda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f91cda
f91cda
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-6
f91cda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f91cda
f91cda
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.0.0-5
f91cda
- Rebuild for Python 3.6
f91cda
f91cda
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-4
f91cda
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
f91cda
f91cda
* Tue Feb 09 2016 Miroslav Suchý <miroslav@suchy.cz> 2.0.0-3
f91cda
- fix BR condition
f91cda
f91cda
* Tue Feb 09 2016 Miroslav Suchý <miroslav@suchy.cz> 2.0.0-2
f91cda
- add BR python-nose for test
f91cda
f91cda
* Tue Feb 09 2016 Miroslav Suchý <miroslav@suchy.cz> 2.0.0-1
f91cda
- rebase to 2.0.0
f91cda
f91cda
* Tue Sep 22 2015 Miroslav Suchý <msuchy@redhat.com> 1.3.1-4
f91cda
- add missing BR on el6
f91cda
- add missing macro on el6
f91cda
f91cda
* Mon Sep 07 2015 Miroslav Suchý <msuchy@redhat.com> 1.3.1-3
f91cda
- include egg-info again
f91cda
- fix typo
f91cda
f91cda
* Mon Sep 07 2015 Miroslav Suchý <msuchy@redhat.com> 1.3.1-2
f91cda
- exclude __pycache__/ from filelist
f91cda
f91cda
* Mon Sep 07 2015 Miroslav Suchý <msuchy@redhat.com> 1.3.1-1
f91cda
- new package
f91cda