public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: releng-bot <releng-bot@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/log4cpp] rawhide: Unretirement request: https://pagure.io/releng/fedora-scm-requests/issue/83783
Date: Fri, 29 May 2026 00:48:10 +0000 [thread overview]
Message-ID: <rpms-log4cpp-8b2a70077628@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/log4cpp
Branch : rawhide
Commit : 8b2a700776287a36df5257a43c8d2b97ae0f7ea2
Author : releng-bot <releng-bot@fedoraproject.org>
Date : 2026-05-29T00:48:08+00:00
Stats : +401/-1 in 12 file(s)
URL : https://src.fedoraproject.org/rpms/log4cpp/c/8b2a700776287a36df5257a43c8d2b97ae0f7ea2?branch=rawhide
Log:
Unretirement request: https://pagure.io/releng/fedora-scm-requests/issue/83783
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..2620db9
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+log4cpp
+log4cpp-1.0.tar.gz
+/log4cpp-1.1.tar.gz
+/log4cpp-1.1.1.tar.gz
+/log4cpp-1.1.3.tar.gz
diff --git a/03_aclocal_automake.diff b/03_aclocal_automake.diff
new file mode 100644
index 0000000..503c197
--- /dev/null
+++ b/03_aclocal_automake.diff
@@ -0,0 +1,8 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,3 +1,5 @@
++ACLOCAL_AMFLAGS = -I m4
++
+ if DOC
+ SUBDIRS = msvc6 bcb5 config src include tests doc
+ else
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..efafa37
--- /dev/null
+++ b/changelog
@@ -0,0 +1,138 @@
+* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-17
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
+
+* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-16
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
+
+* Mon Sep 02 2024 Miroslav Suchý <msuchy@redhat.com> - 1.1.3-15
+- convert license to SPDX
+
+* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-14
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
+
+* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-13
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
+
+* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-12
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
+
+* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-11
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
+
+* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
+* Mon Jan 02 2023 Florian Weimer <fweimer@redhat.com> - 1.1.3-9
+- C99 compatibility fixes for the configure script
+
+* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Tue Feb 15 2022 Steve Traylen <steve.traylen@cern.ch> - 1.1.3-7
+- Change autoconf call - do not understand
+
+* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Wed Nov 20 2019 Orion Poplawski <orion@nwra.com> - 1.1.3-1
+- Update to 1.1.3
+
+* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-11
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.1.1-2
+- Rebuilt for GCC 5 C++11 ABI change
+
+* Mon Mar 23 2015 Steve Traylen <steve.traylen@cern.ch> - 1.1.1-1
+- New upstream 1.1.1
+
+* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Thu Sep 19 2013 Steve Traylen <steve.traylen@cern.ch> - 1.1-1
+- New upstream 1.1
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-12
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-11
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Mon May 21 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0-9
+- Fix FTBFS
+
+* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-8
+- Rebuilt for c++ ABI breakage
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Fri Apr 29 2011 Steve Traylen <steve.traylen@cern.ch> - 1.0-6
+- Remove useless AUTHORS INSTALL NEWS README THANKS TODO
+- Move API man pages to devel package.
+- Move API html pages to a seperate -docs package.
+- Explicit pkgconfig requires needed on el5 only.
+- Remove .la and .a files in install rather than files section.
+- Use buildroot rather than RPM_BUILD_ROOT everywhere.
+- Add _isa tags to requires.
+- Convert ChangeLog to utf8.
+- Remove api/installdox for installing documentaion.
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Mon Feb 2 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-2
+- Delete non-free (but freely distributable) snprintf.c under Artistic 1.0
+ just to be sure we're not using it.
+
+
+* Mon Dec 15 2008 Jon McCann <jmccann@redhat.com> - 1.0-1
+- Initial package
diff --git a/dead.package b/dead.package
deleted file mode 100644
index 5204a84..0000000
--- a/dead.package
+++ /dev/null
@@ -1 +0,0 @@
-Orphaned for 6+ weeks
diff --git a/log4cpp-1.0-fix-doc-dest.patch b/log4cpp-1.0-fix-doc-dest.patch
new file mode 100644
index 0000000..aa7f60c
--- /dev/null
+++ b/log4cpp-1.0-fix-doc-dest.patch
@@ -0,0 +1,46 @@
+--- log4cpp-1.0.orig/doc/Makefile.am 2007-09-03 05:50:42.000000000 -0400
++++ log4cpp-1.0/doc/Makefile.am 2008-12-12 12:14:24.000000000 -0500
+@@ -1,7 +1,7 @@
+ SUBDIRS = html
+
+ man3dir = $(mandir)/man3
+-docdir = $(prefix)/doc/@PACKAGE_TARNAME@-@PACKAGE_VERSION@
++docdir = $(prefix)/share/doc/@PACKAGE_TARNAME@-@PACKAGE_VERSION@
+
+ EXTRA_DIST = \
+ mainPage.txt
+@@ -22,23 +22,23 @@
+
+
+ install-data-local:
+- $(mkinstalldirs) $(man3dir)
++ $(mkinstalldirs) $(DESTDIR)/$(man3dir)
+ @for i in ./man/man3/log4cpp.3 ./man/man3/log4cpp_*.3; do \
+ inst=`basename $$i | sed 's/_/::/g'`; \
+ echo "$(INSTALL_DATA) $$i$(man3dir)/$$inst"; \
+- $(INSTALL_DATA) $$i $(man3dir)/$$inst; \
++ $(INSTALL_DATA) $$i $(DESTDIR)/$(man3dir)/$$inst; \
+ done
+- $(mkinstalldirs) $(docdir)
+- cp -r html/. $(docdir)
+- $(RM) -r -f $(docdir)/CVS \
+- $(docdir)/Makefile.am \
+- $(docdir)/Makefile.in \
+- $(docdir)/Makefile
++ $(mkinstalldirs) $(DESTDIR)/$(docdir)
++ cp -r html/. $(DESTDIR)/$(docdir)
++ $(RM) -r -f $(DESTDIR)/$(docdir)/CVS \
++ $(DESTDIR)/$(docdir)/Makefile.am \
++ $(DESTDIR)/$(docdir)/Makefile.in \
++ $(DESTDIR)/$(docdir)/Makefile
+
+ uninstall-local:
+- $(RM) $(man3dir)/log4cpp.3
+- $(RM) $(man3dir)/log4cpp::*.3
+- $(RM) -r -f $(docdir)
++ $(RM) $(DESTDIR)/$(man3dir)/log4cpp.3
++ $(RM) $(DESTDIR)/$(man3dir)/log4cpp::*.3
++ $(RM) -r -f $(DESTDIR)/$(docdir)
+
+ clean-local:
+ $(RM) -r latex
diff --git a/log4cpp-1.0-gcc43.patch b/log4cpp-1.0-gcc43.patch
new file mode 100644
index 0000000..9979426
--- /dev/null
+++ b/log4cpp-1.0-gcc43.patch
@@ -0,0 +1,34 @@
+Only in log4cpp-1.0: config.log
+diff -ru log4cpp-1.0.orig/src/BasicLayout.cpp log4cpp-1.0/src/BasicLayout.cpp
+--- log4cpp-1.0.orig/src/BasicLayout.cpp 2006-09-30 02:03:20.000000000 -0400
++++ log4cpp-1.0/src/BasicLayout.cpp 2008-12-12 12:01:16.000000000 -0500
+@@ -8,6 +8,8 @@
+ */
+
+ #include "PortabilityImpl.hh"
++#include <cstdlib>
++#include <memory>
+ #include <log4cpp/BasicLayout.hh>
+ #include <log4cpp/Priority.hh>
+ #include <log4cpp/FactoryParams.hh>
+Only in log4cpp-1.0/src: BasicLayout.cpp~
+Only in log4cpp-1.0/src: BasicLayout.cpp.gcc43
+Only in log4cpp-1.0/src/.deps: BasicLayout.Tpo
+Only in log4cpp-1.0/src/.deps: PatternLayout.Plo
+Only in log4cpp-1.0.orig/src/.deps: PatternLayout.Tpo
+Only in log4cpp-1.0/src/.libs: PatternLayout.o
+diff -ru log4cpp-1.0.orig/src/PatternLayout.cpp log4cpp-1.0/src/PatternLayout.cpp
+--- log4cpp-1.0.orig/src/PatternLayout.cpp 2007-08-28 03:54:12.000000000 -0400
++++ log4cpp-1.0/src/PatternLayout.cpp 2008-12-12 11:57:59.000000000 -0500
+@@ -8,6 +8,7 @@
+
+ #include "PortabilityImpl.hh"
+
++#include <cstdlib>
+ #include <log4cpp/PatternLayout.hh>
+ #include <log4cpp/Priority.hh>
+ #include <log4cpp/NDC.hh>
+Only in log4cpp-1.0/src: PatternLayout.cpp.gcc43
+Only in log4cpp-1.0/src: PatternLayout.lo
+Only in log4cpp-1.0.orig/src: PatternLayout.loT
+Only in log4cpp-1.0/src: PatternLayout.o
diff --git a/log4cpp-1.0-no-snprintf.patch b/log4cpp-1.0-no-snprintf.patch
new file mode 100644
index 0000000..bd367df
--- /dev/null
+++ b/log4cpp-1.0-no-snprintf.patch
@@ -0,0 +1,24 @@
+diff -up log4cpp/src/Makefile.am.no-snprintf log4cpp/src/Makefile.am
+--- log4cpp/src/Makefile.am.no-snprintf 2017-07-12 23:39:11.000000000 -0600
++++ log4cpp/src/Makefile.am 2019-11-20 09:24:22.934246996 -0700
+@@ -2,7 +2,7 @@ lib_LTLIBRARIES = liblog4cpp.la
+
+ INCLUDES = -I$(top_srcdir)/include
+
+-noinst_HEADERS = snprintf.c Localtime.hh
++noinst_HEADERS = Localtime.hh
+
+ liblog4cpp_la_SOURCES = \
+ Appender.cpp \
+diff -up log4cpp/src/Makefile.in.no-snprintf log4cpp/src/Makefile.in
+--- log4cpp/src/Makefile.in.no-snprintf 2019-11-20 09:24:22.936246987 -0700
++++ log4cpp/src/Makefile.in 2019-11-20 09:25:05.758058149 -0700
+@@ -297,7 +297,7 @@ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ lib_LTLIBRARIES = liblog4cpp.la
+ INCLUDES = -I$(top_srcdir)/include
+-noinst_HEADERS = snprintf.c Localtime.hh
++noinst_HEADERS = Localtime.hh
+ liblog4cpp_la_SOURCES = Appender.cpp AppenderSkeleton.cpp \
+ AppendersFactory.cpp BufferingAppender.cpp FactoryParams.cpp \
+ LayoutsFactory.cpp LevelEvaluator.cpp Localtime.cpp \
diff --git a/log4cpp-1.0-remove-pc-cflags.patch b/log4cpp-1.0-remove-pc-cflags.patch
new file mode 100644
index 0000000..00d4d3e
--- /dev/null
+++ b/log4cpp-1.0-remove-pc-cflags.patch
@@ -0,0 +1,20 @@
+--- log4cpp-1.0.orig/log4cpp.pc.in 2008-12-12 11:37:04.000000000 -0500
++++ log4cpp-1.0/log4cpp.pc.in 2008-12-12 12:07:24.000000000 -0500
+@@ -6,5 +6,5 @@
+ Name: @PACKAGE@
+ Description: C++ library for flexible logging, modeled after Log4j
+ Version: @VERSION@
+-Libs: -L${libdir} @log4cpp_libs@
++Libs: -L${libdir}
+ Cflags: -I${includedir} @log4cpp_cflags@
+--- log4cpp-1.0.orig/m4/ac_config_pkgconfig_in.m4 2004-01-27 05:27:38.000000000 -0500
++++ log4cpp-1.0/m4/ac_config_pkgconfig_in.m4 2008-12-12 12:10:47.000000000 -0500
+@@ -121,7 +121,7 @@
+ fi
+ echo 'Version: @VERSION@' >>$PKGCONFIG_FILE
+ echo 'Libs: -L${libdir} @MODULE_DOWN[]_libs@' >>$PKGCONFIG_FILE
+-echo 'Cflags: -I${includedir} @MODULE_DOWN[]_cflags@' >>$PKGCONFIG_FILE
++echo 'Cflags: -I${includedir}' >>$PKGCONFIG_FILE
+ m4_pushdef([PKGCONFIG_UP], [m4_translit([$1], [a-z], [A-Z])])dnl
+ PKGCONFIG_UP[]_PKGCONFIG="PKGCONFIG_DIR[]$1-config"
+ AC_SUBST(PKGCONFIG_UP[]_PKGCONFIG)
diff --git a/log4cpp-configure-c99.patch b/log4cpp-configure-c99.patch
new file mode 100644
index 0000000..a2c18fd
--- /dev/null
+++ b/log4cpp-configure-c99.patch
@@ -0,0 +1,18 @@
+Do not call the undeclared exit function. This avoids an implicit
+function declaration, which future compilers may reject by default.
+
+Submitted upstream: <https://sourceforge.net/p/log4cpp/patches/49/>
+
+diff --git a/m4/AC_FUNC_SNPRINTF.m4 b/m4/AC_FUNC_SNPRINTF.m4
+index 08af5218eaf90e56..3d77d0f874f39ba0 100644
+--- a/m4/AC_FUNC_SNPRINTF.m4
++++ b/m4/AC_FUNC_SNPRINTF.m4
+@@ -13,7 +13,7 @@ dnl
+ AC_DEFUN([AC_FUNC_SNPRINTF],
+ [AC_CACHE_CHECK(for working snprintf, ac_cv_func_snprintf,
+ [AC_TRY_RUN([#include <stdio.h>
+-int main () { int l = snprintf(NULL,0,"%d",100); exit (!((3 <= l) || (-1 == l))); }
++int main () { int l = snprintf(NULL,0,"%d",100); return !((3 <= l) || (-1 == l)); }
+ ], ac_cv_func_snprintf=yes, ac_cv_func_snprintf=no,
+ ac_cv_func_snprintf=no)])
+ if test $ac_cv_func_snprintf = yes; then
diff --git a/log4cpp-version-1.1.3.patch b/log4cpp-version-1.1.3.patch
new file mode 100644
index 0000000..79e2999
--- /dev/null
+++ b/log4cpp-version-1.1.3.patch
@@ -0,0 +1,9 @@
+diff -uNr log4cpp.ORIG/configure.in log4cpp/configure.in
+--- log4cpp.ORIG/configure.in 2015-03-23 14:35:01.946455951 +0100
++++ log4cpp/configure.in 2015-03-23 14:35:25.304824413 +0100
+@@ -1,4 +1,4 @@
+-AC_INIT(log4cpp, 1.1)
++AC_INIT(log4cpp, 1.1.3)
+
+ # autoconf 2.50 or higher to rebuild aclocal.m4, because the
+ # AC_CREATE_PREFIX_CONFIG_H macro needs the AS_DIRNAME macro.
diff --git a/log4cpp.spec b/log4cpp.spec
new file mode 100644
index 0000000..01b0e07
--- /dev/null
+++ b/log4cpp.spec
@@ -0,0 +1,98 @@
+Name: log4cpp
+Version: 1.1.3
+Release: %autorelease
+Summary: C++ logging library
+
+# Automatically converted from old format: LGPLv2+ - review is highly recommended.
+License: LicenseRef-Callaway-LGPLv2+
+URL: http://sourceforge.net/projects/log4cpp/
+Source0: http://downloads.sourceforge.net/log4cpp/%{name}-%{version}.tar.gz
+# Fix errors when compiling with gcc >= 4.3
+Patch0: log4cpp-1.0-gcc43.patch
+# Don't put build cflags in .pc
+Patch1: log4cpp-1.0-remove-pc-cflags.patch
+# Install docs into DESTDIR
+Patch2: log4cpp-1.0-fix-doc-dest.patch
+# Don't try to build snprintf.c
+Patch3: log4cpp-1.0-no-snprintf.patch
+# Version is actually 1.1.3
+Patch4: log4cpp-version-1.1.3.patch
+Patch5: 03_aclocal_automake.diff
+Patch6: log4cpp-configure-c99.patch
+
+BuildRequires: gcc-c++
+BuildRequires: doxygen
+BuildRequires: automake, autoconf, libtool
+BuildRequires: make
+
+%description
+A library of C++ classes for flexible logging to files, syslog, IDSA and
+other destinations. It is modeled after the Log for Java library
+(http://www.log4j.org), staying as close to their API as is reasonable.
+
+%package devel
+Summary: Header files, libraries and development man pages %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+%if 0%{?el4}%{?el5}
+Requires: pkgconfig
+%endif
+
+%description devel
+This package contains the header files, static libraries and development
+man pages for %{name}. If you like to develop programs using %{name},
+you will need to install %{name}-devel.
+
+%package doc
+Summary: Development documentation for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description doc
+This package contains the development documentation for %{name}.
+If you like to documentation to develop programs using %{name},
+you will need to install %{name}-devel.
+
+%prep
+%setup -q -n log4cpp
+%patch -P0 -p1
+%patch -P1 -p1
+%patch -P2 -p1
+%patch -P3 -p1 -b .no-snprintf
+%patch -P4 -p1
+%patch -P5 -p1
+%patch -P6 -p1
+# Delete non-free (but freely distributable) file under Artistic 1.0
+# just to be sure we're not using it.
+rm -rf src/snprintf.c
+#Convert line endings.
+iconv -f iso8859-1 -t utf-8 ChangeLog > ChangeLog.conv && mv -f ChangeLog.conv ChangeLog
+
+%build
+autoreconf -fi
+%configure
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot}
+mv %{buildroot}/usr/share/doc/log4cpp-%{version} rpmdocs
+rm -f %{buildroot}%{_libdir}/*.a
+rm -f %{buildroot}%{_libdir}/*.la
+
+%ldconfig_scriptlets
+
+%files
+%{_libdir}/liblog4cpp.so.5*
+%doc ChangeLog COPYING
+
+%files devel
+%{_bindir}/log4cpp-config
+%{_includedir}/log4cpp/
+%{_libdir}/liblog4cpp.so
+%{_libdir}/pkgconfig/log4cpp.pc
+%{_datadir}/aclocal/log4cpp.m4
+%{_mandir}/man3/log4cpp*
+
+%files doc
+%doc rpmdocs/*
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..54df4dc
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (log4cpp-1.1.3.tar.gz) = 88e5e10bce8d7d6421c3dcf14aa25385159c4ae52becdc1f3666ab86e1ad3f633786d82afe398c517d4faaa57b3e7b7c0b524361d81c6b9040dbded5cecc19de
reply other threads:[~2026-05-29 0:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rpms-log4cpp-8b2a70077628@fedoraproject.org \
--to=releng-bot@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox