diff --git a/pypi-jaraco.text.spec b/pypi-jaraco.text.spec index 75ce310..7952282 100644 --- a/pypi-jaraco.text.spec +++ b/pypi-jaraco.text.spec @@ -4,7 +4,7 @@ # Name : pypi-jaraco.text Version : 3.7.0 -Release : 23 +Release : 24 URL : https://files.pythonhosted.org/packages/88/9b/ad6fb0d9132e9a12d0f5432645fb2de5902e709f06e03bc5bbe80ffa76e5/jaraco.text-3.7.0.tar.gz Source0 : https://files.pythonhosted.org/packages/88/9b/ad6fb0d9132e9a12d0f5432645fb2de5902e709f06e03bc5bbe80ffa76e5/jaraco.text-3.7.0.tar.gz Summary : Module for text manipulation @@ -62,13 +62,16 @@ python3 components for the pypi-jaraco.text package. %prep %setup -q -n jaraco.text-3.7.0 cd %{_builddir}/jaraco.text-3.7.0 +pushd .. +cp -a jaraco.text-3.7.0 buildavx2 +popd %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=1649768010 +export SOURCE_DATE_EPOCH=1653338283 export GCC_IGNORE_WERROR=1 export AR=gcc-ar export RANLIB=gcc-ranlib @@ -79,6 +82,15 @@ export FFLAGS="$FFLAGS -O3 -ffat-lto-objects -flto=auto " export CXXFLAGS="$CXXFLAGS -O3 -ffat-lto-objects -flto=auto " export MAKEFLAGS=%{?_smp_mflags} python3 -m build --wheel --skip-dependency-check --no-isolation +pushd ../buildavx2/ +export CFLAGS="$CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +export CXXFLAGS="$CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +export FFLAGS="$FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +export FCFLAGS="$FCFLAGS -m64 -march=x86-64-v3 " +export LDFLAGS="$LDFLAGS -m64 -march=x86-64-v3 " +python3 -m build --wheel --skip-dependency-check --no-isolation + +popd %install export MAKEFLAGS=%{?_smp_mflags} @@ -89,9 +101,18 @@ pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl echo ----[ mark ]---- cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || : echo ----[ mark ]---- +pushd ../buildavx2/ +export CFLAGS="$CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +export CXXFLAGS="$CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +export FFLAGS="$FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +export FCFLAGS="$FCFLAGS -m64 -march=x86-64-v3 " +export LDFLAGS="$LDFLAGS -m64 -march=x86-64-v3 " +pip install --root=%{buildroot}-v3 --no-deps --ignore-installed dist/*.whl +popd ## Remove excluded files rm -f %{buildroot}*/usr/lib/python3.*/site-packages/jaraco/__init__.py rm -f %{buildroot}*/usr/lib/python3.*/site-packages/jaraco/__pycache__/__init__.* +/usr/bin/elf-move.py avx2 %{buildroot}-v3 %{buildroot}/usr/share/clear/optimized-elf/ %{buildroot}/usr/share/clear/filemap/filemap-%{name} %files %defattr(-,root,root,-) diff --git a/release b/release index 4099407..a45fd52 100644 --- a/release +++ b/release @@ -1 +1 @@ -23 +24