public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/inn] epel10.3: add sparc arches to the list for -fPIC(done in F9 branch before), activate
@ 2026-08-26  8:53 Ondrej Vasik
  0 siblings, 0 replies; only message in thread
From: Ondrej Vasik @ 2026-08-26  8:53 UTC (permalink / raw)
  To: git-commits

        A new commit has been pushed.

        Repo   : rpms/inn
        Branch : epel10.3
        Commit : 4de897f8922f75f0679796f9e965a2d9ca29c5da
        Author : Ondrej Vasik <ovasik@fedoraproject.org>
        Date   : 2008-05-19T14:15:27+00:00
        Stats  : +13/-8 in 2 file(s)
        URL    : https://src.fedoraproject.org/rpms/inn/c/4de897f8922f75f0679796f9e965a2d9ca29c5da?branch=epel10.3

        Log:
        add sparc arches to the list for -fPIC(done in F9 branch before), activate
forgotten nologinshell man pages patch

---
diff --git a/inn-2.4.3-nologinshell.patch b/inn-2.4.3-nologinshell.patch
index f42b7a4..6bb859c 100644
--- a/inn-2.4.3-nologinshell.patch
+++ b/inn-2.4.3-nologinshell.patch
@@ -5,23 +5,23 @@ diff -urNp inn-2.4.3-orig/doc/man/rc.news.8 inn-2.4.3/doc/man/rc.news.8
  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"

diff --git a/inn.spec b/inn.spec
index 7a2c357..4f17185 100644
--- a/inn.spec
+++ b/inn.spec
@@ -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 @@ Patch6: inn-2.4.1.posix.patch
 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 @@ local news servers.
 %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 @@ perl -pi -e 's/LOCK_WRITE/LLOCK_WRITE/' `find . -type f`
 %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 @@ exit 0
 %{_mandir}/man1/inews*
 
 %changelog
+* Mon May 19 2008 Ondrej Vasik <ovasik@redhat.com> - 2.4.4-2
+- add sparc arches to the list for -fPIC(Dennis Gilmore)
+
 * Thu May 15 2008 Ondrej Vasik <ovasik@redhat.com> - 2.4.4-1
 - new upstream release 2.4.4
 

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

only message in thread, other threads:[~2026-08-26  8:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-26  8:53 [rpms/inn] epel10.3: add sparc arches to the list for -fPIC(done in F9 branch before), activate Ondrej Vasik

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