public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/webalizer] epel9: build (conditionally) against libdb-devel
@ 2026-11-08  8:17 Joe Orton
  0 siblings, 0 replies; only message in thread
From: Joe Orton @ 2026-11-08  8:17 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/webalizer
Branch : epel9
Commit : 83e86eb39c81a7f25dc992baabf5ef1ca28ca540
Author : Joe Orton <jorton@redhat.com>
Date   : 2012-04-25T10:58:40+01:00
Stats  : +11/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/webalizer/c/83e86eb39c81a7f25dc992baabf5ef1ca28ca540?branch=epel9

Log:
build (conditionally) against libdb-devel

---
diff --git a/webalizer.spec b/webalizer.spec
index 1c16f98..6d0fcc7 100644
--- a/webalizer.spec
+++ b/webalizer.spec
@@ -1,11 +1,17 @@
 %define ver 2.23
 %define patchlevel 05
 
+%if 0%{?fedora} < 18
+%global db_devel  db4-devel
+%else
+%global db_devel  libdb-devel
+%endif
+
 Name: webalizer
 Summary: A flexible Web server log file analysis program
 Group: Applications/Internet
 Version: 2.23_05
-Release: 3
+Release: 4%{?dist}
 URL: http://www.mrunix.net/webalizer/
 License: GPLv2+
 Source0: ftp://ftp.mrunix.net/pub/webalizer/%{name}-%{ver}-%{patchlevel}-src.tgz
@@ -17,7 +23,7 @@ Patch4: webalizer-2.21-02-underrun.patch
 Patch6: webalizer-2.23-05-confuser.patch
 Patch9: webalizer-2.23-05-groupvisit.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: gd-devel, db4-devel, bzip2-devel
+BuildRequires: gd-devel, %{db_devel}, bzip2-devel
 Requires(pre): /usr/sbin/useradd
 Requires: httpd, crontabs
 
@@ -85,6 +91,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(-, webalizer, root) %{_localstatedir}/www/usage/*.png
 
 %changelog
+* Wed Apr 25 2012 Joe Orton <jorton@redhat.com> - 2.23_05-4
+- build (conditionally) against libdb-devel
+
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.23_05-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-08  8:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-08  8:17 [rpms/webalizer] epel9: build (conditionally) against libdb-devel Joe Orton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox