ossp-pkg/shtool/shtool.spec 1.6 -> 1.7
--- shtool.spec 2000/10/05 12:02:06 1.6
+++ shtool.spec 2000/11/29 20:08:45 1.7
@@ -22,9 +22,14 @@
# It is part of the Shtool source tree and this way directly included
# in Shtool distribution tarballs. This way one can use a simple `rpm
# -tb shtool-1.X.Y.tar.gz' command to build binary RPM packages from a
-# Shtool distribution tarball.
+# original Shtool distribution tarball.
+
+%ifdef %{_prefix}
+%define prefix %{_prefix}
+%else
+%define prefix /usr/local
+%endif
-%define prefix /usr
%define ver 1.5.2
%define rel 1
@@ -50,11 +55,10 @@
especially can replace the old mkdir.sh, install.sh and related scripts.
%prep
-
%setup
%build
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
+./configure --prefix=%{prefix}
make
make test
|
|