Hello community,
here is the log from the commit of package adobe-sourcecodepro-fonts for
openSUSE:Factory checked in at 2020-08-12 10:56:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/adobe-sourcecodepro-fonts (Old)
and /work/SRC/openSUSE:Factory/.adobe-sourcecodepro-fonts.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "adobe-sourcecodepro-fonts"
Wed Aug 12 10:56:10 2020 rev:12 rq:825254 version:2.030
Changes:
--------
---
/work/SRC/openSUSE:Factory/adobe-sourcecodepro-fonts/adobe-sourcecodepro-fonts.changes
2019-05-17 23:40:29.810000690 +0200
+++
/work/SRC/openSUSE:Factory/.adobe-sourcecodepro-fonts.new.3399/adobe-sourcecodepro-fonts.changes
2020-08-12 10:56:17.140737035 +0200
@@ -1,0 +2,8 @@
+Mon Aug 3 09:04:59 UTC 2020 - Yunhe Guo <[email protected]>
+
+- Add GitHub source URL
+- Remove README.md because it isn't useful for users
+- Change deprecated /usr/share/appdata to /usr/share/metainfo
+- Use dos2unix to fix DOS/Windows encoding
+
+-------------------------------------------------------------------
Old:
----
1.050R-it.tar.gz
New:
----
source-code-pro-2.030R-ro-1.050R-it.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ adobe-sourcecodepro-fonts.spec ++++++
--- /var/tmp/diff_new_pack.pzyUrY/_old 2020-08-12 10:56:19.084738003 +0200
+++ /var/tmp/diff_new_pack.pzyUrY/_new 2020-08-12 10:56:19.088738005 +0200
@@ -1,7 +1,7 @@
#
# spec file for package adobe-sourcecodepro-fonts
#
-# Copyright (c) 2017 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,27 +12,24 @@
# 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 roman_version 2.030
-%define italic_version 1.050
-
Name: adobe-sourcecodepro-fonts
-%define _name SourceCodePro
-Version: %{roman_version}
+Version: 2.030
Release: 0
+%define italic_version 1.050
Summary: A set of OpenType fonts designed for coding environments
License: OFL-1.1
Group: System/X11/Fonts
-Url: http://sourceforge.net/projects/sourcecodepro.adobe
-Source: %{italic_version}R-it.tar.gz
+URL: https://adobe-fonts.github.io/source-code-pro/
+Source:
https://github.com/adobe-fonts/source-code-pro/archive/%{version}R-ro/%{italic_version}R-it.tar.gz#/source-code-pro-%{version}R-ro-%{italic_version}R-it.tar.gz
Source1: adobe-sourcecodepro-fonts.metainfo.xml
Obsoletes: SourceCodePro-fonts < %version-%release
Provides: SourceCodePro-fonts = %version-%release
+BuildRequires: dos2unix
BuildRequires: fontpackages-devel
-BuildRequires: unzip
%reconfigure_fonts_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@@ -43,27 +40,26 @@
design to the Source Sans family.
%prep
-%setup -q -n source-code-pro-%{roman_version}R-ro-%{italic_version}R-it
-# Fix line endings
-sed -i 's/\r$//g' LICENSE.txt
-chmod a-x LICENSE.txt README.md
+%setup -q -n source-code-pro-%{version}R-ro-%{italic_version}R-it
%build
+chmod -x+X -R *
+dos2unix *
%install
install -d %{buildroot}%{_ttfontsdir}
# by default install command uses 755 umask
install -m 644 OTF/*.otf %{buildroot}%{_ttfontsdir}
-install -d -m0755 %{buildroot}%{_datadir}/appdata
-install -D -m0644 %{S:1} %{buildroot}%{_datadir}/appdata/
+install -d -m0755 %{buildroot}%{_datadir}/metainfo
+install -D -m0644 %{S:1} %{buildroot}%{_datadir}/metainfo/
%reconfigure_fonts_scriptlets
%files
%defattr(-,root,root)
-%doc LICENSE.txt README.md
-%dir %{_datadir}/appdata
-%{_datadir}/appdata/adobe-sourcecodepro-fonts.metainfo.xml
+%license LICENSE.txt
+%dir %{_datadir}/metainfo
+%{_datadir}/metainfo/adobe-sourcecodepro-fonts.metainfo.xml
%dir %{_ttfontsdir}
%{_ttfontsdir}/*