SHA256
8
0
forked from pool/log4cpp

Accepting request 1136398 from devel:libraries:c_c++

- update to version 1.1.4
  * fix for bug 152: use timespec and clock_settime for c++11 and
    higher; use stime for glibc version lower than 2.31; none for
    other cases
  * Replace obsolete auto_ptr removed in C++17 with newer
    unique_ptr since C++11
  * Replace older Non-throwing dynamic exception specification
    throw() removed in C++20 with newer noexcept since C++11
  * Patch #49 C99 compatibility fix for snprintf configure check
  * va_copy is here since c++11; fallback to simple copy if
    standard is not specified or less than c++11
- Replace _service with full URL in Source (forwarded request 1136382 from StefanBruens)

OBS-URL: https://build.opensuse.org/request/show/1136398
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/log4cpp?expand=0&rev=5
This commit is contained in:
2024-01-03 11:32:27 +00:00
committed by Git OBS Bridge
5 changed files with 29 additions and 40 deletions

View File

@@ -1,22 +0,0 @@
<services>
<service name="download_url" mode="disabled">
<param name="host">prdownloads.sourceforge.net</param>
<param name="protocol">http</param>
<param name="path">/log4cpp/log4cpp-1.1.x%20%28new%29/log4cpp-1.1/log4cpp-1.1.3.tar.gz</param>
</service>
<service name="verify_file" mode="disabled">
<param name="file">log4cpp-1.1.3.tar.gz</param>
<param name="verifier">sha256</param>
<param name="checksum">2cbbea55a5d6895c9f0116a9a9ce3afb86df383cd05c9d6c1a4238e5e5c8f51d</param>
</service>
<service name="recompress" mode="disabled">
<param name="compression">xz</param>
<param name="file">log4cpp-1.1.3.tar.gz</param>
</service>
<service name="set_version" mode="disabled">
<param name="file">log4cpp.spec</param>
</service>
<service name="format_spec_file" mode="disabled">
<param name="specfile">log4cpp.spec</param>
</service>
</services>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0ce2d6645c2a2f5f77b6a2e759ba0a6bb08bb6d322c0110baf5cb95353d66b89
size 356356

3
log4cpp-1.1.4.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:696113659e426540625274a8b251052cc04306d8ee5c42a0c7639f39ca90c9d6
size 637440

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Wed Jan 3 04:55:42 UTC 2024 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- update to version 1.1.4
* fix for bug 152: use timespec and clock_settime for c++11 and
higher; use stime for glibc version lower than 2.31; none for
other cases
* Replace obsolete auto_ptr removed in C++17 with newer
unique_ptr since C++11
* Replace older Non-throwing dynamic exception specification
throw() removed in C++20 with newer noexcept since C++11
* Patch #49 C99 compatibility fix for snprintf configure check
* va_copy is here since c++11; fallback to simple copy if
standard is not specified or less than c++11
- Replace _service with full URL in Source
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 28 21:40:47 UTC 2018 - Jan Engelhardt <jengelh@inai.de> Fri Dec 28 21:40:47 UTC 2018 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package log4cpp # spec file for package log4cpp
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2024 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,22 +16,22 @@
# #
%define sonum 5
Name: log4cpp Name: log4cpp
Version: 1.1.3 Version: 1.1.4
Release: 0 Release: 0
Summary: C++ logging library Summary: C++ logging library
License: LGPL-2.1-only License: LGPL-2.1-only
Group: Development/Languages/C and C++ Group: Development/Languages/C and C++
Url: http://%{name}.sourceforge.net/ URL: https://log4cpp.sourceforge.net/
Source: %{name}-%{version}.tar.xz Source: https://downloads.sourceforge.net/project/log4cpp/log4cpp-1.1.x%20%28new%29/log4cpp-1.1/log4cpp-%{version}.tar.gz
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: pkg-config BuildRequires: pkg-config
%if 0%{?suse_version}
BuildRequires: fdupes
%endif
%define libname lib%{name}5 %define libname lib%{name}%{sonum}
%description %description
Log for C++ is a library of classes for flexible logging to files, Log for C++ is a library of classes for flexible logging to files,
@@ -68,24 +68,20 @@ the popular doxygen documentation generation tool.
%build %build
%configure --enable-doxygen --disable-static %configure --enable-doxygen --disable-static
make %{?_smp_mflags} %make_build
%install %install
%make_install 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}
%fdupes -s %{buildroot}/%{_docdir}/%{name}/api %fdupes -s %{buildroot}/%{_docdir}/%{name}/api
%endif
%post -n %{libname} -p /sbin/ldconfig %post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig
%files -n %{libname} %files -n %{libname}
%defattr(-,root,root,-) %{_libdir}/*.so.%{sonum}*
%{_libdir}/*.so.*
%files devel %files devel
%defattr(-,root,root)
%{_includedir}/%{name} %{_includedir}/%{name}
%{_mandir}/man3/%{name}*.3%{?ext_man} %{_mandir}/man3/%{name}*.3%{?ext_man}
%{_bindir}/%{name}-config %{_bindir}/%{name}-config
@@ -95,7 +91,6 @@ find %{buildroot} -type f -name "*.la" -delete -print
%attr(644,root,root) %{_datadir}/aclocal/%{name}.m4 %attr(644,root,root) %{_datadir}/aclocal/%{name}.m4
%files doc %files doc
%defattr(-,root,root)
%doc AUTHORS ChangeLog NEWS README THANKS %doc AUTHORS ChangeLog NEWS README THANKS
%doc %{_docdir}/%{name} %doc %{_docdir}/%{name}
%license COPYING %license COPYING