public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: jorton <jorton@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/webalizer] epel10: - use %{_localestatedir}, remove tabs, require httpd not webserver, mark
Date: Sun, 08 Nov 2026 08:16:10 GMT	[thread overview]
Message-ID: <179412577045.1.11409783936776919609.rpms-webalizer-319ce9a1b9aa@fedoraproject.org> (raw)

        A new commit has been pushed.

        Repo   : rpms/webalizer
        Branch : epel10
        Commit : 319ce9a1b9aa54c2e8a80cfb283f3778103a367c
        Author : jorton <jorton@fedoraproject.org>
        Date   : 2008-02-07T16:21:43+00:00
        Stats  : +17/-12 in 1 file(s)
        URL    : https://src.fedoraproject.org/rpms/webalizer/c/319ce9a1b9aa54c2e8a80cfb283f3778103a367c?branch=epel10

        Log:
        - use %{_localestatedir}, remove tabs, require httpd not webserver, mark
webalizer.conf config(noreplace) (#226536)

---
diff --git a/webalizer.spec b/webalizer.spec
index 42ea7d4..f6719b5 100644
--- a/webalizer.spec
+++ b/webalizer.spec
@@ -5,7 +5,7 @@ Name: webalizer
 Summary: A flexible Web server log file analysis program
 Group: Applications/Internet
 Version: 2.01_10
-Release: 34
+Release: 35
 URL: http://www.mrunix.net/webalizer/
 License: GPLv2+
 Source0: ftp://ftp.mrunix.net/pub/webalizer/%{name}-%{ver}-%{patchlevel}-src.tar.bz2
@@ -31,7 +31,7 @@ Patch15: webalizer-2.01-10-agent-default.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: gd-devel, db4-devel
 Requires(pre): /usr/sbin/useradd
-Requires: webserver, crontabs
+Requires: httpd, crontabs
 
 %description
 The Webalizer is a Web server log analysis program. It is designed to
@@ -71,15 +71,16 @@ rm -fr $RPM_BUILD_ROOT
 
 mkdir -p $RPM_BUILD_ROOT%{_bindir} \
          $RPM_BUILD_ROOT/%{_mandir}/man1 \
-         $RPM_BUILD_ROOT/var/www/usage \
+         $RPM_BUILD_ROOT%{_localstatedir}/www/usage \
          $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily
 
-mkdir -p $RPM_BUILD_ROOT/var/lib/webalizer
+mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/webalizer
 
 %makeinstall
 install -p -m 644 $RPM_SOURCE_DIR/webalizer.conf $RPM_BUILD_ROOT%{_sysconfdir}
-install -p -m 644 *.png $RPM_BUILD_ROOT/var/www/usage
-install -p -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/00webalizer
+install -p -m 644 *.png $RPM_BUILD_ROOT%{_localstatedir}/www/usage
+install -p -m 755 $RPM_SOURCE_DIR/webalizer.cron \
+         $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/00webalizer
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d
 install -p -m 644 $RPM_SOURCE_DIR/webalizer-httpd.conf \
         $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/webalizer.conf
@@ -91,21 +92,25 @@ rm -rf $RPM_BUILD_ROOT
 
 %pre
 /usr/sbin/adduser -c "Webalizer" -u 67 \
-	-s /sbin/nologin -r -d /var/www/usage webalizer 2>/dev/null || :
+    -s /sbin/nologin -r -d %{_localstatedir}/www/usage webalizer 2>/dev/null || :
 
 %files
 %defattr(-,root,root)
 %doc README
 %{_mandir}/man1/webalizer.1*
 %{_bindir}/*
-%config %{_sysconfdir}/webalizer.conf
-%config(noreplace) %{_sysconfdir}/cron.daily/00webalizer
+%config(noreplace) %{_sysconfdir}/webalizer.conf
+%{_sysconfdir}/cron.daily/00webalizer
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/webalizer.conf
-%attr(-, webalizer, root) %dir /var/www/usage
-%attr(-, webalizer, root) %dir /var/lib/webalizer
-%attr(-, webalizer, root) /var/www/usage/*.png
+%attr(-, webalizer, root) %dir %{_localstatedir}/www/usage
+%attr(-, webalizer, root) %dir %{_localstatedir}/lib/webalizer
+%attr(-, webalizer, root) %{_localstatedir}/www/usage/*.png
 
 %changelog
+* Thu Feb  7 2008 Joe Orton <jorton@redhat.com> 2.01_10-35
+- use %%{_localestatedir}, remove tabs, require httpd not
+  webserver, mark webalizer.conf config(noreplace) (#226536)
+
 * Thu Aug 30 2007 Joe Orton <jorton@redhat.com> 2.01_10-34
 - clarify License tag
 

                 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=179412577045.1.11409783936776919609.rpms-webalizer-319ce9a1b9aa@fedoraproject.org \
    --to=jorton@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