From 6ccdb1d3d2cf197fd5aed1ebc58e3c619e4c7ac0092713ee78e310ba596311f0 Mon Sep 17 00:00:00 2001 From: Anna Maresova Date: Wed, 24 May 2023 12:26:16 +0000 Subject: [PATCH] Accepting request 1088686 from home:jsrain:branches:Base:System - adjust .spec-file to list all sources independently on the build options - flag the license properly OBS-URL: https://build.opensuse.org/request/show/1088686 OBS-URL: https://build.opensuse.org/package/show/Base:System/figlet?expand=0&rev=14 --- figlet.changes | 7 +++++++ figlet.spec | 11 +++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/figlet.changes b/figlet.changes index 2376d5e..256c7a9 100644 --- a/figlet.changes +++ b/figlet.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue May 23 04:33:32 UTC 2023 - Jiri Srain + +- adjust .spec-file to list all sources independently on the + build options +- flag the license properly + ------------------------------------------------------------------- Wed May 31 09:57:37 UTC 2017 - bwiedemann@suse.com diff --git a/figlet.spec b/figlet.spec index bd38675..6505c46 100644 --- a/figlet.spec +++ b/figlet.spec @@ -1,7 +1,7 @@ # # spec file for package figlet # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # 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/ # @@ -22,15 +22,17 @@ Release: 0 Summary: Tool for Creating Cool ASCII-Art Signatures License: BSD-3-Clause Group: Productivity/Text/Utilities -Url: http://www.figlet.org/ +URL: http://www.figlet.org/ # Patched code is built by default. # Use rpmbuild -D 'BUILD_ORIG 1' to build original code. %if 0%{?BUILD_ORIG} Source0: ftp://ftp.figlet.org/pub/figlet/program/unix/%{name}-%{version}.tar.gz +Source999: %{name}-%{version}-patched.tar.bz2 %else # WARNING: This is not a comment, but a real command to repack source: #%(sh %{_sourcedir}/figlet-licpatch.sh %{_sourcedir}) Source0: %{name}-%{version}-patched.tar.bz2 +Source999: ftp://ftp.figlet.org/pub/figlet/program/unix/%{name}-%{version}.tar.gz %endif Source1: ftp://ftp.figlet.org/pub/figlet/fonts/contributed.tar.gz Source2: ftp://ftp.figlet.org/pub/figlet/fonts/international.tar.gz @@ -79,7 +81,8 @@ cp -a ours %{buildroot}%{_datadir}/figlet/ %files %defattr(-,root,root,-) -%doc CHANGES FAQ LICENSE README figfont.txt +%doc CHANGES FAQ README figfont.txt +%license LICENSE %doc bdf2flf.pl febrew %{_bindir}/chkfont %{_bindir}/figlet