[packages/cpp-httplib] - not noarch, disable debug packages

qboosh qboosh at pld-linux.org
Thu May 30 10:42:14 CEST 2024


commit 48644c066c5c6edddbcac7872c5e24b96b20aa49
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu May 30 09:34:09 2024 +0200

    - not noarch, disable debug packages

 cpp-httplib.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/cpp-httplib.spec b/cpp-httplib.spec
index 4ee15fd..4d390d9 100644
--- a/cpp-httplib.spec
+++ b/cpp-httplib.spec
@@ -15,9 +15,11 @@ BuildRequires:	libstdc++-devel >= 6:4.7
 BuildRequires:	openssl-devel >= 3.0.0
 BuildRequires:	rpmbuild(macros) >= 1.605
 BuildRequires:	zlib-devel
-BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# header-only library, but cmake files location is arch-dependent
+%define		_enable_debug_packages	0
+
 %description
 A C++11 single-file header-only cross platform HTTP/HTTPS library.
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cpp-httplib.git/commitdiff/48644c066c5c6edddbcac7872c5e24b96b20aa49



More information about the pld-cvs-commit mailing list