rpms/inn/devel inn-2.4.3-nologinshell.patch, 1.1, 1.2 inn.spec, 1.45, 1.46

Ondrej Vasik (ovasik) fedora-extras-commits at redhat.com
Mon May 19 14:16:15 UTC 2008


Author: ovasik

Update of /cvs/extras/rpms/inn/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12839

Modified Files:
	inn-2.4.3-nologinshell.patch inn.spec 
Log Message:
add sparc arches to the list for -fPIC(done in F9 branch before), activate forgotten nologinshell man pages patch

inn-2.4.3-nologinshell.patch:

Index: inn-2.4.3-nologinshell.patch
===================================================================
RCS file: /cvs/extras/rpms/inn/devel/inn-2.4.3-nologinshell.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- inn-2.4.3-nologinshell.patch	10 Apr 2008 10:54:06 -0000	1.1
+++ inn-2.4.3-nologinshell.patch	19 May 2008 14:15:27 -0000	1.2
@@ -5,23 +5,23 @@
  To start \s-1INN\s0 and leave certain error messages going to the terminal:
  .PP
  .Vb 1
--\&       su - news -c ~news/bin/rc.news
-+\&       su -m news -c /etc/rc.news
+-\&       su \- news \-c ~news/bin/rc.news
++\&       su \-m news \-c /etc/rc.news
  .Ve
  .PP
  To run \s-1INN\s0 at startup time from appropriate system boot scripts:
  .PP
  .Vb 1
--\&       su - news -c ~news/bin/rc.news >/dev/console
-+\&       su -m news -c /etc/rc.news >/dev/console
+-\&       su \- news \-c ~news/bin/rc.news >/dev/console
++\&       su \-m news \-c /etc/rc.news >/dev/console
  .Ve
  .PP
  To stop \s-1INN\s0 (throttling first):
  .PP
  .Vb 2
  \&       ~news/bin/ctlinnd throttle reason
--\&       su - news -c '~news/bin/rc.news stop'
-+\&       su -m news -c '/etc/rc.news stop'
+-\&       su \- news \-c '~news/bin/rc.news stop'
++\&       su \-m news \-c '/etc/rc.news stop'
  .Ve
  .SH "BUGS"
  .IX Header "BUGS"


Index: inn.spec
===================================================================
RCS file: /cvs/extras/rpms/inn/devel/inn.spec,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- inn.spec	15 May 2008 09:33:46 -0000	1.45
+++ inn.spec	19 May 2008 14:15:27 -0000	1.46
@@ -1,7 +1,7 @@
 Summary: The InterNetNews (INN) system, an Usenet news server
 Name: inn
 Version: 2.4.4
-Release: 1%{?dist}
+Release: 2%{?dist}
 #see LICENSE file for details
 License: GPL+ and BSD and MIT and Public Domain
 Group: System Environment/Daemons
@@ -21,6 +21,7 @@
 Patch7: inn-2.4.3.warn.patch
 Patch8: inn-2.4.2-makedbz.patch
 Patch9: inn-2.4.3.rcreaderaddrinuse.patch
+Patch10: inn-2.4.3-nologinshell.patch
 BuildRequires: perl-devel python db4-devel byacc krb5-devel pam-devel e2fsprogs-devel
 BuildRequires: perl(ExtUtils::Embed)
 Prereq: chkconfig, grep, coreutils, sed
@@ -81,6 +82,7 @@
 %patch7 -p1 -b .warn
 %patch8 -p1 -b .makedbz
 %patch9 -p1 -b .addrinuse
+%patch10 -p1 -b .nologin
 
 perl -pi -e 's/LOCK_READ/LLOCK_READ/' `find . -type f`
 perl -pi -e 's/LOCK_WRITE/LLOCK_WRITE/' `find . -type f`
@@ -88,7 +90,7 @@
 %build
 export DEFINE_INN_FLAGS="-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -DHAVE_ET_COM_ERR_H"
 
-%ifarch s390 s390x
+%ifarch s390 s390x sparc sparcv9 sparc64
 export CFLAGS="$RPM_OPT_FLAGS $DEFINE_INN_FLAGS -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
 %else
 export CFLAGS="$RPM_OPT_FLAGS $DEFINE_INN_FLAGS -fpic -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
@@ -323,6 +325,9 @@
 %{_mandir}/man1/inews*
 
 %changelog
+* Mon May 19 2008 Ondrej Vasik <ovasik at redhat.com> - 2.4.4-2
+- add sparc arches to the list for -fPIC(Dennis Gilmore)
+
 * Thu May 15 2008 Ondrej Vasik <ovasik at redhat.com> - 2.4.4-1
 - new upstream release 2.4.4
 




More information about the fedora-extras-commits mailing list