Browse Source

do not destroy binary executable

Ralf S. Engelschall 21 years ago
parent
commit
5ad8884597
1 changed files with 4 additions and 4 deletions
  1. 4 4
      mrtg/mrtg.spec

+ 4 - 4
mrtg/mrtg.spec

@@ -34,7 +34,7 @@ Class:        EVAL
 Group:        Web
 License:      GPL
 Version:      2.10.14
-Release:      20040609
+Release:      20040706
 
 #   list of sources
 Source0:      http://people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/mrtg-%{version}.tar.gz
@@ -63,6 +63,9 @@ AutoReqProv:  no
 
 %prep
     %setup -q
+    %{l_shtool} subst \
+        -e 's;mrtg2";mrtg";g' \
+        bin/*
 
 %build
     CC="%{l_cc}" \
@@ -75,9 +78,6 @@ AutoReqProv:  no
         --with-z=%{l_prefix} \
         --with-png=%{l_prefix}
     %{l_make} %{l_mflags -O}
-    %{l_shtool} subst \
-        -e 's;mrtg2";mrtg";g' \
-        bin/*
 
 %install
     rm -rf $RPM_BUILD_ROOT