[packages/zlib-ng] Up to 2.2.4

arekm arekm at pld-linux.org
Thu Feb 27 13:46:20 CET 2025


commit cbe816a8ff0edb83473e82d27b94e20f1306f737
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Feb 27 12:55:51 2025 +0100

    Up to 2.2.4

 zlib-ng.spec | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/zlib-ng.spec b/zlib-ng.spec
index 34b0046..e52cf0d 100644
--- a/zlib-ng.spec
+++ b/zlib-ng.spec
@@ -1,13 +1,14 @@
+%bcond_with	tests
 Summary:	zlib data compression library for the next generation systems
 Summary(pl.UTF-8):	Biblioteka kompresji danych zlib dla systemów nowej generacji
 Name:		zlib-ng
-Version:	2.2.2
+Version:	2.2.4
 Release:	1
 License:	Zlib
 Group:		Libraries
 #Source0Download: https://github.com/zlib-ng/zlib-ng/releases
 Source0:	https://github.com/zlib-ng/zlib-ng/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	6683283a13f84d5b4e0af3b5fe7c160d
+# Source0-md5:	19bc00d414477868f4572971156e5a5a
 URL:		https://github.com/zlib-ng/zlib-ng
 BuildRequires:	cmake >= 3.5.1
 BuildRequires:	gcc >= 6:4.7
@@ -41,10 +42,15 @@ cd build
 # no ZLIB_COMPAT to get z-ng names
 %cmake .. \
 	-DCMAKE_INSTALL_INCLUDEDIR=include/zlib-ng \
-	-DCMAKE_INSTALL_LIBDIR=%{_lib}
+	-DCMAKE_INSTALL_LIBDIR=%{_lib} \
+	%{cmake_on_off tests WITH_GTEST}
 
 %{__make}
 
+%if %{with tests}
+ctest --verbose
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/zlib-ng.git/commitdiff/cbe816a8ff0edb83473e82d27b94e20f1306f737



More information about the pld-cvs-commit mailing list