Ralf S. Engelschall 24 anni fa
parent
commit
a0863042d2
3 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 1 1
      myodbc/myodbc.spec
  2. 2 2
      nano/nano.spec
  3. 1 1
      nntpcache/nntpcache.spec

+ 1 - 1
myodbc/myodbc.spec

@@ -41,7 +41,7 @@ Source0:      http://www.mysql.com/Downloads/MyODBC/MyODBC-%{version}.tar.gz
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20011126.0, mysql, unixodbc
+BuildPreReq:  OpenPKG, openpkg >= 20011126.0, mysql, unixodbc, make
 PreReq:       OpenPKG, openpkg >= 20011126.0
 AutoReq:      no
 AutoReqProv:  no

+ 2 - 2
nano/nano.spec

@@ -41,7 +41,7 @@ Source0:      http://www.nano-editor.org/dist/v1.0/nano-%{version}.tar.gz
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20011126.0, slang
+BuildPreReq:  OpenPKG, openpkg >= 20011126.0, slang, make
 PreReq:       OpenPKG, openpkg >= 20011126.0
 AutoReq:      no
 AutoReqProv:  no
@@ -64,7 +64,7 @@ AutoReqProv:  no
 
 %install
     rm -rf $RPM_BUILD_ROOT
-    %{l_make} %{l_mflags} install prefix=$RPM_BUILD_ROOT%{l_prefix}
+    %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
     strip $RPM_BUILD_ROOT%{l_prefix}/bin/nano >/dev/null 2>&1 || true
     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
 

+ 1 - 1
nntpcache/nntpcache.spec

@@ -41,7 +41,7 @@ Source0:      ftp://ftp.nntpcache.org/pub/nntpcache/nntpcache-%{version}.tar.gz
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20011126.0
+BuildPreReq:  OpenPKG, openpkg >= 20011126.0, make
 PreReq:       OpenPKG, openpkg >= 20011126.0
 AutoReq:      no
 AutoReqProv:  no