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

Commit

Permalink
backports.entry_points_selectable: Autospec creation for update from …
Browse files Browse the repository at this point in the history
…version 1.1.0 to version 1.0.4
  • Loading branch information
fenrus75 committed Oct 28, 2021
1 parent dcd92a5 commit 04567c3
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME := backports.entry_points_selectable
URL = https://files.pythonhosted.org/packages/e4/7e/249120b1ba54c70cf988a8eb8069af1a31fd29d42e3e05b9236a34533533/backports.entry_points_selectable-1.1.0.tar.gz
URL = https://files.pythonhosted.org/packages/a8/9e/22fcc989618cbba3aabf7f3ff583f9ab53600e1d73ef2cf5b171c3178bfa/backports.entry_points_selectable-1.0.4.tar.gz
ARCHIVES =

include ../common/Makefile.common
28 changes: 14 additions & 14 deletions backports.entry_points_selectable.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# Generated by: autospec.py
#
Name : backports.entry_points_selectable
Version : 1.1.0
Release : 6
URL : https://files.pythonhosted.org/packages/e4/7e/249120b1ba54c70cf988a8eb8069af1a31fd29d42e3e05b9236a34533533/backports.entry_points_selectable-1.1.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/e4/7e/249120b1ba54c70cf988a8eb8069af1a31fd29d42e3e05b9236a34533533/backports.entry_points_selectable-1.1.0.tar.gz
Version : 1.0.4
Release : 7
URL : https://files.pythonhosted.org/packages/a8/9e/22fcc989618cbba3aabf7f3ff583f9ab53600e1d73ef2cf5b171c3178bfa/backports.entry_points_selectable-1.0.4.tar.gz
Source0 : https://files.pythonhosted.org/packages/a8/9e/22fcc989618cbba3aabf7f3ff583f9ab53600e1d73ef2cf5b171c3178bfa/backports.entry_points_selectable-1.0.4.tar.gz
Summary : Compatibility shim providing selectable entry points for older implementations
Group : Development/Tools
License : MIT
Expand Down Expand Up @@ -55,38 +55,38 @@ python3 components for the backports.entry_points_selectable package.


%prep
%setup -q -n backports.entry_points_selectable-1.1.0
cd %{_builddir}/backports.entry_points_selectable-1.1.0
%setup -q -n backports.entry_points_selectable-1.0.4
cd %{_builddir}/backports.entry_points_selectable-1.0.4

%build
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=1626198445
export SOURCE_DATE_EPOCH=1635454102
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
export NM=gcc-nm
export CFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=4 "
export FCFLAGS="$FFLAGS -O3 -ffat-lto-objects -flto=4 "
export FFLAGS="$FFLAGS -O3 -ffat-lto-objects -flto=4 "
export CXXFLAGS="$CXXFLAGS -O3 -ffat-lto-objects -flto=4 "
export CFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=auto "
export FCFLAGS="$FFLAGS -O3 -ffat-lto-objects -flto=auto "
export FFLAGS="$FFLAGS -O3 -ffat-lto-objects -flto=auto "
export CXXFLAGS="$CXXFLAGS -O3 -ffat-lto-objects -flto=auto "
export MAKEFLAGS=%{?_smp_mflags}
python3 setup.py build

%install
export MAKEFLAGS=%{?_smp_mflags}
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/backports.entry_points_selectable
cp %{_builddir}/backports.entry_points_selectable-1.1.0/LICENSE %{buildroot}/usr/share/package-licenses/backports.entry_points_selectable/8e6689d37f82d5617b7f7f7232c94024d41066d1
cp %{_builddir}/backports.entry_points_selectable-1.0.4/LICENSE %{buildroot}/usr/share/package-licenses/backports.entry_points_selectable/8e6689d37f82d5617b7f7f7232c94024d41066d1
python3 -tt setup.py build install --root=%{buildroot}
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
echo ----[ mark ]----
## Remove excluded files
rm -f %{buildroot}/usr/lib/python3.*/site-packages/backports/__init__.py
rm -f %{buildroot}/usr/lib/python3.*/site-packages/backports/__pycache__/__init__.cpython-3*.pyc
rm -f %{buildroot}*/usr/lib/python3.*/site-packages/backports/__init__.py
rm -f %{buildroot}*/usr/lib/python3.*/site-packages/backports/__pycache__/__init__.cpython-3*.pyc

%files
%defattr(-,root,root,-)
Expand Down
4 changes: 3 additions & 1 deletion options.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = backports.entry_points_selectable
url = https://files.pythonhosted.org/packages/e4/7e/249120b1ba54c70cf988a8eb8069af1a31fd29d42e3e05b9236a34533533/backports.entry_points_selectable-1.1.0.tar.gz
url = https://files.pythonhosted.org/packages/a8/9e/22fcc989618cbba3aabf7f3ff583f9ab53600e1d73ef2cf5b171c3178bfa/backports.entry_points_selectable-1.0.4.tar.gz
archives =
giturl = https://github.com/jaraco/backports.entry_points_selectable.git
domain =
Expand Down Expand Up @@ -47,6 +47,8 @@ optimize_size = false
pgo = false
# set flags for security-sensitive builds
security_sensitive = false
# package is only used by servers
server = false
# do not run test suite
skip_tests = false
# add .so files to the lib package instead of dev
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6
7
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
fa4750335874bfdbf9d266b8481301da99f08d2c/backports.entry_points_selectable-1.1.0.tar.gz
c7235b84aee245aa00370b9161767336c3c34291/backports.entry_points_selectable-1.0.4.tar.gz
2 changes: 1 addition & 1 deletion versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.0
1.0.4

0 comments on commit 04567c3

Please sign in to comment.