public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/slrn] epel10: - convert changes.txt to utf8, rename logrotate file, remove setgid from
@ 2026-10-14 13:16 Miroslav Lichvar
  0 siblings, 0 replies; only message in thread
From: Miroslav Lichvar @ 2026-10-14 13:16 UTC (permalink / raw)
  To: git-commits

        A new commit has been pushed.

        Repo   : rpms/slrn
        Branch : epel10
        Commit : c9a82cb6c7c908468dad7dcda519615bc74555e9
        Author : Miroslav Lichvar <mlichvar@fedoraproject.org>
        Date   : 2008-01-30T14:09:54+00:00
        Stats  : +12/-4 in 1 file(s)
        URL    : https://src.fedoraproject.org/rpms/slrn/c/c9a82cb6c7c908468dad7dcda519615bc74555e9?branch=epel10

        Log:
        - convert changes.txt to utf8, rename logrotate file, remove setgid from
slrnpull (#226422)

---
diff --git a/slrn.spec b/slrn.spec
index 080a5da..655cde5 100644
--- a/slrn.spec
+++ b/slrn.spec
@@ -1,7 +1,7 @@
 Summary: A threaded Internet news reader
 Name: slrn
 Version: 0.9.8.1pl1
-Release: 6.20070716cvs%{?dist}
+Release: 7.20070716cvs%{?dist}
 License: GPLv2+
 Group: Applications/Internet
 Source0: slrn-%{version}.tar.bz2
@@ -43,6 +43,10 @@ the slrnpull utility.
 %patch4 -p1 -b .nss
 %patch5 -p1 -b .getaddr
 
+for i in changes.txt; do
+  iconv -f iso8859-1 -t utf8 -o ${i}{_,} && touch -r ${i}{,_} && mv -f ${i}{_,}
+done
+
 %build
 sh ./autogen.sh -V
 %configure --with-nss --with-slrnpull \
@@ -62,7 +66,7 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{cron.daily,logrotate.d}
 install -d $RPM_BUILD_ROOT%{_var}/spool/slrnpull/out.going
 install -p doc/slrnpull/slrnpull.conf $RPM_BUILD_ROOT%{_var}/spool/slrnpull
 install -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily
-install -p -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/slrnpull
+install -p -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/slrn-pull
 install -p -m644 %{SOURCE4} doc/slrnpull/README.rpm
 
 chmod 644 doc/slrnpull/* contrib/*
@@ -89,14 +93,18 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root)
 %doc doc/slrnpull/*
 %{_sysconfdir}/cron.daily/slrnpull-expire
-%config(noreplace) %{_sysconfdir}/logrotate.d/slrnpull
-%attr(2750,root,news) %{_bindir}/slrnpull
+%config(noreplace) %{_sysconfdir}/logrotate.d/slrn-pull
+%{_bindir}/slrnpull
 %attr(775,news,news) %dir %{_var}/spool/slrnpull
 %attr(3777,news,news) %dir %{_var}/spool/slrnpull/out.going
 %attr(644,news,news) %config(noreplace) %{_var}/spool/slrnpull/slrnpull.conf
 %{_mandir}/man1/slrnpull.1*
 
 %changelog
+* Wed Jan 30 2008 Miroslav Lichvar <mlichvar@redhat.com> 0.9.8.1pl1-7.20070716cvs
+- convert changes.txt to utf8, rename logrotate file, remove
+  setgid from slrnpull (#226422)
+
 * Tue Jan 15 2008 Miroslav Lichvar <mlichvar@redhat.com> 0.9.8.1pl1-6.20070716cvs
 - add release to slrn-pull requirement (#226422)
 

^ 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: - convert changes.txt to utf8, rename logrotate file, remove setgid from Miroslav Lichvar

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