diff --git a/nmh-1.1-warning.diff b/nmh-1.1-warning.diff new file mode 100644 index 0000000..3a3c0f7 --- /dev/null +++ b/nmh-1.1-warning.diff @@ -0,0 +1,11 @@ +--- uip/msgchk.c ++++ uip/msgchk.c +@@ -307,7 +307,7 @@ + if (vecp == 0) { + char *home; + +- home = (uid = geteuid()) ? home = getenv ("HOME") : NULL; ++ home = (uid = geteuid()) ? getenv ("HOME") : NULL; + if (home == NULL) { + pw = getpwnam (user); + if (pw == NULL) diff --git a/nmh.changes b/nmh.changes index fd9026d..2611144 100644 --- a/nmh.changes +++ b/nmh.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jan 26 01:53:22 CET 2007 - ro@suse.de + +- silence a compiler warning + ------------------------------------------------------------------- Wed Jan 25 21:38:46 CET 2006 - mls@suse.de diff --git a/nmh.spec b/nmh.spec index 9c63915..672c563 100644 --- a/nmh.spec +++ b/nmh.spec @@ -1,30 +1,31 @@ # # spec file for package nmh (Version 1.1) # -# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://www.suse.de/feedback/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild -Name: nmh -BuildRequires: postfix -License: Other License(s), see package -Group: Productivity/Networking/Email/Utilities -Requires: smtp_daemon, less -Provides: mh -Obsoletes: mh -Autoreqprov: on -Version: 1.1 -Release: 188 -Summary: Unix Mail Handler -URL: http://www.mhost.com/nmh/ -Source: %{name}-%{version}-RC4.tar.bz2 -Patch: %{name}-%{version}-destdir.diff -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Name: nmh +BuildRequires: postfix +License: Other License(s), see package +Group: Productivity/Networking/Email/Utilities +Requires: smtp_daemon, less +Provides: mh +Obsoletes: mh +Autoreqprov: on +Version: 1.1 +Release: 221 +Summary: Unix Mail Handler +URL: http://www.mhost.com/nmh/ +Source: %{name}-%{version}-RC4.tar.bz2 +Patch: %{name}-%{version}-destdir.diff +Patch1: %{name}-%{version}-warning.diff +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description nmh (new MH) is a powerful electronic mail handling system. It was @@ -33,10 +34,11 @@ the RAND Corporation and the University of California. It is intended to be a (mostly) compatible drop-in replacement for MH. nmh consists of a collection of fairly simple single-purpose programs -to send, receive, save, retrieve, and manipulate e-mail messages. Since -nmh is a suite rather than a single monolithic program, you may freely -intersperse nmh commands with other commands at your shell prompt, or -write custom scripts which use these commands in flexible ways. +to send, receive, save, retrieve, and manipulate e-mail messages. +Because nmh is a suite rather than a single monolithic program, you may +freely intersperse nmh commands with other commands at your shell +prompt or write custom scripts that use these commands in flexible +ways. @@ -47,6 +49,7 @@ Authors: %prep %setup -q -n %name-%version-RC4 %patch -p1 +%patch1 %build libtoolize --copy --force @@ -77,6 +80,8 @@ make CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT install %doc docs/TODO docs/README* COPYRIGHT %changelog -n nmh +* Fri Jan 26 2007 - ro@suse.de +- silence a compiler warning * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Mon Oct 03 2005 - mmj@suse.de