Browse Source

upgrading package: modsurvey 3.2.3 -> 3.2.4

Thomas Lotterer 19 years ago
parent
commit
680d206238
2 changed files with 9 additions and 6 deletions
  1. 2 2
      modsurvey/modsurvey.patch
  2. 7 4
      modsurvey/modsurvey.spec

+ 2 - 2
modsurvey/modsurvey.patch

@@ -1,6 +1,6 @@
 Index: installer.pl
---- installer.pl.orig	2006-01-23 13:05:47 +0100
-+++ installer.pl	2006-03-05 15:35:07 +0100
+--- mod_survey/installer.pl.orig	2006-01-23 13:05:47 +0100
++++ mod_survey/installer.pl	2006-03-05 15:35:07 +0100
 @@ -184,12 +184,13 @@
  $windows                   = 0;
  $distrib                   = "unix/generic";

+ 7 - 4
modsurvey/modsurvey.spec

@@ -32,8 +32,8 @@ Distribution: OpenPKG
 Class:        EVAL
 Group:        Web
 License:      GPL
-Version:      3.2.3
-Release:      20060305
+Version:      3.2.4
+Release:      20060704
 
 #   list of sources
 Source0:      http://www.modsurvey.org/download/tarballs/modsurvey-%{version}.tgz
@@ -64,7 +64,7 @@ AutoReqProv:  no
     }
 
 %prep
-    %setup -q
+    %setup -q -c
     %setup -q -D -T -a 1
     %patch -p0
 
@@ -81,8 +81,11 @@ AutoReqProv:  no
 
     #   perform standard installation procedure
     %{l_shtool} install -c %{l_value -s -a} \
-        installer.pl installer
+        mod_survey/installer.pl mod_survey/installer
+    (
+    cd mod_survey &&
     %{l_prefix}/bin/perl installer </dev/null
+    ) || exit $?
 
     #   post-adust installation paths
     mv  $RPM_BUILD_ROOT%{l_prefix}/lib/modsurvey/survey.conf \