public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/inn] epel10.3: add support for large files
@ 2026-08-26  8:53 Martin Stransky
  0 siblings, 0 replies; only message in thread
From: Martin Stransky @ 2026-08-26  8:53 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/inn
Branch : epel10.3
Commit : f46c8c5dbf1ef582b66f8afcb8d9f44117406dbf
Author : Martin Stransky <stransky@fedoraproject.org>
Date   : 2005-04-07T09:44:35+00:00
Stats  : +7/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/inn/c/f46c8c5dbf1ef582b66f8afcb8d9f44117406dbf?branch=epel10.3

Log:
add support for large files

---
diff --git a/inn.spec b/inn.spec
index 6d24b75..24d3f89 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.2
-Release: 2
+Release: 3
 License: GPL
 Group: System Environment/Daemons
 Source0: ftp://ftp.isc.org/isc/inn/inn-%{version}.tar.gz
@@ -85,9 +85,9 @@ perl -pi -e 's/LOCK_WRITE/LLOCK_WRITE/' `find . -type f`
 export DEFINE_INN_FLAGS="-D_XOPEN_SOURCE=600 -D_BSD_SOURCE"
 
 %ifarch s390 s390x
-export CFLAGS="$RPM_OPT_FLAGS $DEFINE_INN_FLAGS -fPIC"
+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"
+export CFLAGS="$RPM_OPT_FLAGS $DEFINE_INN_FLAGS -fpic -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
 %endif
 
 with_tmp_path=/var/lib/news/tmp ./configure \
@@ -188,7 +188,7 @@ rm -f files.list files.main files.devel files.inews
 
 %post
 /sbin/chkconfig --add innd
-/usr/lib/news/bin/makedbz -i -o
+su news -c '/usr/lib/news/bin/makedbz -i -o'
 
 umask 002
 touch /var/log/news/news.notice
@@ -283,6 +283,9 @@ exit 0
 %{_mandir}/man1/inews*
 
 %changelog
+* Thu Apr  7 2005 Martin Stransky <stransky@redhat.com> 2.4.2-3
+- add support for large files
+
 * Mon Mar  7 2005 Martin Stransky <stransky@redhat.com>
 - rebuilt
 

^ 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 support for large files Martin Stransky

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