فهرست منبع

try to fix building under Solaris and Darwin and remove an obsolete subst

Ralf S. Engelschall 17 سال پیش
والد
کامیت
9b14be003f
1فایلهای تغییر یافته به همراه2 افزوده شده و 5 حذف شده
  1. 2 5
      popt/popt.spec

+ 2 - 5
popt/popt.spec

@@ -32,7 +32,7 @@ Class:        BASE
 Group:        Libraries
 License:      LGPL
 Version:      1.14
-Release:      20080406
+Release:      20080408
 
 #   list of sources
 Source0:      http://rpm5.org/files/popt/popt-%{version}.tar.gz
@@ -66,11 +66,8 @@ AutoReqProv:  no
     %patch -p0
 
 %build
-    %{l_shtool} subst \
-        -e 's;test ! -f \.\./rpm\.c;false;' \
-        configure
     CC="%{l_cc}" \
-    CPPFLAGS="-DOPENPKG" \
+    CPPFLAGS="-DOPENPKG -DPOPT_fprintf=fprintf" \
     CFLAGS="%{l_cflags -O}" \
     GREP="grep" \
     ./configure \