[packages/crossmingw32-pango] - rpm.org+meson combo require to redefine all dirs; disable debug packages

qboosh qboosh at pld-linux.org
Sun Mar 14 22:31:25 CET 2021


commit f5e59fe05417d0d72ef5e99cb896e81fdb32885a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Mar 14 22:32:30 2021 +0100

    - rpm.org+meson combo require to redefine all dirs; disable debug packages

 crossmingw32-pango.spec | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/crossmingw32-pango.spec b/crossmingw32-pango.spec
index b0b1e43..5d32499 100644
--- a/crossmingw32-pango.spec
+++ b/crossmingw32-pango.spec
@@ -45,6 +45,14 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define		_libdir			%{_prefix}/lib
 %define		_pkgconfigdir		%{_prefix}/lib/pkgconfig
 %define		_dlldir			/usr/share/wine/windows/system
+# rpm.org needs redefining these (redefining _prefix don't change them)
+%define		_bindir			%{_prefix}/bin
+%define		_sbindir		%{_prefix}/sbin
+%define		_includedir		%{_prefix}/include
+%define		_libexecdir		%{_prefix}/libexec
+%define		_datadir		%{_prefix}/share
+%define		_infodir		%{_datadir}/info
+%define		_mandir			%{_datadir}/man
 %define		__pkgconfig_provides	%{nil}
 %define		__pkgconfig_requires	%{nil}
 # for meson 0.50+, keep __cc/__cxx as host compiler and pass %{target}-* in meson-cross.txt
@@ -57,6 +65,7 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 # -z options are invalid for mingw linker, most of -f options are Linux-specific
 %define		filterout_ld	-Wl,-z,.*
 %define		filterout_c	-f[-a-z0-9=]*
+%define		_enable_debug_packages	0
 
 %description
 System for layout and rendering of internationalized text (cross
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-pango.git/commitdiff/f5e59fe05417d0d72ef5e99cb896e81fdb32885a



More information about the pld-cvs-commit mailing list