diff --git a/inn.spec b/inn.spec index 745a9cb..73aec13 100644 --- a/inn.spec +++ b/inn.spec @@ -1,7 +1,7 @@ Summary: The InterNetNews system, an Usenet news server Name: inn Version: 2.5.3 -Release: 8%{?dist} +Release: 9%{?dist} #see LICENSE file for details License: GPLv2+ and BSD and MIT and Public Domain Group: System Environment/Daemons @@ -29,6 +29,7 @@ patch17: inn-2.5.2-pconf.patch Patch18: inn-2.5.2-smp.patch Patch19: inn-2.5.2-docrun.patch Patch20: inn-2.5.3-flex.patch +Patch21: inn-2.5.3-radius.patch BuildRequires: python db4-devel byacc krb5-devel pam-devel e2fsprogs-devel perl BuildRequires: perl(ExtUtils::Embed) flex systemd-units Requires(pre): shadow-utils @@ -113,6 +114,7 @@ exit 0 %patch18 -p1 -b .smp %patch19 -p1 -b .docrun %patch20 -p1 -b .lex +%patch21 -p1 -b .radius perl -pi -e 's/su news/su -m news/' ./INSTALL perl -pi -e 's/LOCK_READ/LLOCK_READ/' `find . -type f` @@ -217,6 +219,8 @@ D %{_localstatedir}/run/news 0755 news news - EOF install -d -m 0755 $RPM_BUILD_ROOT%{_localstatedir}/run/news +mv samples/radius.conf samples/inn-radius.conf + %post su -m news -c '/usr/libexec/news/makedbz -i -o' @@ -358,7 +362,7 @@ fi %config(noreplace) %{_sysconfdir}/news/.profile %config(noreplace) %{_sysconfdir}/news/nocem.ctl %config(noreplace) %{_sysconfdir}/news/incoming.conf -%config(noreplace) %{_sysconfdir}/news/radius.conf +%config(noreplace) %{_sysconfdir}/news/inn-radius.conf %config(noreplace) %{_sysconfdir}/news/ovdb.conf %config(noreplace) %{_sysconfdir}/news/newsfeeds %config(noreplace) %{_sysconfdir}/news/readers.conf @@ -557,6 +561,9 @@ fi %{_mandir}/man1/inews* %changelog +* Sun Feb 24 2013 Jochen Schmitt - 2.5.3-9 +- Fix name conflict with libradius + * Fri Jan 25 2013 Jochen Schmitt - 2.5.3-8 - Timer service units have to been enabled also