More generic mingw_pkg_name macros to also deduce mingw package name from native name
This commit is contained in:
parent
c212a7bc7d
commit
03aa020c11
@ -1,6 +1,6 @@
|
||||
# RPM macros for Fedora MinGW.
|
||||
|
||||
%mingw32_pkg_name %(echo %{name} | sed 's/^mingw-/mingw32-/')
|
||||
%mingw32_pkg_name %(echo %{name} | sed -E 's/^(mingw-|)/mingw32-/')
|
||||
%mingw32_target i686-w64-mingw32
|
||||
|
||||
# Paths.
|
||||
|
@ -1,6 +1,6 @@
|
||||
# RPM macros for Fedora MinGW.
|
||||
|
||||
%mingw64_pkg_name %(echo %{name} | sed 's/^mingw-/mingw64-/')
|
||||
%mingw64_pkg_name %(echo %{name} | sed -E 's/^(mingw-|)/mingw64-/')
|
||||
%mingw64_target x86_64-w64-mingw32
|
||||
|
||||
# Paths.
|
||||
|
@ -6,7 +6,7 @@
|
||||
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
||||
|
||||
Name: mingw-filesystem
|
||||
Version: 130
|
||||
Version: 131
|
||||
Release: 1%{?dist}
|
||||
Summary: MinGW cross compiler base filesystem and environment
|
||||
|
||||
@ -358,6 +358,9 @@ echo ".so man1/pkgconf.1" > %{buildroot}%{_mandir}/man1/x86_64-w64-mingw32-pkg-c
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Feb 10 2022 Sandro Mani <manisandro@gmail.com> - 131-1
|
||||
- More generic mingw_pkg_name macros to also deduce mingw package name from native name
|
||||
|
||||
* Wed Feb 02 2022 Sandro Mani <manisandro@gmail.com> - 130-1
|
||||
- Drop evaling $@ in mingw-scripts, ensure mingw macros invoked by mingw-scripts contain $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user