srcpackage_local only works from clean build dir it seems
authorStephan Kulow <coolo@suse.de>
Thu, 7 Feb 2008 09:23:31 +0000 (09:23 +0000)
committerStephan Kulow <coolo@suse.de>
Thu, 7 Feb 2008 09:23:31 +0000 (09:23 +0000)
package/update_rpm

index e4574eac46c5b228b26b0bba4eb19f38ad94ed66..f6eb71bc9da45a1ffcf20eadcd7456d633f43dc4 100755 (executable)
@@ -1,8 +1,11 @@
+rm *.tar.bz2
 svn export http://svn.opensuse.org/svn/zypp/trunk/sat-solver
 rm -rf sat-solver/testsuite
 cd sat-solver
-cmake .
+mkdir build
+cd build
+cmake ..
 make srcpackage_local
-cp package/*es package/*ec package/*tar.bz2 ..
-cd ..
+cp package/*es package/*ec package/*tar.bz2 ../..
+cd ../..
 rm -rf sat-solver