public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/slrn] epel10: Handle crontab files according to new guidelines
@ 2026-10-14 13:16 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-14 13:16 UTC (permalink / raw)
  To: git-commits

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

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

only message in thread, other threads:[~2026-10-14 13:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-14 13:16 [rpms/slrn] epel10: Handle crontab files according to new guidelines 

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