Compare commits
No commits in common. "37b6935b863a4ec0b48492d8e37204c50874e6d6" and "9a2a1b635a13076733bdcd2b49eb6a7ca6822b06" have entirely different histories.
37b6935b86
...
9a2a1b635a
BIN
pretend-1.0.8.tar.gz
Normal file
BIN
pretend-1.0.8.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,16 +1,34 @@
|
|||||||
|
%bcond_without python3
|
||||||
|
|
||||||
Name: python-pretend
|
Name: python-pretend
|
||||||
Version: 1.0.9
|
Version: 1.0.8
|
||||||
Release: 1
|
Release: 15
|
||||||
Summary: A library to make stubbing with Python easier
|
Summary: A library to make stubbing with Python easier
|
||||||
License: BSD-3-Clause
|
License: BSD
|
||||||
URL: https://github.com/alex/pretend
|
URL: https://github.com/alex/pretend
|
||||||
Source0: https://github.com/alex/pretend/archive/v%{version}/pretend-%{version}.tar.gz
|
Source0: https://pypi.python.org/packages/source/p/pretend/pretend-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: python2-devel python2-setuptools
|
||||||
|
|
||||||
|
%if %{with python3}
|
||||||
BuildRequires: python3-devel python3-setuptools
|
BuildRequires: python3-devel python3-setuptools
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Pretend is a library to make stubbing with Python easier.
|
Pretend is a library to make stubbing with Python easier.
|
||||||
|
|
||||||
|
%package -n python2-pretend
|
||||||
|
Summary: A library to make stubbing with Python easier
|
||||||
|
License: BSD
|
||||||
|
%{?python_provide:%python_provide python2-pretend}
|
||||||
|
|
||||||
|
|
||||||
|
%description -n python2-pretend
|
||||||
|
Pretend is a library to make stubbing with Python easier.
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with python3}
|
||||||
%package -n python3-pretend
|
%package -n python3-pretend
|
||||||
Summary: A library to make stubbing with Python easier
|
Summary: A library to make stubbing with Python easier
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -19,34 +37,39 @@ License: BSD
|
|||||||
|
|
||||||
%description -n python3-pretend
|
%description -n python3-pretend
|
||||||
Pretend is a library to make stubbing with Python easier.
|
Pretend is a library to make stubbing with Python easier.
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n pretend-%{version} -p1
|
%autosetup -n pretend-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%py2_build
|
||||||
|
|
||||||
|
%if %{with python3}
|
||||||
%py3_build
|
%py3_build
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py2_install
|
||||||
|
|
||||||
|
%if %{with python3}
|
||||||
|
%py3_install
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files -n python2-pretend
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%license LICENSE.rst
|
||||||
|
%doc PKG-INFO README.rst
|
||||||
|
%{python2_sitelib}/*
|
||||||
|
|
||||||
|
%if %{with python3}
|
||||||
%files -n python3-pretend
|
%files -n python3-pretend
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%license LICENSE.rst
|
%license LICENSE.rst
|
||||||
%doc README.rst
|
%doc PKG-INFO README.rst
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Dec 15 2023 liyanan <liyanan61@h-partners.com> - 1.0.9-1
|
|
||||||
- Update to 1.0.9
|
|
||||||
|
|
||||||
* Wed Jan 18 2023 yangbo <yangbo1@xfusion.com> - 1.0.8-18
|
|
||||||
- Fix typo in README
|
|
||||||
|
|
||||||
* Wed May 11 2022 wulei <wulei80@h-partners.com> - 1.0.8-17
|
|
||||||
- License compliance rectification
|
|
||||||
|
|
||||||
* Wed Oct 21 2020 wangxiao <wangxiao65@huawei.com> - 1.0.8-16
|
|
||||||
- drop python2 subpackage
|
|
||||||
|
|
||||||
* Mon Dec 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.8-15
|
* Mon Dec 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.8-15
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
@ -1,4 +0,0 @@
|
|||||||
version_control: pypi
|
|
||||||
src_repo: pretend
|
|
||||||
tag_prefix: "^v"
|
|
||||||
seperator: "."
|
|
||||||
Loading…
x
Reference in New Issue
Block a user