Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
setuptools: Autospec creation for version 56.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fenrus75 authored and clrpackages committed May 11, 2021
1 parent ba1f50c commit 2377c03
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
2 changes: 2 additions & 0 deletions install_append
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mkdir -p %{buildroot}/usr/bin
touch %{buildroot}/usr/bin/easy_install_is_deprecated
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
203
204
22 changes: 20 additions & 2 deletions setuptools.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
#
Name : setuptools
Version : 56.1.0
Release : 203
Release : 204
URL : https://files.pythonhosted.org/packages/71/a0/96ab4813ede181fa6c5d01c951dbf156b7d126f7589d0efa3f7861ce7a67/setuptools-56.1.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/71/a0/96ab4813ede181fa6c5d01c951dbf156b7d126f7589d0efa3f7861ce7a67/setuptools-56.1.0.tar.gz
Summary : Easily download, build, install, upgrade, and uninstall Python packages
Group : Development/Tools
License : MIT Python-2.0 ZPL-2.0
Requires: setuptools-bin = %{version}-%{release}
Requires: setuptools-license = %{version}-%{release}
Requires: setuptools-python = %{version}-%{release}
Requires: setuptools-python3 = %{version}-%{release}
Expand All @@ -24,6 +25,15 @@ BuildRequires : setuptools
.. image:: https://img.shields.io/pypi/pyversions/setuptools.svg
:target: `PyPI link`_

%package bin
Summary: bin components for the setuptools package.
Group: Binaries
Requires: setuptools-license = %{version}-%{release}

%description bin
bin components for the setuptools package.


%package license
Summary: license components for the setuptools package.
Group: Default
Expand Down Expand Up @@ -60,7 +70,7 @@ export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C.UTF-8
export SOURCE_DATE_EPOCH=1620230634
export SOURCE_DATE_EPOCH=1620655546
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
Expand All @@ -81,10 +91,18 @@ python3 -tt setup.py build install --root=%{buildroot}
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
echo ----[ mark ]----
## install_append content
mkdir -p %{buildroot}/usr/bin
touch %{buildroot}/usr/bin/easy_install_is_deprecated
## install_append end

%files
%defattr(-,root,root,-)

%files bin
%defattr(-,root,root,-)
/usr/bin/easy_install_is_deprecated

%files license
%defattr(0644,root,root,0755)
/usr/share/package-licenses/setuptools/8e6689d37f82d5617b7f7f7232c94024d41066d1
Expand Down

0 comments on commit 2377c03

Please sign in to comment.