[packages/php-libvirt] ATTRIBUTE_UNUSED no longer used

arekm arekm at pld-linux.org
Mon Aug 25 20:22:23 CEST 2025


commit 78cc5a756717f709a0d5b89da6b256381e6b4e20
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Aug 25 20:22:19 2025 +0200

    ATTRIBUTE_UNUSED no longer used

 php-libvirt.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/php-libvirt.spec b/php-libvirt.spec
index 32d4724..f37e333 100644
--- a/php-libvirt.spec
+++ b/php-libvirt.spec
@@ -13,7 +13,7 @@ Summary:	PHP binding for libvirt
 Summary(pl.UTF-8):	Wiązanie PHP do libvirt
 Name:		%{php_name}-%{modname}
 Version:	0.5.8
-Release:	1
+Release:	2
 License:	LGPL v2.1
 Group:		Development/Languages/PHP
 Source0:	https://download.libvirt.org/php/libvirt-php-%{version}.tar.xz
@@ -63,6 +63,7 @@ Dokumentacja do wiązania php-libvirt.
 
 %build
 %configure \
+	CPPFLAGS="-DATTRIBUTE_UNUSED= %{rpmcppflags}" \
 	--disable-silent-rules \
 	--with-html-dir=%{_phpdocdir}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-libvirt.git/commitdiff/78cc5a756717f709a0d5b89da6b256381e6b4e20



More information about the pld-cvs-commit mailing list