Require python-srpm-macros with Python related BuildRoot Policy scripts

This commit is contained in:
Miro Hrončok 2021-07-01 15:18:48 +02:00
parent 74e11b4fa8
commit cfdc80c51a
2 changed files with 7 additions and 5 deletions

2
macros
View File

@ -269,7 +269,7 @@ print(result)
%{?__brp_strip_static_archive} \ %{?__brp_strip_static_archive} \
%{?__brp_check_rpaths} \ %{?__brp_check_rpaths} \
%{?__brp_mangle_shebangs} \ %{?__brp_mangle_shebangs} \
%{?__os_install_post_python} \ %{__os_install_post_python} \
%{nil} %{nil}
%__spec_install_post\ %__spec_install_post\

View File

@ -6,7 +6,7 @@
Summary: Red Hat specific rpm configuration files Summary: Red Hat specific rpm configuration files
Name: redhat-rpm-config Name: redhat-rpm-config
Version: 190 Version: 191
Release: 1%{?dist} Release: 1%{?dist}
# No version specified. # No version specified.
License: GPL+ License: GPL+
@ -102,9 +102,8 @@ Requires: nim-srpm-macros
Requires: ocaml-srpm-macros Requires: ocaml-srpm-macros
Requires: openblas-srpm-macros Requires: openblas-srpm-macros
Requires: perl-srpm-macros Requires: perl-srpm-macros
# ↓ Provides compileall2 Python module # ↓ Has Python BRPs originaly present in redhat-rpm-config
# TODO: require >= 3.10-6 in the next iteration to ensure Python BRPs are always present Requires: python-srpm-macros >= 3.10-6
Requires: python-srpm-macros >= 3-46
Requires: qt5-srpm-macros Requires: qt5-srpm-macros
Requires: rust-srpm-macros Requires: rust-srpm-macros
Requires: rpmautospec-rpm-macros Requires: rpmautospec-rpm-macros
@ -214,6 +213,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua
%{_rpmconfigdir}/macros.d/macros.kmp %{_rpmconfigdir}/macros.d/macros.kmp
%changelog %changelog
* Thu Jul 01 2021 Miro Hrončok <mhroncok@redhat.com> - 191-1
- Require python-srpm-macros with Python related BuildRoot Policy scripts
* Wed Jun 30 2021 Miro Hrončok <mhroncok@redhat.com> - 190-1 * Wed Jun 30 2021 Miro Hrončok <mhroncok@redhat.com> - 190-1
- Move Python related BuildRoot Policy scripts from redhat-rpm-config to python-srpm-macros - Move Python related BuildRoot Policy scripts from redhat-rpm-config to python-srpm-macros