From 421c517eafe1ece07e0bc761193db6949702b308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Tue, 29 Sep 2020 23:58:21 +0100 Subject: [PATCH] Use make macros (https://src.fedoraproject.org/rpms/usb_modeswitch/pull-request/1) https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- usb_modeswitch.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/usb_modeswitch.spec b/usb_modeswitch.spec index 12ac4fe..26dcf92 100644 --- a/usb_modeswitch.spec +++ b/usb_modeswitch.spec @@ -2,7 +2,7 @@ Name: usb_modeswitch Version: 2.6.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: USB Modeswitch gets mobile broadband cards in operational mode Summary(de): USB Modeswitch aktiviert UMTS-Karten License: GPLv2+ @@ -47,13 +47,12 @@ cp -f %{SOURCE1} device_reference.txt %build %{set_build_flags} -make %{?_smp_mflags} +%make_build %install mkdir -p $RPM_BUILD_ROOT%{_unitdir} -make install \ - DESTDIR=$RPM_BUILD_ROOT \ +%make_install \ SYSDIR=$RPM_BUILD_ROOT%{_unitdir} \ UDEVDIR=$RPM_BUILD_ROOT%{_prefix}/lib/udev @@ -70,6 +69,10 @@ make install \ %changelog +* Tue Sep 29 2020 Sérgio Basto - 2.6.0-3 +- Use make macros (https://src.fedoraproject.org/rpms/usb_modeswitch/pull-request/1) +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Wed Jul 29 2020 Fedora Release Engineering - 2.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild