rpms/cowsay/devel mech-and-cow.patch,NONE,1.1 cowsay.spec,1.2,1.3

Michał Bentkowski (ecik) fedora-extras-commits at redhat.com
Tue Oct 9 19:45:52 UTC 2007


Author: ecik

Update of /cvs/extras/rpms/cowsay/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3471

Modified Files:
	cowsay.spec 
Added Files:
	mech-and-cow.patch 
Log Message:
* Tue Oct 09 2007 Michał Bentkowski <mr.ecik at gmail.com> - 3.03-4
- Fix mech-and-cow file (#250844)


mech-and-cow.patch:

--- NEW FILE mech-and-cow.patch ---
--- 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


Index: cowsay.spec
===================================================================
RCS file: /cvs/extras/rpms/cowsay/devel/cowsay.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- cowsay.spec	17 Sep 2007 11:39:43 -0000	1.2
+++ cowsay.spec	9 Oct 2007 19:45:20 -0000	1.3
@@ -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 @@
 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 @@
 %{__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 @@
 %{_sysconfdir}/bash_completion.d
 
 %changelog
+* Tue Oct 09 2007 Michał Bentkowski <mr.ecik at gmail.com> - 3.03-4
+- Fix mech-and-cow file (#250844)
+
 * Mon Sep 17 2007 Lubomir Kundrak <lkundrak at redhat.com> - 3.03-3
 - Make --help be a bit more sane (#293061)
 




More information about the fedora-extras-commits mailing list