Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mingw32-filesystem for 
openSUSE:Factory checked in at 2025-09-01 17:18:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mingw32-filesystem (Old)
 and      /work/SRC/openSUSE:Factory/.mingw32-filesystem.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mingw32-filesystem"

Mon Sep  1 17:18:50 2025 rev:37 rq:1302201 version:20250901

Changes:
--------
--- /work/SRC/openSUSE:Factory/mingw32-filesystem/mingw32-filesystem.changes    
2025-08-25 20:38:39.257488978 +0200
+++ 
/work/SRC/openSUSE:Factory/.mingw32-filesystem.new.1977/mingw32-filesystem.changes
  2025-09-01 17:19:37.458583656 +0200
@@ -1,0 +2,6 @@
+Mon Sep  1 09:19:16 UTC 2025 - Ralf Habacker <[email protected]>
+
+- Update to version 20250901
+- Add providing support for metainfo and desktop files
+
+-------------------------------------------------------------------

New:
----
  mingw32-desktop-file.prov
  mingw32-metainfo.prov
  mingw32_desktop.attr
  mingw32_metainfo.attr

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

Other differences:
------------------
++++++ mingw32-filesystem.spec ++++++
--- /var/tmp/diff_new_pack.YoVieP/_old  2025-09-01 17:19:38.254617359 +0200
+++ /var/tmp/diff_new_pack.YoVieP/_new  2025-09-01 17:19:38.258617528 +0200
@@ -31,7 +31,7 @@
 %define _rpmmacrodir %{_sysconfdir}/rpm
 %endif
 Name:           mingw32-filesystem
-Version:        20250822
+Version:        20250901
 Release:        0
 Summary:        MinGW base filesystem and environment
 License:        GPL-2.0-or-later
@@ -55,6 +55,10 @@
 Source19:       mingw32_config.attr
 Source20:       mingw32_libs.attr
 Source21:       mingw32_pkgconfig.attr
+Source22:       mingw32_desktop.attr
+Source23:       mingw32_metainfo.attr
+Source24:       mingw32-desktop-file.prov
+Source25:       mingw32-metainfo.prov
 # add excluded system libraries to mingw32-find-requires.sh
 # TODO: The following provides could be removed after all packages has been 
rebuild
 Provides:       mingw32(bcrypt.dll)
@@ -182,12 +186,17 @@
 install -m 0755 %{SOURCE5} %{buildroot}%{_rpmconfigdir}
 install -m 0755 %{SOURCE8} %{buildroot}%{_rpmconfigdir}
 install -m 0755 %{SOURCE9} %{buildroot}%{_rpmconfigdir}
+install -m 0755 %{SOURCE24} %{buildroot}%{_rpmconfigdir}
+install -m 0755 %{SOURCE25} %{buildroot}%{_rpmconfigdir}
+
 # dependency generator support
 mkdir -p %{buildroot}%{_fileattrsdir}
 install -m 0644 %{SOURCE17} %{buildroot}%{_fileattrsdir}
 install -m 0644 %{SOURCE19} %{buildroot}%{_fileattrsdir}
 install -m 0644 %{SOURCE20} %{buildroot}%{_fileattrsdir}
 install -m 0644 %{SOURCE21} %{buildroot}%{_fileattrsdir}
+install -m 0644 %{SOURCE22} %{buildroot}%{_fileattrsdir}
+install -m 0644 %{SOURCE23} %{buildroot}%{_fileattrsdir}
 
 # Create the locale directories:
 while read LANG ; do

++++++ mingw32-desktop-file.prov ++++++
#!/bin/sh
#
# Transform desktop mimetype info into RPM mimehandler(type) provides
#
# Author: Richard Hughes <[email protected]>
# Based on other provides scripts from RPM

OLD_IFS="$IFS"
while read instfile ; do
        case "$instfile" in
        *.desktop)
                if ! grep -q '^Type=Application$' "$instfile"; then continue; fi
                if ! grep -q '^Exec=' "$instfile"; then continue; fi
                echo "application()"
                echo "application(${instfile##*/applications/})"
                echo "mingw32(application)"
                echo "mingw32(application:${instfile##*/applications/})"
                mime=`grep '^MimeType=' "$instfile" | cut -d'=' -f2`
                IFS=';'
                for type in $mime ; do
                        echo 'mimehandler('$type')'
                        echo 'mingw32(mimehandler:'$type')'
                done
                ;;
        esac
done
IFS=$OLD_IFS


++++++ mingw32-metainfo.prov ++++++
#!/bin/sh
#
# Transform appdata/metainfo xml file into RPM metainfo(filename) provides
#
# Author: Michael Schroeder <[email protected]>
# Modified by Neal Gompa <[email protected]> to generate metainfo instead of 
appdata
# Based on other provides scripts from RPM

OLD_IFS="$IFS"
while read instfile ; do
        case "$instfile" in
        *.appdata.xml|*.metainfo.xml)
                echo "metainfo()"
                echo "metainfo(${instfile##*/})"
                echo "mingw32(metainfo)"
                echo "mingw32(metainfo:${instfile##*/})"
                ;;
        esac
done
IFS=$OLD_IFS


++++++ mingw32_desktop.attr ++++++
%__desktop_provides     %{_rpmconfigdir}/mingw32-desktop-file.prov
%__desktop_path ^%{_mingw32_datadir}/applications/.*\\.desktop$

++++++ mingw32_metainfo.attr ++++++
%__metainfo_provides    %{_rpmconfigdir}/mingw32-metainfo.prov
%__metainfo_path        
^%{_mingw32_datadir}/(appdata|metainfo)/.*\\.(appdata|metainfo)\\.xml$

Reply via email to