Accepting request 456408 from home:jengelh:branches:utilities

- Abandon unnecessary %__-type macro indirections.
  Trim description.

OBS-URL: https://build.opensuse.org/request/show/456408
OBS-URL: https://build.opensuse.org/package/show/utilities/ccze?expand=0&rev=3
This commit is contained in:
Ismail Dönmez 2017-02-11 18:13:56 +00:00 committed by Git OBS Bridge
parent 5a6cd80f1d
commit bf88ea68c8
2 changed files with 26 additions and 15 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Feb 11 17:39:47 UTC 2017 - jengelh@inai.de
- Abandon unnecessary %__-type macro indirections.
Trim description.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 30 19:21:01 UTC 2016 - sebix+novell.com@sebix.at Fri Dec 30 19:21:01 UTC 2016 - sebix+novell.com@sebix.at

View File

@ -1,6 +1,7 @@
# #
# spec file for package ccze # spec file for package ccze
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 Sebastian Wagner <sebix+novell.com@sebix.at> # Copyright (c) 2016 Sebastian Wagner <sebix+novell.com@sebix.at>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -14,13 +15,15 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: ccze Name: ccze
Version: 0.2.1.2 Version: 0.2.1.2
Release: 0 Release: 0
Summary: A log colorizer
License: GPL-2.0+ License: GPL-2.0+
Summary: A robust log colorizer
Url: https://github.com/madhouse/ccze/
Group: Applications/Other Group: Applications/Other
Url: https://github.com/madhouse/ccze/
Source: https://github.com/madhouse/ccze/archive/ccze-0.2.1-2.tar.gz Source: https://github.com/madhouse/ccze/archive/ccze-0.2.1-2.tar.gz
Source1: http://http.debian.net/debian/pool/main/c/ccze/ccze_0.2.1-3.debian.tar.xz Source1: http://http.debian.net/debian/pool/main/c/ccze/ccze_0.2.1-3.debian.tar.xz
Patch0: license-fsf.diff Patch0: license-fsf.diff
@ -35,7 +38,7 @@ Group: Development/Libraries/C and C++
Requires: %name Requires: %name
%description %description
CCZE is a roboust and modular log colorizer, with plugins for apm, CCZE is a modular log colorizer, with plugins for apm,
exim, fetchmail, httpd, postfix, procmail, squid, syslog, ulogd, exim, fetchmail, httpd, postfix, procmail, squid, syslog, ulogd,
vsftpd, xferlog and more. vsftpd, xferlog and more.
@ -48,28 +51,28 @@ applications that use %name.
%setup -q -n %name-%name-0.2.1-2 %setup -q -n %name-%name-0.2.1-2
%setup -D -T -b 1 -q -n %name-%name-0.2.1-2 %setup -D -T -b 1 -q -n %name-%name-0.2.1-2
%patch0 -p1 %patch0 -p1
%{__patch} -p1 debian/patches/288834_FTBFS_unrecognized_command_line_option_-Wmulticharacter.patch patch -p1 debian/patches/288834_FTBFS_unrecognized_command_line_option_-Wmulticharacter.patch
%{__patch} -p1 debian/patches/doc___ccze.1.in.patch patch -p1 debian/patches/doc___ccze.1.in.patch
%{__patch} -p1 debian/patches/fix_capitalization_typo.patch patch -p1 debian/patches/fix_capitalization_typo.patch
%{__patch} -p1 debian/patches/fix_passing_LDFLAGS_for_ccze-cssdump.patch patch -p1 debian/patches/fix_passing_LDFLAGS_for_ccze-cssdump.patch
%{__patch} -p1 debian/patches/src___ccze.c.patch patch -p1 debian/patches/src___ccze.c.patch
%{__patch} -p1 debian/patches/src___ccze-wordcolor.c_positive-numbers.patch patch -p1 debian/patches/src___ccze-wordcolor.c_positive-numbers.patch
%{__patch} -p1 debian/patches/src___ccze-wordcolor.c_virus+clean.patch patch -p1 debian/patches/src___ccze-wordcolor.c_virus+clean.patch
%{__patch} -p1 debian/patches/src___mod_syslog.c.patch patch -p1 debian/patches/src___mod_syslog.c.patch
%build %build
autoheader autoheader
autoconf autoconf
%configure --with-builtins=all %configure --with-builtins=all
%{__make} make
%install %install
%makeinstall %make_install
install -d %{buildroot}/%{_sysconfdir} install -d %{buildroot}/%{_sysconfdir}
src/ccze-dump > %{buildroot}/%{_sysconfdir}/cczerc src/ccze-dump > %{buildroot}/%{_sysconfdir}/cczerc
%check %check
%{__make} check make check
%files %files
%defattr(-,root,root) %defattr(-,root,root)
@ -85,3 +88,5 @@ src/ccze-dump > %{buildroot}/%{_sysconfdir}/cczerc
%files devel %files devel
%{_includedir}/ccze.h %{_includedir}/ccze.h
%license COPYING %license COPYING
%changelog