SHA256
1
0
forked from pool/cowsay

Accepting request 935659 from home:susnux:branches:shells

- Update to 3.7.0

OBS-URL: https://build.opensuse.org/request/show/935659
OBS-URL: https://build.opensuse.org/package/show/shells/cowsay?expand=0&rev=11
This commit is contained in:
Alexei Sorokin 2021-12-04 23:51:41 +00:00 committed by Git OBS Bridge
parent 971b3e8e03
commit e1f531e488
6 changed files with 35 additions and 34 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) 2021 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,20 +16,17 @@
# #
%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/cowsay-%{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}
@ -40,25 +37,22 @@ 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} %setup -q
sed -i "s|,\$%{nil}PREFIX,|,%{_prefix},|" install.sh
%patch0 -p1 %patch0 -p1
%patch1 -p1 sed -i '1 s/env //' cowsay
%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;