SHA256
8
0
forked from pool/log4cpp

Accepting request 661872 from home:jengelh:branches:devel:libraries:c_c++

- Wrap description again.
- Replace %__-type macro indirections.

OBS-URL: https://build.opensuse.org/request/show/661872
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/log4cpp?expand=0&rev=13
This commit is contained in:
2018-12-29 13:02:39 +00:00
committed by Git OBS Bridge
parent 827a1f3f1f
commit 1956880e77
2 changed files with 19 additions and 11 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Dec 28 21:40:47 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Wrap description again.
- Replace %__-type macro indirections.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 19 19:46:01 UTC 2018 - marec@detebe.org Wed Dec 19 19:46:01 UTC 2018 - marec@detebe.org

View File

@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@@ -34,7 +34,9 @@ BuildRequires: fdupes
%define libname lib%{name}5 %define libname lib%{name}5
%description %description
Log for C++ is a library of classes for flexible logging to files, syslog, and other destinations. It is modeled after the Log for Java library and stays as close to its API as is reasonable. Log for C++ is a library of classes for flexible logging to files,
syslog, and other destinations. It is modeled after the Log for Java
library and stays as close to its API as is reasonable.
%package -n %{libname} %package -n %{libname}
Summary: Logging for C++ Summary: Logging for C++
@@ -66,10 +68,10 @@ the popular doxygen documentation generation tool.
%build %build
%configure --enable-doxygen --disable-static %configure --enable-doxygen --disable-static
%{__make} %{?_smp_mflags} make %{?_smp_mflags}
%install %install
%{__make} %{?_smp_mflags} install DESTDIR=%{buildroot} mandir=%{buildroot}%{_mandir} docdir=%{buildroot}%{_docdir}/%{name} %make_install mandir="%{buildroot}/%{_mandir}" docdir="%{buildroot}/%{_docdir}/%{name}"
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
%if 0%{?suse_version} %if 0%{?suse_version}
%fdupes -s %{buildroot}/%{_docdir}/%{name}/api %fdupes -s %{buildroot}/%{_docdir}/%{name}/api