From 617a25b7836908c7d0585e1fcbf70270a13a30e4511ad1b64c9f6f4aa29a0a5d Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Sun, 6 Mar 2022 19:37:49 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/shells/cowsay?expand=0&rev=12 --- cowsay.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/cowsay.spec b/cowsay.spec index 3297e6d..989ef0b 100644 --- a/cowsay.spec +++ b/cowsay.spec @@ -1,7 +1,7 @@ # # spec file for package cowsay # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ Summary: Configurable talking cow (and some other creatures) License: GPL-3.0-or-later Group: Amusements/Toys/Other URL: https://cowsay.diamonds/ -Source: https://github.com/cowsay-org/cowsay/archive/cowsay-%{version}.tar.gz +Source: https://github.com/cowsay-org/cowsay/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: chami.patch BuildRequires: make BuildRequires: perl @@ -32,13 +32,12 @@ BuildArch: noarch %{perl_requires} %description -cowsay is a configurable talking cow, written in Perl. It operates +cowsay is a configurable talking cow, written in Perl. It operates much as the figlet program does, and it written in the same spirit of silliness. %prep -%setup -q -%patch0 -p1 +%autosetup -p1 sed -i '1 s/env //' cowsay %build