- added two patches:
-- fix to always use 32 bit file offsets in .dat files (as they are stored
in %%{_datadir})
-- support for -d option, to display source of fortune (i.e. file it comes
from)
Changed files:
fortune-mod.spec -> 1.20
Summary(uk): ðÒÏÇÒÁÍÁ, ÑËÁ ÄÒÕËÕ¤ "fortune" (×ÉÐÁÄËÏ×Ï ×ÉÂÒÁÎÅ ÐÏצÄÏÍÌÅÎÎÑ)
Name: fortune-mod
Version: 1.0
-Release: 23
+Release: 24
License: BSD
Group: Applications/Games
Source0: ftp://sunsite.unc.edu/pub/Linux/games/amusements/fortune/%{name}-9708.tar.gz
Patch0: %{name}-offense.patch
+Patch1: %{name}-32bit-offset.patch
+Patch2: %{name}-display-source.patch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q -n fortune-mod-9708
%patch0 -p1
+%patch1 -p1
+%patch2 -p1
%build
%{__make} CFLAGS="%{rpmcflags} \\\$(DEFINES)"