Accepting request 588585 from home:jengelh:branches:server:irc

- Ensure neutrality of description.
- Use -exec over xargs.

OBS-URL: https://build.opensuse.org/request/show/588585
OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=85
This commit is contained in:
Tomáš Chvátal 2018-03-19 13:27:22 +00:00 committed by Git OBS Bridge
parent 25cf224ae6
commit 0426908e04
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 19 13:07:58 UTC 2018 - jengelh@inai.de
- Ensure neutrality of description.
- Use -exec over xargs.
-------------------------------------------------------------------
Mon Mar 19 10:09:51 UTC 2018 - mimi.vx@gmail.com

View File

@ -19,7 +19,7 @@
Name: weechat
Version: 2.1
Release: 0
Summary: Portable, Fast, Light and Extensible Chat Client
Summary: Multi-protocol extensible Chat Client
License: GPL-3.0+
Group: Productivity/Networking/IRC
URL: http://weechat.org
@ -57,7 +57,7 @@ Recommends: %{name}-perl = %{version}
Recommends: %{name}-python = %{version}
%description
WeeChat (Wee Enhanced Environment for Chat) is a fast and light cross-platform
WeeChat (Wee Enhanced Environment for Chat) is a
chat environment. It can be entirely controlled with the keyboard, has a
plugin-based architecture and is customizable and extensible with scripts in
several scripting languages.
@ -134,7 +134,7 @@ Spell-checking support for %{name}, using the aspell library.
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE4}")"
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
TIME="\"$(date -d "${modified}" "+%%R")\""
find . -name '*.[ch]' | xargs sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g"
find . -name '*.[ch]' -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" "{}" "+"
%build
export CFLAGS="%{optflags}"