Hello community,

here is the log from the commit of package mingw32-filesystem for 
openSUSE:Factory checked in at 2020-11-11 20:47:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mingw32-filesystem (Old)
 and      /work/SRC/openSUSE:Factory/.mingw32-filesystem.new.26437 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mingw32-filesystem"

Wed Nov 11 20:47:47 2020 rev:7 rq:847689 version:20201105

Changes:
--------
--- /work/SRC/openSUSE:Factory/mingw32-filesystem/mingw32-filesystem.changes    
2020-10-20 16:21:16.306318388 +0200
+++ 
/work/SRC/openSUSE:Factory/.mingw32-filesystem.new.26437/mingw32-filesystem.changes
 2020-11-11 20:47:58.787736442 +0100
@@ -1,0 +2,9 @@
+Thu Nov  5 10:38:47 UTC 2020 - Ralf Habacker <[email protected]>
+
+- Update to 20201105
+- Add macro _mingw32_create_macro_links
+- Add macro _mingw32_gdb and command line wrapper /usr/bin/mingw32-gdb
+- In mingw32-scripts support rpm macro processing according to
+  https://rpm.org/user_doc/macros.htm
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mingw32-filesystem.spec ++++++
--- /var/tmp/diff_new_pack.k8yZUW/_old  2020-11-11 20:47:59.595737200 +0100
+++ /var/tmp/diff_new_pack.k8yZUW/_new  2020-11-11 20:47:59.595737200 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mingw32-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:           mingw32-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.mingw32
 Source2:        mingw32.sh
@@ -82,9 +82,11 @@
 mkdir -p %{buildroot}%{_libexecdir}
 install -m 755 %{SOURCE6} %{buildroot}%{_libexecdir}/mingw32-scripts
 
+# this is already provided by _mingw32_create_macro_links
+# but including macros.mingw32 results into an unknown failure
 mkdir -p %{buildroot}%{_bindir}
 pushd %{buildroot}%{_bindir}
-for i in mingw32-configure mingw32-make mingw32-cmake ; do
+for i in mingw32-configure mingw32-make mingw32-cmake mingw32-gdb; do
   ln -s %{_libexecdir}/mingw32-scripts $i
 done
 popd

++++++ macros.mingw32 ++++++
--- /var/tmp/diff_new_pack.k8yZUW/_old  2020-11-11 20:47:59.691737290 +0100
+++ /var/tmp/diff_new_pack.k8yZUW/_new  2020-11-11 20:47:59.695737294 +0100
@@ -84,6 +84,23 @@
 %defattr(-,root,root)\
 %{nil}
 
+#
+# create shell wrapper for associated rpm macro
+#
+# The shell wrapper makes a macro defined in a mingw32 macro file
+# (e.g. /etc/rpm/macros.mingw32) accessible to a shell for example
+# the rpm macro '%_mingw32_gdb' is available on a shell as executable file
+# 'mingw32-gdb'
+#
+%_mingw32_create_macro_links() \
+  mkdir -p %{buildroot}%{_bindir}; \
+  pushd %{buildroot}%{_bindir}; \
+  for i in %*; do \
+    ln -s %{_libexecdir}/mingw32-scripts $i; \
+  done; \
+  popd \
+  %{nil}
+
 %_mingw32_env HOST_CC=gcc; export HOST_CC; \
   
PKG_CONFIG_PATH="%{_mingw32_libdir}/pkgconfig:%{_mingw32_datadir}/pkgconfig"; 
export PKG_CONFIG_PATH; \
   CLASSPATH="$CLASSPATH:${MINGW32_CLASSPATH:-%_mingw32_classpath}"; export 
CLASSPATH; \
@@ -185,3 +202,7 @@
 
 # deprecated, use _mingw32_make_install (unix variant is named %make_install)
 %_mingw32_makeinstall %_mingw32_make_install
+
+# requires installed packages wine and mingw32-gdb
+%_mingw32_gdb %{_mingw32_env} ; \
+  wineconsole %{_mingw32_bindir}/gdb.exe

++++++ mingw32-scripts.sh ++++++
--- /var/tmp/diff_new_pack.k8yZUW/_old  2020-11-11 20:47:59.811737403 +0100
+++ /var/tmp/diff_new_pack.k8yZUW/_new  2020-11-11 20:47:59.815737407 +0100
@@ -23,4 +23,4 @@
 # macros from mingw32-macros.mingw32 cross-compilation. 
 
 NAME="_`basename $0|tr -- - _`"
-eval "`rpm --eval "%{$NAME}"`" $(printf " %q" "${@}")
+eval "`rpm --eval "%${NAME} $(printf " %q" "${@}")"`
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/[email protected]

Reply via email to