[packages/glycin] set RUSTFLAGS for manually invoked cargo and reenable debugsource packages

atler atler at pld-linux.org
Mon Feb 3 19:32:44 CET 2025


commit 29557e0cdb6f60672923201005b5db4d1ce1fe85
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Feb 3 18:58:23 2025 +0100

    set RUSTFLAGS for manually invoked cargo and reenable debugsource packages

 glycin.spec | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/glycin.spec b/glycin.spec
index 864adcb..dd36bdb 100644
--- a/glycin.spec
+++ b/glycin.spec
@@ -30,8 +30,6 @@ Requires:	lcms2 >= 2.14
 Requires:	libseccomp >= 2.5.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_debugsource_packages	0
-
 %description
 Glycin allows to decode images into gdk::Textures and to extract image
 metadata. The decoding happens in sandboxed modular image loaders.
@@ -134,6 +132,7 @@ wczytujących działających w piaskownicy.
 %ifarch x32
 export PKG_CONFIG_ALLOW_CROSS=1
 %endif
+export RUSTFLAGS="%{rpmrustflags}"
 %meson build \
 	-Dintrospection=false \
 	-Dvapi=false
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/glycin.git/commitdiff/f634569643ae60c26cbe39a0413f6e90bae34fae



More information about the pld-cvs-commit mailing list