diff --git a/cowsay.spec b/cowsay.spec index cbcc7a2..3956811 100644 --- a/cowsay.spec +++ b/cowsay.spec @@ -1,6 +1,6 @@ Name: cowsay Version: 3.03 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Configurable speaking/thinking cow Group: Amusements/Games License: Artistic or GPL @@ -9,6 +9,7 @@ Source0: http://www.nog.net/~tony/warez/%{name}-%{version}.tar.gz Source1: cowsay.bashcomp Source2: animalsay Patch0: cowsay-3.03-help.patch +Patch1: mech-and-cow.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -28,6 +29,9 @@ pictures of other animals. %{__sed} -e 's#%PREFIX%/share/cows#%{_datadir}/%{name}#' \ -e 's#/usr/local/share/cows#%{_datadir}/%{name}#' -i %{name}.1 +mv cows/mech-and-cow cows/mech-and-cow.cow +%patch1 -p1 + %build echo No need to build anything @@ -59,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT %{_sysconfdir}/bash_completion.d %changelog +* Tue Oct 09 2007 MichaƂ Bentkowski - 3.03-4 +- Fix mech-and-cow file (#250844) + * Mon Sep 17 2007 Lubomir Kundrak - 3.03-3 - Make --help be a bit more sane (#293061) diff --git a/mech-and-cow.patch b/mech-and-cow.patch new file mode 100644 index 0000000..c8e97b2 --- /dev/null +++ b/mech-and-cow.patch @@ -0,0 +1,45 @@ +--- cowsay/cows/mech-and-cow.cow 2007-10-07 12:17:44.000000000 +0200 ++++ cowsay/cows/mech-and-cow.cow.new 2007-10-07 12:17:54.000000000 +0200 +@@ -1,21 +1,22 @@ +- ,-----. +- | | +- ,--| |-. +- __,----| | | | +- ,;:: | `_____' | +- `._______| i^i | +- `----| |---'| . +- ,-------._| |== ||// +- | |_|P`. /'/ +- `-------' 'Y Y/'/' +- .==\ /_\ ++$sthguoht = $thoughts; ++if ( $thoughts eq "\\" ) { ++ $sthguoht = "/"; ++} ++$the_cow = <<"EOC"; ++ $thoughts ,-----. ++ $sthguoht | | ++ $thoughts ,--| |-. ++ $sthguoht __,----| | | | ++ $thoughts ,;:: | `_____' | ++ $sthguoht `._______| i^i | ++ $thoughts `----| |---'| . ++ $sthguoht ,-------._| |== ||// ++ $thoughts | |_|P`. /'/ ++ $sthguoht `-------' 'Y Y/'/' ++ $thoughts .==\ /_\ + ^__^ / /'| `i +- (oo)\_______ /' / | | +- (__)\ )\/\ /' / | `i +- ||----w | ___,;`----'.___L_,-'`\__ +- || || i_____;----\.____i""\____\ +- +- +- +- +- ++ ($eyes)\_______ /' / | | ++ (__)\ )\\/\\ /' / | `i ++ $tongue||----w|| ___,;`----'.___L_,-'`\__ ++ || || i_____;----\.____i""\____\ ++EOC