#21 Override %python_provide from RHEL7's python2-devel macros.python
Closed 14 days ago by churchyard. Opened 3 months ago by orion.
rpms/ orion/python-rpm-macros override  into  epel7

file modified
+10 -3

@@ -1,6 +1,6 @@ 

  Name:           python-rpm-macros

  Version:        3

- Release:        24%{?dist}

+ Release:        25%{?dist}

  Summary:        The unversioned Python RPM macros

  

  License:        MIT

@@ -47,12 +47,16 @@ 

  

  %install

  mkdir -p %{buildroot}/%{rpmmacrodir}

- install -m 644 %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} \

+ install -m 644 %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} \

    %{buildroot}/%{rpmmacrodir}/

+ # Override %%python_provide from RHEL7 python2-devel's macros.python

+ mkdir -p %{buildroot}/%{_sysconfdir}/rpm

+ install -m 644 %{SOURCE0} \

+   %{buildroot}/%{_sysconfdir}/rpm/macros.zzz-epel-python

  

  

  %files

- %{rpmmacrodir}/macros.python

+ %{_sysconfdir}/rpm/macros.zzz-epel-python

  %{rpmmacrodir}/macros.pybytecompile

  

  %files -n python-srpm-macros

@@ -67,6 +71,9 @@ 

  

  

  %changelog

+ * Sat May 11 2019 Orion Poplawski <orion@nwra.com> - 3-25

+ - Override %%python_provide from RHEL7's python2-devel macros.python

+ 

  * Thu Apr 25 2019 Miro Hrončok <mhroncok@redhat.com> - 3-24

  - %%python_provide: Obsolete and provide python36- from python3-

  - %%python_provide: Provide python3- from python36-

How about using this to override the current RHEL7 definition?

Is it worth it? The plan is to have this in next RHEL 7 release.

Well, I don't know when that will be :). I just was about to build a new version of python36-sphinx-theme-alabaster to hopefully satisfy a dep on python3-sphinx-theme-alabaster and noticed this wasn't active yet. But I could wait a little bit more...

Let me know how long do you think this can wait. I'll try to make the decision based on that.

Pull-Request has been closed by churchyard

14 days ago