Blame SPECS/python-ordered-set.spec

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