[packages/crossmingw64-headers] - use arch*dir macros

qboosh qboosh at pld-linux.org
Sun Jul 29 16:34:41 CEST 2018


commit 99fb667cb56514ea617ef859e885713c84c97faf
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jul 29 16:36:44 2018 +0200

    - use arch*dir macros

 crossmingw64-headers.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/crossmingw64-headers.spec b/crossmingw64-headers.spec
index 9d72444..1fb7019 100644
--- a/crossmingw64-headers.spec
+++ b/crossmingw64-headers.spec
@@ -19,7 +19,8 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define		_enable_debug_packages	0
 
 %define		target		x86_64-w64-mingw32
-%define		arch		%{_prefix}/%{target}
+%define		archprefix	%{_prefix}/%{target}
+%define		archincludedir	%{archprefix}/include
 
 %description
 crossmingw64 is a complete cross-compiling development system for
@@ -74,4 +75,4 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog ChangeLog.direct-x-headers ChangeLog.headers
-%{arch}/include
+%{archincludedir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crossmingw64-headers.git/commitdiff/99fb667cb56514ea617ef859e885713c84c97faf



More information about the pld-cvs-commit mailing list