forked from pool/weechat
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:
parent
25cf224ae6
commit
0426908e04
@ -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
|
Mon Mar 19 10:09:51 UTC 2018 - mimi.vx@gmail.com
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Name: weechat
|
Name: weechat
|
||||||
Version: 2.1
|
Version: 2.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Portable, Fast, Light and Extensible Chat Client
|
Summary: Multi-protocol extensible Chat Client
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
Group: Productivity/Networking/IRC
|
Group: Productivity/Networking/IRC
|
||||||
URL: http://weechat.org
|
URL: http://weechat.org
|
||||||
@ -57,7 +57,7 @@ Recommends: %{name}-perl = %{version}
|
|||||||
Recommends: %{name}-python = %{version}
|
Recommends: %{name}-python = %{version}
|
||||||
|
|
||||||
%description
|
%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
|
chat environment. It can be entirely controlled with the keyboard, has a
|
||||||
plugin-based architecture and is customizable and extensible with scripts in
|
plugin-based architecture and is customizable and extensible with scripts in
|
||||||
several scripting languages.
|
several scripting languages.
|
||||||
@ -134,7 +134,7 @@ Spell-checking support for %{name}, using the aspell library.
|
|||||||
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE4}")"
|
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE4}")"
|
||||||
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
|
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
|
||||||
TIME="\"$(date -d "${modified}" "+%%R")\""
|
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
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user