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