public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Joe Orton <jorton@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/webalizer] epel10: build (conditionally) against libdb-devel
Date: Sun, 08 Nov 2026 08:16:22 GMT	[thread overview]
Message-ID: <179412578233.1.6402608472464483973.rpms-webalizer-83e86eb39c81@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/webalizer
Branch : epel10
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=epel10

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
 

                 reply	other threads:[~2026-11-08  8:16 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=179412578233.1.6402608472464483973.rpms-webalizer-83e86eb39c81@fedoraproject.org \
    --to=jorton@redhat.com \
    --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