Miro Hrončok
fd837e515a
Remove EPEL 7 compatibility macros that were actually not defined at all
...
The %{? in the comment made the entire block of macros not work.
Since nobody actually used those on Fedora, because they did not exist,
we can safely remove them. No need to document this in the %changelog.
Related: rhbz#1950291
2021-05-05 17:18:41 +02:00
Miro Hrončok
a272f59825
Escape % symbols in macro files comments
...
This is most likely not neccessary but can prevent serious problems like:
https://bugzilla.redhat.com/show_bug.cgi?id=1953910
Related: rhbz#1950291
2021-05-05 17:18:32 +02:00
Miro Hrončok
093a0036db
Document a TESTED_FILES value that currently works
...
Related: rhbz#1950291
2021-04-22 18:30:37 +02:00
Miro Hrončok
779cbd6fa3
Tests: Assert single-line macros are single-line
...
Related: rhbz#1950291
2021-04-22 18:30:18 +02:00
Karolina Surma
20a3073f02
Use sysconfig.get_path() to define %python_sitelib and %python_sitearch
...
Distutils which were used to define the macros are deprecated in Python3.10:
https://www.python.org/dev/peps/pep-0632/ .
Sysconfig isn't and it works across our Pythons, making it better choice for the task.
Related: rhbz#1950291
2021-04-22 18:29:53 +02:00
Miro Hrončok
019f8b973d
Escape a macro in an old %changelog entry
...
Related: rhbz#1950291
2021-04-22 18:28:24 +02:00
Miro Hrončok
ca0a3311c5
Allow commas as argument separator for extras names in %python_extras_subpkg
...
This allows e.g.:
%global extras cli,ghostwriter,pytz,dateutil,lark,numpy,pandas,pytest,redis,zoneinfo,django
%{pyproject_extras_subpkg -n python3-hypothesis %{extras}}
...
%pyproject_buildrequires -x %{extras}
(Note that %pyproject_extras_subpkg is a tiny wrapper around %python_extras_subpkg.)
Related: rhbz#1950291
2021-04-22 18:28:04 +02:00
Lumir Balhar
9a79a6cef6
Make extras_subpkg description more general
...
Because extra subpackages actually might contain code.
See for example: https://src.fedoraproject.org/rpms/python-dns/pull-request/9
Related: rhbz#1950291
2021-04-22 18:25:59 +02:00
Miro Hrončok
f3df5e1d87
Update comment for python_altnames() to reflect the reality
...
Related: rhbz#1950291
2021-04-22 18:25:28 +02:00
Mohan Boddu
f9564fc7d5
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
...
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-16 04:44:32 +00:00
DistroBaker
6bf18de563
Merged update from upstream sources
...
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.
Source: https://src.fedoraproject.org/rpms/python-rpm-macros.git#a6382f5b5a6536d01477b71cf5a378c30c828783
2021-03-11 20:31:16 +00:00
DistroBaker
a1ceaecbcd
Merged update from upstream sources
...
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.
Source: https://src.fedoraproject.org/rpms/python-rpm-macros.git#626168789c73d62eb211ec72fe260a128e66df45
2021-02-18 16:40:19 +00:00
Troy Dawson
f73468722f
RHEL 9.0.0 Alpha bootstrap
...
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/python-rpm-macros#626168789c73d62eb211ec72fe260a128e66df45
2021-02-10 06:05:59 -08:00
DistroBaker
b18966f2a7
Merged update from upstream sources
...
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.
Source: https://src.fedoraproject.org/rpms/python-rpm-macros.git#230ce7f0613816bd7daf1f615bca443d6c5aa7d5
2021-02-08 11:37:59 +00:00
DistroBaker
0e23a801f0
Merged update from upstream sources
...
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.
Source: https://src.fedoraproject.org/rpms/python-rpm-macros.git#5b5cc39d89ceca9fba82f1c03cf06ea2f4e1f00b
2021-02-05 03:39:24 +01:00
DistroBaker
ede6a5b9bf
Merged update from upstream sources
...
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.
Source: https://src.fedoraproject.org/rpms/python-rpm-macros.git#e5429a7a486e470b514aed207457fb237d061598
2020-12-10 15:38:11 +00:00
Troy Dawson
365a69534a
RHEL 9.0.0 Alpha bootstrap
...
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/python-rpm-macros#06987f5024e2618f3169ca829462b71f7bbae463
2020-10-14 20:10:31 -07:00
Release Configuration Management
58fcc99e25
New branch setup
2020-10-08 23:33:09 +00:00