[packages/vlan] - disable stripping

qboosh qboosh at pld-linux.org
Sun Dec 3 10:30:09 CET 2023


commit bba47f3045524bfd270926643ed70816e30a9e74
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Dec 3 09:19:20 2023 +0100

    - disable stripping

 vlan.spec | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/vlan.spec b/vlan.spec
index f9144fd..961867c 100644
--- a/vlan.spec
+++ b/vlan.spec
@@ -19,8 +19,6 @@ Patch0:		%{name}-format-security.patch
 Obsoletes:	vconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_debugsource_packages	0
-
 %define		_sbindir	/sbin
 
 %description
@@ -39,7 +37,12 @@ install %{SOURCE1} .
 
 %build
 %{__make} clean
-%{__make} CC="%{__cc}" CCFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" CCC="%{__cc}"
+%{__make} \
+	CC="%{__cc}" \
+	CCC="%{__cc}" \
+	CCFLAGS="%{rpmcflags}" \
+	LDFLAGS="%{rpmldflags}" \
+	STRIP=:
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -55,4 +58,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README CHANGELOG vlan.html cisco_howto.html vlan_test.pl
 %attr(755,root,root) %{_sbindir}/vconfig
-%{_mandir}/man?/*
+%{_mandir}/man8/vconfig.8*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vlan.git/commitdiff/bba47f3045524bfd270926643ed70816e30a9e74



More information about the pld-cvs-commit mailing list