[packages/zlib-ng] - updated to use more readable __ON_OFF macro
qboosh
qboosh at pld-linux.org
Mon Aug 11 21:03:55 CEST 2025
commit 03eab967cb4f5977d034d5d5cf06d6980002b9dd
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Aug 11 21:06:18 2025 +0200
- updated to use more readable __ON_OFF macro
zlib-ng.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/zlib-ng.spec b/zlib-ng.spec
index 78fe167..93e3bd8 100644
--- a/zlib-ng.spec
+++ b/zlib-ng.spec
@@ -15,7 +15,7 @@ Source0: https://github.com/zlib-ng/zlib-ng/archive/%{version}/%{name}-%{version
URL: https://github.com/zlib-ng/zlib-ng
BuildRequires: cmake >= 3.5.1
BuildRequires: gcc >= 6:4.7
-BuildRequires: rpmbuild(macros) >= 1.742
+BuildRequires: rpmbuild(macros) >= 2.047
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -46,7 +46,7 @@ cd build
%cmake .. \
-DCMAKE_INSTALL_INCLUDEDIR=include/zlib-ng \
-DCMAKE_INSTALL_LIBDIR=%{_lib} \
- %{cmake_on_off tests WITH_GTEST}
+ -DWITH_GTEST=%{__ON_OFF tests}
%{__make}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/zlib-ng.git/commitdiff/03eab967cb4f5977d034d5d5cf06d6980002b9dd
More information about the pld-cvs-commit
mailing list