Compare commits

..

No commits in common. "ea4f9c448825469f94824af1ec9e0a575d3073b5" and "8311e1095a0d4b7c4dccbcb0d2251da267dc1f1d" have entirely different histories.

4 changed files with 40 additions and 46 deletions

BIN
blinker-1.4.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,12 +1,13 @@
%global _empty_manifest_terminate_build 0
Name: python-blinker Name: python-blinker
Version: 1.6.2 Version: 1.4
Release: 1 Release: 4
Summary: A powerful signal lib based on Python Summary: A powerful signal lib based on Python
License: MIT License: MIT
URL: https://pythonhosted.org/blinker/ URL: https://pythonhosted.org/blinker/
Source0: %{pypi_source blinker} Source0: http://pypi.python.org/packages/source/b/blinker/blinker-%{version}.tar.gz
BuildRequires: python3-pip python3-wheel
BuildRequires: python2-devel python2-setuptools python3-devel python3-setuptools
BuildArch: noarch BuildArch: noarch
%description %description
@ -14,57 +15,54 @@ Blinker is a signal lib based on Python.It supports both object-to-object
and multicasting for python object.The core of blinker is minimal but provides and multicasting for python object.The core of blinker is minimal but provides
quite powerful features. quite powerful features.
%package -n python3-blinker %package -n python2-blinker
Summary: A powerful signal lib based on Python Summary: A powerful signal lib based on Python2
Provides: python-blinker = %{version}-%{release} %{?python_provide:%python_provide python2-blinker}
BuildRequires: python3-devel python3-setuptools
%description -n python2-blinker
Blinker is a signal lib based on Python2.It supports both object-to-object
and multicasting for python object.The core of blinker is minimal but provides
quite powerful features.
%package -n python3-blinker
Summary: A powerful signal lib based on Python3
%{?python_provide:%python_provide python3-blinker}
%description -n python3-blinker %description -n python3-blinker
Blinker is a signal lib based on Python.It supports both object-to-object Blinker is a signal lib based on Python.It supports both object-to-object
and multicasting for python object.The core of blinker is minimal but provides and multicasting for python object.The core of blinker is minimal but provides
quite powerful features. quite powerful features.
%package help
Summary: Development documents and examples for blinker
Provides: python3-blinker-doc
%description help
Blinker is a signal lib based on Python.It supports both object-to-object
and multicasting for python object.The core of blinker is minimal but provides
quite powerful features.
%prep %prep
%autosetup -n blinker-%{version} %autosetup -n blinker-%{version} -p1
rm -rf %{py3dir}
cp -a . %{py3dir}
%build %build
%pyproject_build %{__python2} setup.py build
cd %{py3dir}
%{__python3} setup.py build
cd -
%install %install
%pyproject_install %{__python2} setup.py install -O1 --root $RPM_BUILD_ROOT --skip-build
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi cd %{py3dir}
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi %{__python3} setup.py install -O1 --root $RPM_BUILD_ROOT --skip-build
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi cd -
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
%files -n python2-blinker
%doc docs/ CHANGES LICENSE README.md PKG-INFO
%{python2_sitelib}/*.egg-info
%{python2_sitelib}/blinker
%files -n python3-blinker %files -n python3-blinker
%{python3_sitelib}/* %doc docs/ CHANGES LICENSE README.md PKG-INFO
%{python3_sitelib}/*.egg-info
%files help %{python3_sitelib}/blinker
%{_docdir}/*
%changelog %changelog
* Thu May 18 2023 wulei <wu_lei@hoperun.com> - 1.6.2-1
- Update to 1.6.2
* Fri Nov 18 2022 liqiuyu <liqiuyu@kylinos.cn> - 1.5-1
- Update package to version 1.5
* Wed Oct 21 2020 chengzihan <chengzihan2@huawei.com> - 1.4-6
- Remove subpackage python2-blinker
* Tue Sep 29 2020 liuweibo <liuweibo10@huawei.com> - 1.4-5
- Fix Source0
* Tue Nov 26 2019 zhouyihang <zhouyihang1@huawei.com> - 1.4-4 * Tue Nov 26 2019 zhouyihang <zhouyihang1@huawei.com> - 1.4-4
- Package init - Package init

View File

@ -1,4 +0,0 @@
version_control: pypi
src_repo: blinker
tag_prefix: "^v"
seperator: "."