152 lines
4.6 KiB
Plaintext
152 lines
4.6 KiB
Plaintext
%global mod_name blinker
|
|
%global with_python3 1
|
|
|
|
%if 0%{?rhel} > 7
|
|
# Disable python2 build by default
|
|
%bcond_with python2
|
|
%else
|
|
%bcond_without python2
|
|
%endif
|
|
|
|
Name: python-blinker
|
|
Version: 1.3
|
|
Release: 14%{?dist}
|
|
Summary: Fast, simple object-to-object and broadcast signaling
|
|
|
|
Group: Development/Libraries
|
|
License: MIT
|
|
URL: http://discorporate.us/projects/Blinker/
|
|
Source0: http://pypi.python.org/packages/source/b/%{mod_name}/%{mod_name}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
%if %{with python2}
|
|
BuildRequires: python2-devel
|
|
BuildRequires: python2-setuptools
|
|
%endif # with python2
|
|
%if 0%{?with_python3}
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-setuptools
|
|
%endif
|
|
|
|
%global _description\
|
|
Blinker provides a fast dispatching system that allows any number\
|
|
of interested parties to subscribe to events, or "signals".
|
|
|
|
%description %_description
|
|
|
|
%if %{with python2}
|
|
%package -n python2-blinker
|
|
Summary: %summary
|
|
%{?python_provide:%python_provide python2-blinker}
|
|
|
|
%description -n python2-blinker %_description
|
|
%endif # with python2
|
|
|
|
%if 0%{?with_python3}
|
|
%package -n python3-blinker
|
|
Summary: Fast, simple object-to-object and broadcast signaling
|
|
%{?python_provide:%python_provide python3-blinker}
|
|
|
|
%description -n python3-blinker
|
|
Blinker provides a fast dispatching system that allows any number
|
|
of interested parties to subscribe to events, or "signals".
|
|
%endif
|
|
|
|
%prep
|
|
%setup -q -n %{mod_name}-%{version}
|
|
|
|
%build
|
|
%if %{with python2}
|
|
%py2_build
|
|
%endif # with python2
|
|
|
|
%if 0%{?with_python3}
|
|
%py3_build
|
|
%endif
|
|
|
|
%install
|
|
|
|
%if 0%{?with_python3}
|
|
%py3_install
|
|
%endif
|
|
|
|
%if %{with python2}
|
|
%py2_install
|
|
%endif # with python2
|
|
|
|
%if %{with python2}
|
|
%files -n python2-blinker
|
|
%license LICENSE
|
|
%doc docs/ CHANGES README PKG-INFO
|
|
%{python2_sitelib}/*.egg-info
|
|
%{python2_sitelib}/%{mod_name}
|
|
%endif # with python2
|
|
|
|
%if 0%{?with_python3}
|
|
%files -n python3-blinker
|
|
%license LICENSE
|
|
%doc docs/ CHANGES README PKG-INFO
|
|
%{python3_sitelib}/*.egg-info
|
|
%{python3_sitelib}/%{mod_name}
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
* Tue Jun 19 2018 Charalampos Stratakis <cstratak@redhat.com> - 1.3-14
|
|
- Conditionalize the python2 subpackage
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-13
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3-12
|
|
- Python 2 binary package renamed to python2-blinker
|
|
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-11
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 1.3-9
|
|
- Rebuild for Python 3.6
|
|
|
|
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 1.3-8
|
|
- Rebuild for Python 3.6
|
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-7
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.3-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
|
* Tue Sep 24 2013 Praveen Kumar <kumarpraveen.nitdgp@gmail.com> - 1.3-1
|
|
- Updated source and added python3 support
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Fri Jul 22 2011 Praveen Kumar <kumarpraveen.nitdgp@gmail.com> - 1.1-1
|
|
- Initial RPM
|