Accepting request 847606 from windows:mingw:win64:snapshots
- Update to 20201105 - Add macro _mingw64_create_macro_links - Add macro _mingw64_gdb and command line wrapper /usr/bin/mingw64-gdb - In mingw64-scripts support rpm macro processing to https://rpm.org/user_doc/macros.htm - Add macro _mingw64_gdb and command line wrapper /usr/bin/mingw64-gdb OBS-URL: https://build.opensuse.org/request/show/847606 OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=123
This commit is contained in:
parent
565e129525
commit
2fee8d5632
@ -84,6 +84,23 @@ package or when debugging this package.\
|
||||
%defattr(-,root,root)\
|
||||
%{nil}
|
||||
|
||||
#
|
||||
# create shell wrapper for associated rpm macro
|
||||
#
|
||||
# The shell wrapper makes a macro defined in a mingw64 macro file
|
||||
# (e.g. /etc/rpm/macros.mingw64) accessible to a shell for example
|
||||
# the rpm macro '%_mingw64_gdb' is available on a shell as executable file
|
||||
# 'mingw64-gdb'
|
||||
#
|
||||
%_mingw64_create_macro_links() \
|
||||
mkdir -p %{buildroot}%{_bindir}; \
|
||||
pushd %{buildroot}%{_bindir}; \
|
||||
for i in %*; do \
|
||||
ln -s %{_libexecdir}/mingw64-scripts $i; \
|
||||
done; \
|
||||
popd \
|
||||
%{nil}
|
||||
|
||||
%_mingw64_env HOST_CC=gcc; export HOST_CC; \
|
||||
PKG_CONFIG_PATH="%{_mingw64_libdir}/pkgconfig:%{_mingw64_datadir}/pkgconfig"; export PKG_CONFIG_PATH; \
|
||||
CLASSPATH="$CLASSPATH:${MINGW64_CLASSPATH:-%_mingw64_classpath}"; export CLASSPATH; \
|
||||
@ -184,3 +201,7 @@ package or when debugging this package.\
|
||||
|
||||
# deprecated, use _mingw64_make_install (unix variant is named %make_install)
|
||||
%_mingw64_makeinstall %_mingw64_make_install
|
||||
|
||||
# requires installed packaged wine and mingw64-gdb
|
||||
%_mingw64_gdb %{_mingw64_env} ; \
|
||||
wineconsole %{_mingw64_bindir}/gdb.exe
|
||||
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 5 10:38:47 UTC 2020 - Ralf Habacker <ralf.habacker@freenet.de>
|
||||
|
||||
- Update to 20201105
|
||||
- Add macro _mingw64_create_macro_links
|
||||
- Add macro _mingw64_gdb and command line wrapper /usr/bin/mingw64-gdb
|
||||
- In mingw64-scripts support rpm macro processing to
|
||||
https://rpm.org/user_doc/macros.htm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 1 10:38:47 UTC 2020 - Ralf Habacker <ralf.habacker@freenet.de>
|
||||
|
||||
- Add macro _mingw64_gdb and command line wrapper /usr/bin/mingw64-gdb
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 17 14:32:20 UTC 2020 - Ralf Habacker <ralf.habacker@freenet.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package mingw64-filesystem
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,19 +12,19 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define debug_package %{nil}
|
||||
%define _rpmlibdir %{_prefix}/lib/rpm
|
||||
Name: mingw64-filesystem
|
||||
Version: 20201017
|
||||
Version: 20201105
|
||||
Release: 0
|
||||
Summary: MinGW base filesystem and environment
|
||||
License: GPL-2.0-or-later
|
||||
Group: Development/Libraries/Other
|
||||
Url: http://hg.et.redhat.com/misc/fedora-mingw--devel/
|
||||
URL: http://hg.et.redhat.com/misc/fedora-mingw--devel/
|
||||
Source0: COPYING
|
||||
Source1: macros.mingw64
|
||||
Source2: mingw64.sh
|
||||
@ -82,9 +82,11 @@ mkdir -p %{buildroot}%{_prefix}/lib
|
||||
mkdir -p %{buildroot}%{_libexecdir}
|
||||
install -m 755 %{SOURCE6} %{buildroot}%{_libexecdir}/mingw64-scripts
|
||||
|
||||
# this is already provided by _mingw64_create_macro_links
|
||||
# but including macros.mingw64 results into an unknown failure
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
pushd %{buildroot}%{_bindir}
|
||||
for i in mingw64-configure mingw64-make mingw64-cmake ; do
|
||||
for i in mingw64-configure mingw64-make mingw64-cmake mingw64-gdb ; do
|
||||
ln -s %{_libexecdir}/mingw64-scripts $i
|
||||
done
|
||||
popd
|
||||
|
Loading…
x
Reference in New Issue
Block a user