Hello community,

here is the log from the commit of package fetchmsttfonts for openSUSE:Factory 
checked in at 2020-12-05 20:51:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fetchmsttfonts (Old)
 and      /work/SRC/openSUSE:Factory/.fetchmsttfonts.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fetchmsttfonts"

Sat Dec  5 20:51:20 2020 rev:16 rq:853286 version:11.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/fetchmsttfonts/fetchmsttfonts.changes    
2020-01-04 19:21:14.153134436 +0100
+++ /work/SRC/openSUSE:Factory/.fetchmsttfonts.new.5913/fetchmsttfonts.changes  
2020-12-05 20:51:21.407564873 +0100
@@ -1,0 +2,6 @@
+Wed Dec  2 21:03:08 UTC 2020 - Andreas Stieger <[email protected]>
+
+- When using rpm --excludedocs (rpm.install.excludedocs = yes),
+  the script would fail boo#1096305  
+
+-------------------------------------------------------------------

Old:
----
  corefonts.md5
  corefonts.sha1

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

Other differences:
------------------
++++++ fetchmsttfonts.spec ++++++
--- /var/tmp/diff_new_pack.Nr7u7s/_old  2020-12-05 20:51:22.135565572 +0100
+++ /var/tmp/diff_new_pack.Nr7u7s/_new  2020-12-05 20:51:22.139565576 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package fetchmsttfonts
 #
-# 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
@@ -22,10 +22,9 @@
 Summary:        Helper package to download Microsoft Core fonts for the Web
 License:        GPL-2.0-or-later
 Group:          System/X11/Fonts
+URL:            https://corefonts.sourceforge.net/
 Source0:        fetchmsttfonts.sh.in
 Source1:        COPYING
-Source2:        corefonts.md5
-Source3:        corefonts.sha1
 Source4:        corefonts.sha512
 #these stop the patch from pulling in the package
 #Provides:       pullin-msttf-fonts = 11.1
@@ -54,8 +53,6 @@
 %prep
 cp %{SOURCE0} .
 cp %{SOURCE1} .
-cp %{SOURCE2} .
-cp %{SOURCE3} .
 cp %{SOURCE4} .
 
 %build
@@ -63,7 +60,6 @@
        -e 's,__VERSION__,%version,' \
        -e 's,__RELEASE__,%release,' \
        -e 's,__NAME__,%name,' \
-       -e 's,__DOCDIR__,%{_docdir},' \
        fetchmsttfonts.sh.in > fetchmsttfonts.sh
 
 %install
@@ -79,15 +75,13 @@
 do
        touch %buildroot/usr/share/fonts/truetype/$f
 done
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+mkdir -p %{buildroot}/usr/share/%{name}
+mv corefonts.sha512 %{buildroot}/usr/share/%{name}
 
 %postun -p /usr/sbin/fonts-config
 
 %files
 %license COPYING
-%doc corefonts.{md5,sha1,sha512}
 /var/adm/update-scripts/*
 %dir /usr/share/doc/corefonts
 %dir /usr/share/fonts/truetype
@@ -124,5 +118,6 @@
 %ghost /usr/share/fonts/truetype/arialbi.ttf
 %ghost /usr/share/fonts/truetype/arialbd.ttf
 %ghost /usr/share/fonts/truetype/andalemo.ttf
+/usr/share/%{name}
 
 %changelog

++++++ fetchmsttfonts.sh.in ++++++
--- /var/tmp/diff_new_pack.Nr7u7s/_old  2020-12-05 20:51:22.207565641 +0100
+++ /var/tmp/diff_new_pack.Nr7u7s/_new  2020-12-05 20:51:22.211565645 +0100
@@ -47,13 +47,11 @@
         continue
     fi
 
-    for algo in md5 sha1 sha512; do
-        if ! grep "$file" "__DOCDIR__/__NAME__/corefonts.$algo" | ${algo}sum 
--check --quiet --status > /dev/null 2>&1; then
-            rm -f "$file"
-            echo "$algo checksum mismatch for $file ... deleted!"
-            continue
-        fi
-    done
+    if ! grep "$file" "/usr/share/__NAME__/corefonts.sha512" | sha512sum 
--check --quiet --status > /dev/null 2>&1; then
+        rm -f "$file"
+        echo "checksum mismatch for $file ... deleted!"
+        continue
+    fi
 
     echo "done"
     echo -n "  Extracting ... "
_______________________________________________
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