[packages/libblkio] - fixes for debuginfo and x32

qboosh qboosh at pld-linux.org
Wed Jun 21 22:21:18 CEST 2023


commit c243e7f9ba5e3b9aca34734e26e0af4437615c69
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Jun 21 22:15:55 2023 +0200

    - fixes for debuginfo and x32

 libblkio.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/libblkio.spec b/libblkio.spec
index f12e582..d9ee429 100644
--- a/libblkio.spec
+++ b/libblkio.spec
@@ -68,8 +68,10 @@ Dokumentacja API biblioteki libblkio.
 %setup -q -n %{name}-v%{version}-f64bb10aa28ba2d30d1803eeb54179ef0ee0ba80 -b1
 
 %{__sed} -i -e '/^args=/ a args+=( --offline -v )' src/cargo-build.sh
+%{__sed} -i -e 's/ -C debuginfo=. / %{rpmrustflags} /' src/cargo-build.sh
 %ifarch x32
 %{__sed} -i -e '/^args=/ a args+=( --target x86_64-unknown-linux-gnux32 )' src/cargo-build.sh
+%{__sed} -i -e 's,/\${profile}/,/x86_64-unknown-linux-gnux32/\${profile}/,' src/cargo-build.sh
 %endif
 
 # use offline registry
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libblkio.git/commitdiff/c243e7f9ba5e3b9aca34734e26e0af4437615c69



More information about the pld-cvs-commit mailing list