specfile: package source are now located at github.com

Upstream (Artifex) has decided to move their 'urw-core35-fonts' git
  repository to github.com, and rename it to 'urw-base35-fonts':

  >> https://github.com/ArtifexSoftware/urw-base35-fonts

  The sources can be now easily download with correct filename with:
  $ spectool -g *.spec
This commit is contained in:
David Kaspar [Dee'Kej] 2017-08-18 14:09:48 +02:00
parent c952f83a7c
commit 7998f28c3d

View File

@ -22,8 +22,8 @@
#
# Therefore, from now on, I will refer to Artifex Software as to 'upstream'.
#
# 2) Upstream has its own git repository for Core 35 Font Set sources:
# > http://git.ghostscript.com/?p=urw-core35-fonts.git
# 2) Upstream has its own git repository for Core Font Set Level 2 sources:
# > https://github.com/ArtifexSoftware/urw-base35-fonts
#
# Here you can find 4 types of files (regarding the fonts):
# *.t1 - https://en.wikipedia.org/wiki/PostScript_fonts#Type_1
@ -62,14 +62,7 @@
# upstream switched to using git snapshot dates for versioning, and we
# are sticking to that after discussion at fedora-devel mailing list.
#
# 5) Even though the source archive with the fonts has the name 'urw-base35-*',
# the git repository name is 'urw-core35-fonts'. This is because (URW)++
# provides the fonts to upstream with this name...
#
# However, in the sake of uniformity with PostScript terminology, upstream
# provides the font archive with 'urw-base35-*'. We will stick to this name.
#
# 6) The package scheme is this:
# 5) The package scheme is this:
#
# * urw-base35-fonts -- Metapackage which does not contain anything,
# but requires all its font subpackages. This
@ -192,7 +185,7 @@ Release: 1%{?dist}
License: AGPLv3
URL: https://www.urwpp.de/en/
Source: http://downloads.ghostscript.com/public/fonts/%{fontname}-%{version}.zip
Source: https://github.com/ArtifexSoftware/urw-base35-fonts/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: fontpackages-devel
@ -302,10 +295,8 @@ This package contains the necessary license files for this font set.
# =============================================================================
# NOTE: At the moment, upstream does not archive the fonts into subfolder,
# therefore we need to use the '-c' and '-n' options...
%prep
%autosetup -c -n %{name} -S git
%autosetup -S git
%install
install -m 0755 -d %{buildroot}%{_fontdir}