public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/slrn] epel10: Handle crontab files according to new guidelines
Date: Wed, 14 Oct 2026 13:16:35 GMT [thread overview]
Message-ID: <179198379526.1.17560416628746603971.rpms-slrn-0202d750fde0@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/slrn
Branch : epel10
Commit : 0202d750fde096068732456ca838c36ef28562f4
Author : Petr Písař <ppisar@redhat.com>
Date : 2013-07-29T14:54:33+02:00
Stats : +15/-10 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/slrn/c/0202d750fde096068732456ca838c36ef28562f4?branch=epel10
Log:
Handle crontab files according to new guidelines
---
diff --git a/slrn-pull-expire b/slrn-pull-expire
new file mode 100644
index 0000000..185ca14
--- /dev/null
+++ b/slrn-pull-expire
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+umask 022
+if [ -d /var/spool/slrnpull ]; then
+ exec runuser -s /bin/sh news -c 'slrnpull --expire'
+fi
diff --git a/slrn.spec b/slrn.spec
index 369ace1..708e1c4 100644
--- a/slrn.spec
+++ b/slrn.spec
@@ -1,12 +1,12 @@
Summary: A threaded Internet news reader
Name: slrn
Version: 1.0.1
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPLv2+
Group: Applications/Internet
URL: http://slrn.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-Source1: slrnpull-expire
+Source1: slrn-pull-expire
Source2: slrnpull.log
Source4: README.rpm-slrnpull
Patch1: slrn-0.9.9pre108-makefile.patch
@@ -29,6 +29,7 @@ for reading news offline is provided in the slrn-pull package.
Summary: Offline news reading support for the SLRN news reader
Group: Applications/Internet
Requires: slrn%{?_isa} = %{version}-%{release}
+Requires: crontabs
%description pull
The slrn-pull package provides the slrnpull utility, which allows you
@@ -86,14 +87,14 @@ exit 0
%doc COPYING COPYRIGHT changes.txt README
%doc doc/FAQ doc/FIRST_STEPS doc/README.* doc/THANKS doc/*.txt doc/slrn*.html
%doc doc/score.sl contrib
+%config(noreplace) %{_sysconfdir}/slrn.rc
%{_bindir}/slrn
%{_datadir}/slrn
-%config(noreplace) %{_sysconfdir}/slrn.rc
%{_mandir}/man1/slrn.1*
%files pull
%doc doc/slrnpull/*
-%{_sysconfdir}/cron.daily/slrnpull-expire
+%config(noreplace) %{_sysconfdir}/cron.daily/slrn-pull-expire
%config(noreplace) %{_sysconfdir}/logrotate.d/slrn-pull
%{_bindir}/slrnpull
%attr(775,news,news) %dir %{_var}/spool/slrnpull
@@ -102,6 +103,10 @@ exit 0
%{_mandir}/man1/slrnpull.1*
%changelog
+* Mon Jul 29 2013 Petr Pisar <ppisar@redhat.com> - 1.0.1-4
+- Handle crontab files according to new guidelines
+- slrnpull-expire crontab file renamed to slrn-pull-expire
+
* Tue Mar 05 2013 Petr Pisar <ppisar@redhat.com> - 1.0.1-3
- Require slang-slsh
diff --git a/slrnpull-expire b/slrnpull-expire
deleted file mode 100644
index 185ca14..0000000
--- a/slrnpull-expire
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-umask 022
-if [ -d /var/spool/slrnpull ]; then
- exec runuser -s /bin/sh news -c 'slrnpull --expire'
-fi
reply other threads:[~2026-10-14 13: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=179198379526.1.17560416628746603971.rpms-slrn-0202d750fde0@fedoraproject.org \
--to=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