X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=bsd-games.spec;h=a8af3e598827ff12eb381f0ac0a4d89d0a0162a5;hb=00cff729396fa3f2eb24c29bdbf7afb75be520e3;hp=d8bbfaeb2af3ab50305da442a5e918994e302e79;hpb=2b0b26c10b4dd4ef00d0d9b3c9c52a3aa11354bc;p=packages%2Fbsd-games.git diff --git a/bsd-games.spec b/bsd-games.spec index d8bbfae..a8af3e5 100644 --- a/bsd-games.spec +++ b/bsd-games.spec @@ -13,10 +13,12 @@ Patch2: %{name}-from.patch Patch3: %{name}-ospeed.patch Patch4: %{name}-config.patch BuildRequires: ncurses-devel >= 5.0 +BuildRequires: words Requires: ncurses >= 5.0 Requires: textutils +Requires: words Requires: /usr/bin/frm -Buildroot: /tmp/%{name}-%{version}-root +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Bsd-games includes adventure, arithmetic, atc, backgammon, battlestar, bcd, @@ -41,7 +43,7 @@ teachgammon, tetris-bsd, trek, wargames, worm, worms i wump %patch4 -p1 %build -make LDFLAGS="-s" CFLAGS="$RPM_OPT_FLAGS" +make LDFLAGS="-s" CFLAGS="$RPM_OPT_FLAGS" SRCDIR=$RPM_BUILD_DIR %install rm -rf $RPM_BUILD_ROOT