SHA256
1
0
forked from pool/cowsay

Accepting request 959744 from shells

- Update to version 3.7.0.

OBS-URL: https://build.opensuse.org/request/show/959744
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cowsay?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2022-03-07 16:46:30 +00:00 committed by Git OBS Bridge
commit a04a8e35da
6 changed files with 36 additions and 36 deletions

View File

@ -1,7 +1,7 @@
Index: cowsay-3.03/cows/chameleon.cow Index: cowsay-3.03/cows/chameleon.cow
=================================================================== ===================================================================
--- /dev/null --- /dev/null
+++ cowsay-3.03/cows/chameleon.cow +++ cowsay-3.03/share/cows/chameleon.cow
@@ -0,0 +1,25 @@ @@ -0,0 +1,25 @@
+## +##
+## SUSE-like chameleon +## SUSE-like chameleon

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d8b871332cfc1f0b6c16832ecca413ca0ac14d58626491a6733829e3d655878b
size 31961

3
cowsay-3.7.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af13a93f1559ea435403cf11eaa6c46be5bf03ac165a4acb471c66a4976167e0
size 34030

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Fri Dec 3 17:45:48 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to 3.7.0
* cowsay -r [-C] for random cow
* Pluggable cow collections using etc/cowsay/cowpath.d
* Parseable format for cowsay -l when sent to non-terminal
destination
* Fix cowsay -l ignoring *.pm files
* Have cowsay -l recursively discover cowfiles in subdirectories
- Update to 3.5
* Add llama cow
* Changed to SemVer version numbering
- Switch to cowsay-org fork:
* Version 3.04.01
* Fix the version number in source files
- Adjust chami.patch for different directory structure
- Drop fixed one-eye.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 2 16:24:11 UTC 2020 - Dirk Mueller <dmueller@suse.com> Wed Sep 2 16:24:11 UTC 2020 - Dirk Mueller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package cowsay # spec file for package cowsay
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,49 +16,42 @@
# #
%if 0%{?suse_version} >= 1140
%{?!perl_requires:%define perl_requires() Requires: perl = %{perl_version}} %{?!perl_requires:%define perl_requires() Requires: perl = %{perl_version}}
%endif
Name: cowsay Name: cowsay
Version: 3.04 Version: 3.7.0
Release: 0 Release: 0
Summary: Configurable talking cow (and some other creatures) Summary: Configurable talking cow (and some other creatures)
License: GPL-3.0-or-later License: GPL-3.0-or-later
Group: Amusements/Toys/Other Group: Amusements/Toys/Other
URL: https://github.com/tnalpgge/rank-amateur-cowsay URL: https://cowsay.diamonds/
Source: https://github.com/tnalpgge/rank-amateur-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: one-eye.patch Patch0: chami.patch
Patch1: chami.patch BuildRequires: make
BuildRequires: bash
BuildRequires: perl BuildRequires: perl
BuildArch: noarch BuildArch: noarch
%{perl_requires} %{perl_requires}
%description %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 much as the figlet program does, and it written in the same spirit
of silliness. of silliness.
%prep %prep
%setup -q -n rank-amateur-cowsay-%{name}-%{version} %autosetup -p1
sed -i "s|,\$%{nil}PREFIX,|,%{_prefix},|" install.sh sed -i '1 s/env //' cowsay
%patch0 -p1
%patch1 -p1
%build %build
perl -c cowsay perl -c cowsay
%install %install
bash ./install.sh %{buildroot}%{_prefix} %make_install prefix=%{_prefix}
mv -T %{buildroot}%{_prefix}/man/ %{buildroot}%{_mandir}
rm -f %{buildroot}%{_datadir}/cows/mech-and-cow
%files %files
%license LICENSE %license LICENSE.txt
%doc ChangeLog MANIFEST README %doc ChangeLog README.md
%{_bindir}/%{name} %{_bindir}/%{name}
%{_bindir}/cowthink %{_bindir}/cowthink
%{_datadir}/cows %{_datadir}/cowsay
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog

View File

@ -1,12 +0,0 @@
Index: cowsay-3.03/cowsay
===================================================================
--- cowsay-3.03.orig/cowsay
+++ cowsay-3.03/cowsay
@@ -66,6 +66,7 @@ $Text::Wrap::columns = $opts{'W'};
split("\n", fill("", "", @message)));
&construct_balloon;
&construct_face;
+$eye = substr($eyes,0,1);
&get_cow;
print @balloon_lines;
print $the_cow;