Hello community,

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

Package is "mingw64-filesystem"

Wed Nov 11 20:47:50 2020 rev:8 rq:847688 version:20201105

Changes:
--------
--- /work/SRC/openSUSE:Factory/mingw64-filesystem/mingw64-filesystem.changes    
2020-10-20 16:21:21.350320776 +0200
+++ 
/work/SRC/openSUSE:Factory/.mingw64-filesystem.new.26437/mingw64-filesystem.changes
 2020-11-11 20:48:00.431737985 +0100
@@ -1,0 +2,14 @@
+Thu Nov  5 10:38:47 UTC 2020 - Ralf Habacker <ralf.habac...@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.habac...@freenet.de>
+
+- Add macro _mingw64_gdb and command line wrapper /usr/bin/mingw64-gdb
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ mingw64-filesystem.spec ++++++
--- /var/tmp/diff_new_pack.lU5Oaq/_old  2020-11-11 20:48:01.735739210 +0100
+++ /var/tmp/diff_new_pack.lU5Oaq/_new  2020-11-11 20:48:01.739739213 +0100
@@ -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}%{_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

++++++ macros.mingw64 ++++++
--- /var/tmp/diff_new_pack.lU5Oaq/_old  2020-11-11 20:48:01.855739322 +0100
+++ /var/tmp/diff_new_pack.lU5Oaq/_new  2020-11-11 20:48:01.855739322 +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 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 @@
 
 # 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
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to