[packages/PackageKit] - use patch -P and upstream meson macros
baggins
baggins at pld-linux.org
Wed Feb 5 10:48:06 CET 2025
commit c7c341c1a5de0fadde645653b9abc1c73f985900
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Feb 5 10:41:06 2025 +0100
- use patch -P and upstream meson macros
PackageKit.spec | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/PackageKit.spec b/PackageKit.spec
index 4d281e4..459f9b9 100644
--- a/PackageKit.spec
+++ b/PackageKit.spec
@@ -406,9 +406,9 @@ Wiązania PackageKit dla Pythona.
%prep
%setup -q
-%patch0 -p1
-%patch2 -p1
-%patch3 -p1
+%patch -P 0 -p1
+%patch -P 2 -p1
+%patch -P 3 -p1
%{__sed} -i -e '1s,/usr/bin/python$,%{__python3},' backends/pisi/pisiBackend.py
@@ -417,7 +417,7 @@ Wiązania PackageKit dla Pythona.
%endif
%build
-%meson build \
+%meson \
--python.bytecompile=2 \
-Dbash_command_not_found=false \
%{!?with_introspection:-Dgobject_introspection=false} \
@@ -430,13 +430,13 @@ Wiązania PackageKit dla Pythona.
# -Ddnf_vendor=
# -Dpackagekit_user=
-%ninja_build -C build
+%meson_build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/var/cache/PackageKit/downloads
-%ninja_install -C build
+%meson_install
%{__rm} $RPM_BUILD_ROOT%{_libdir}/packagekit-backend/libpk_backend_test_*.so
%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/PackageKit/helpers/test_spawn
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/PackageKit.git/commitdiff/c7c341c1a5de0fadde645653b9abc1c73f985900
More information about the pld-cvs-commit
mailing list