From b737107420f8c4bc0346510ac2dd688f2fdd880b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Tue, 9 Nov 2021 23:10:34 +0100 Subject: [PATCH] - 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 d46290c..239e176 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 @@ -430,23 +430,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 @@ -666,8 +649,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} @@ -1074,10 +1055,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) -- 2.44.0