[packages/rpm/dev-4.17.0] - rpm python dependency configs and generators had been split to a separate package

baggins baggins at pld-linux.org
Tue Nov 9 23:11:35 CET 2021


commit 5be4eb3ca7ac69a604e32c4f48e588b75788c00e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Nov 9 23:10:34 2021 +0100

    - rpm python dependency configs and generators had been split to a separate package

 rpm.spec | 25 +------------------------
 1 file changed, 1 insertion(+), 24 deletions(-)
---
diff --git a/rpm.spec b/rpm.spec
index f9991ad..c4f6603 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -119,7 +119,7 @@ BuildRequires:	popt-devel >= %{popt_ver}
 BuildRequires:	python3-modules >= 1:3.2
 %if %{with python3}
 BuildRequires:	python3-devel >= 1:3.2
-BuildRequires:	rpm-pythonprov
+BuildRequires:	python-rpm-packaging
 BuildRequires:	rpmbuild(macros) >= 1.750
 %endif
 BuildRequires:	rpm-build >= 4.6
@@ -429,23 +429,6 @@ Zusatzwerkzeuge fürs Nachsehen Perl-Abhängigkeiten in RPM-Paketen.
 Dodatkowe narzędzia do sprawdzenia zależności skryptów Perla w
 pakietach RPM.
 
-%package pythonprov
-Summary:	Python macros, which simplifies creation of RPM packages with Python software
-Summary(pl.UTF-8):	Makra ułatwiające tworzenie pakietów RPM z programami napisanymi w Pythonie
-Group:		Applications/File
-Requires:	%{name} = %{epoch}:%{version}-%{release}
-Requires:	python3
-Requires:	python3-modules
-Requires:	python3-setuptools
-
-%description pythonprov
-Python macros, which simplifies creation of RPM packages with Python
-software.
-
-%description pythonprov -l pl.UTF-8
-Makra ułatwiające tworzenie pakietów RPM z programami napisanymi w
-Pythonie.
-
 %package -n python3-rpm
 Summary:	Python 3 interface to RPM library
 Summary(pl.UTF-8):	Interfejs Pythona 3 do biblioteki RPM-a
@@ -665,8 +648,6 @@ install %{SOURCE15} scripts/perl.prov.in
 # generate Group translations to *.po
 awk -f %{SOURCE6} %{SOURCE5}
 
-#%{__sed} -i -e '1s,/usr/bin/python,%{__python3},' scripts/pythondistdeps.py
-
 %build
 %{__libtoolize}
 %{__aclocal}
@@ -1075,10 +1056,6 @@ find %{_rpmlibdir} -name '*-linux' -type l | xargs rm -f
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_rpmlibdir}/perl.*
 
-%files pythonprov
-%defattr(644,root,root,755)
-#%attr(755,root,root) %{_rpmlibdir}/pythondistdeps.py
-
 %if %{with python3}
 %files -n python3-rpm
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/5be4eb3ca7ac69a604e32c4f48e588b75788c00e



More information about the pld-cvs-commit mailing list