[packages/r8168] - use patch -P, rel 2

baggins baggins at pld-linux.org
Sun Feb 9 23:07:19 CET 2025


commit 9ab836284c785507df76eb11da12bb8b7de1dfe2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Feb 10 00:07:08 2025 +0100

    - use patch -P, rel 2

 r8168.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/r8168.spec b/r8168.spec
index 6816c01..9b944db 100644
--- a/r8168.spec
+++ b/r8168.spec
@@ -4,7 +4,7 @@
 # nothing to be placed to debuginfo package
 %define		_enable_debug_packages	0
 
-%define		rel	1
+%define		rel	2
 %define		pname	r8168
 Summary:	Linux driver for RTL8111/8168B PCI Express Gigabit Ethernet controllers
 Summary(pl.UTF-8):	Linuksowy sterownik dla kart sieciowych RTL8111/8168B PCI Express Gigabit Ethernet
@@ -65,13 +65,14 @@ Express Gigabit Ethernet.\
 %define build_kernel_pkg()\
 %build_kernel_modules -m r8168 -C src KERNELRELEASE=%{_kernel_ver}\
 %install_kernel_modules -D installed -m src/r8168 -d kernel/drivers/net\
+rm -rf $RPM_BUILD_ROOT
 %{nil}
 
 %{expand:%create_kernel_packages}
 
 %prep
 %setup -q -n %{pname}-%{version}
-%patch0 -p1
+%patch -P 0 -p1
 
 %build
 %{expand:%build_kernel_packages}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/r8168.git/commitdiff/9ab836284c785507df76eb11da12bb8b7de1dfe2



More information about the pld-cvs-commit mailing list