clog
This commit is contained in:
parent
3023a83f18
commit
a253ba8334
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
/blinker-1.1.zip
|
/blinker-1.1.zip
|
||||||
|
/blinker-1.3.tar.gz
|
||||||
|
@ -1,34 +1,64 @@
|
|||||||
%global mod_name blinker
|
%global mod_name blinker
|
||||||
|
%global with_python3 1
|
||||||
|
|
||||||
Name: python-blinker
|
Name: python-blinker
|
||||||
Version: 1.1
|
Version: 1.3
|
||||||
Release: 5%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Fast, simple object-to-object and broadcast signaling
|
Summary: Fast, simple object-to-object and broadcast signaling
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://discorporate.us/projects/Blinker/
|
URL: http://discorporate.us/projects/Blinker/
|
||||||
Source0: http://pypi.python.org/packages/source/b/%{mod_name}/%{mod_name}-%{version}.zip
|
Source0: http://pypi.python.org/packages/source/b/%{mod_name}/%{mod_name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
|
%if 0%{?with_python3}
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Blinker provides a fast dispatching system that allows any number
|
Blinker provides a fast dispatching system that allows any number
|
||||||
of interested parties to subscribe to events, or "signals".
|
of interested parties to subscribe to events, or "signals".
|
||||||
|
|
||||||
|
%if 0%{?with_python3}
|
||||||
|
%package -n python3-blinker
|
||||||
|
Summary: Fast, simple object-to-object and broadcast signaling
|
||||||
|
|
||||||
|
%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
|
%prep
|
||||||
%setup -q -n %{mod_name}-%{version}
|
%setup -q -n %{mod_name}-%{version}
|
||||||
|
|
||||||
|
%if 0%{?with_python3}
|
||||||
|
rm -rf %{py3dir}
|
||||||
|
cp -a . %{py3dir}
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
|
%{__python2} setup.py build
|
||||||
|
|
||||||
|
%if 0%{?with_python3}
|
||||||
|
pushd %{py3dir}
|
||||||
|
%{__python3} setup.py build
|
||||||
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
||||||
|
%if 0%{?with_python3}
|
||||||
|
pushd %{py3dir}
|
||||||
|
%{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
||||||
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -36,7 +66,18 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{python_sitelib}/*.egg-info
|
%{python_sitelib}/*.egg-info
|
||||||
%{python_sitelib}/%{mod_name}
|
%{python_sitelib}/%{mod_name}
|
||||||
|
|
||||||
|
%if 0%{?with_python3}
|
||||||
|
%files -n python3-blinker
|
||||||
|
%doc docs/ CHANGES LICENSE README PKG-INFO
|
||||||
|
%{python3_sitelib}/*.egg-info
|
||||||
|
%{python3_sitelib}/%{mod_name}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user