|
2 | 2 | # This file is auto-generated. DO NOT EDIT
|
3 | 3 | # Generated by: autospec.py
|
4 | 4 | # Using build pattern: pyproject
|
| 5 | +# autospec version: v7 |
| 6 | +# autospec commit: f56f1fa |
5 | 7 | #
|
6 | 8 | Name : pypi-inflect
|
7 |
| -Version : 7.0.0 |
8 |
| -Release : 26 |
9 |
| -URL : https://files.pythonhosted.org/packages/9f/90/1d0a889847fdce963ebe9684de24a749e4fad627bf595e9f0d32730f85a8/inflect-7.0.0.tar.gz |
10 |
| -Source0 : https://files.pythonhosted.org/packages/9f/90/1d0a889847fdce963ebe9684de24a749e4fad627bf595e9f0d32730f85a8/inflect-7.0.0.tar.gz |
| 9 | +Version : 7.2.0 |
| 10 | +Release : 27 |
| 11 | +URL : https://files.pythonhosted.org/packages/5e/82/6f2dac9cc13c9521edbc54ff4154b298c493c7e3b3fa3c7da6b8f57132fb/inflect-7.2.0.tar.gz |
| 12 | +Source0 : https://files.pythonhosted.org/packages/5e/82/6f2dac9cc13c9521edbc54ff4154b298c493c7e3b3fa3c7da6b8f57132fb/inflect-7.2.0.tar.gz |
11 | 13 | Summary : Correctly generate plurals, singular nouns, ordinals, indefinite articles; convert numbers to words
|
12 | 14 | Group : Development/Tools
|
13 | 15 | License : MIT
|
@@ -52,62 +54,83 @@ Summary: python3 components for the pypi-inflect package.
|
52 | 54 | Group: Default
|
53 | 55 | Requires: python3-core
|
54 | 56 | Provides: pypi(inflect)
|
55 |
| -Requires: pypi(pydantic) |
| 57 | +Requires: pypi(more_itertools) |
| 58 | +Requires: pypi(typeguard) |
56 | 59 | Requires: pypi(typing_extensions)
|
57 | 60 |
|
58 | 61 | %description python3
|
59 | 62 | python3 components for the pypi-inflect package.
|
60 | 63 |
|
61 | 64 |
|
62 | 65 | %prep
|
63 |
| -%setup -q -n inflect-7.0.0 |
64 |
| -cd %{_builddir}/inflect-7.0.0 |
| 66 | +%setup -q -n inflect-7.2.0 |
| 67 | +cd %{_builddir}/inflect-7.2.0 |
65 | 68 | pushd ..
|
66 |
| -cp -a inflect-7.0.0 buildavx2 |
| 69 | +cp -a inflect-7.2.0 buildavx2 |
67 | 70 | popd
|
68 | 71 |
|
69 | 72 | %build
|
70 | 73 | export http_proxy=http://127.0.0.1:9/
|
71 | 74 | export https_proxy=http://127.0.0.1:9/
|
72 | 75 | export no_proxy=localhost,127.0.0.1,0.0.0.0
|
73 | 76 | export LANG=C.UTF-8
|
74 |
| -export SOURCE_DATE_EPOCH=1688571673 |
| 77 | +export SOURCE_DATE_EPOCH=1712001075 |
75 | 78 | export GCC_IGNORE_WERROR=1
|
76 | 79 | export AR=gcc-ar
|
77 | 80 | export RANLIB=gcc-ranlib
|
78 | 81 | export NM=gcc-nm
|
79 |
| -export CFLAGS="$CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " |
80 |
| -export FCFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " |
81 |
| -export FFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " |
82 |
| -export CXXFLAGS="$CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " |
| 82 | +CLEAR_INTERMEDIATE_CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " |
| 83 | +CLEAR_INTERMEDIATE_FCFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " |
| 84 | +CLEAR_INTERMEDIATE_FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " |
| 85 | +CLEAR_INTERMEDIATE_CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " |
| 86 | +CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS" |
| 87 | +CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS" |
| 88 | +FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS" |
| 89 | +FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS" |
| 90 | +ASFLAGS="$CLEAR_INTERMEDIATE_ASFLAGS" |
| 91 | +LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS" |
83 | 92 | export MAKEFLAGS=%{?_smp_mflags}
|
84 | 93 | python3 -m build --wheel --skip-dependency-check --no-isolation
|
85 | 94 | pushd ../buildavx2/
|
86 |
| -export CFLAGS="$CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " |
87 |
| -export CXXFLAGS="$CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " |
88 |
| -export FFLAGS="$FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " |
89 |
| -export FCFLAGS="$FCFLAGS -m64 -march=x86-64-v3 " |
90 |
| -export LDFLAGS="$LDFLAGS -m64 -march=x86-64-v3 " |
| 95 | +CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 " |
| 96 | +CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 " |
| 97 | +FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 " |
| 98 | +FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -march=x86-64-v3 " |
| 99 | +LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -march=x86-64-v3 " |
91 | 100 | python3 -m build --wheel --skip-dependency-check --no-isolation
|
92 | 101 |
|
93 | 102 | popd
|
94 | 103 |
|
95 | 104 | %install
|
| 105 | +export GCC_IGNORE_WERROR=1 |
| 106 | +export AR=gcc-ar |
| 107 | +export RANLIB=gcc-ranlib |
| 108 | +export NM=gcc-nm |
| 109 | +CLEAR_INTERMEDIATE_CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " |
| 110 | +CLEAR_INTERMEDIATE_FCFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " |
| 111 | +CLEAR_INTERMEDIATE_FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " |
| 112 | +CLEAR_INTERMEDIATE_CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " |
| 113 | +CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS" |
| 114 | +CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS" |
| 115 | +FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS" |
| 116 | +FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS" |
| 117 | +ASFLAGS="$CLEAR_INTERMEDIATE_ASFLAGS" |
| 118 | +LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS" |
96 | 119 | export MAKEFLAGS=%{?_smp_mflags}
|
97 | 120 | rm -rf %{buildroot}
|
98 | 121 | mkdir -p %{buildroot}/usr/share/package-licenses/pypi-inflect
|
99 | 122 | cp %{_builddir}/inflect-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-inflect/0445ed0f69910eeaee036f09a39a13c6e1f37e12 || :
|
100 |
| -pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl |
| 123 | +python3 -m installer --destdir=%{buildroot} dist/*.whl |
101 | 124 | echo ----[ mark ]----
|
102 | 125 | cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
|
103 | 126 | echo ----[ mark ]----
|
104 | 127 | pushd ../buildavx2/
|
105 |
| -export CFLAGS="$CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " |
106 |
| -export CXXFLAGS="$CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " |
107 |
| -export FFLAGS="$FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " |
108 |
| -export FCFLAGS="$FCFLAGS -m64 -march=x86-64-v3 " |
109 |
| -export LDFLAGS="$LDFLAGS -m64 -march=x86-64-v3 " |
110 |
| -pip install --root=%{buildroot}-v3 --no-deps --ignore-installed dist/*.whl |
| 128 | +CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 " |
| 129 | +CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 " |
| 130 | +FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 " |
| 131 | +FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -march=x86-64-v3 " |
| 132 | +LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -march=x86-64-v3 " |
| 133 | +python3 -m installer --destdir=%{buildroot}-v3 dist/*.whl |
111 | 134 | popd
|
112 | 135 | /usr/bin/elf-move.py avx2 %{buildroot}-v3 %{buildroot} %{buildroot}/usr/share/clear/filemap/filemap-%{name}
|
113 | 136 |
|
|
0 commit comments