
James Tremblay aka SLEducator ha scritto:
I have uploaded new code for the openSIS product. This is a stabilized version of the work done by the GSOC student and the community at opensis.sourceforge.net I am having some issues with modifying the "spec" file for the build service. Would someone be able to to look at the log and spec files and give me some hints. I want to learn to manage this project but could us some assistance. Thanks James
error: Installed (but unpackaged) file(s) found: that means that you should "uncomment" or write a new %files section. it's the easiest way. i saw also lots and lots of .svn folders, they are not supposed to be there. you should remove them from spec file, or better repack the source without them. to do that, put the spurce into an empty folder and run the attached script like "./myRepack tarball.tar.gz" Andrea -- ------------------------------------------ Andrea Florio QSI International School of Brindisi Sys Admin openSUSE-Education Administrator openSUSE Official Member (anubisg1) Email: andrea@opensuse.org Packman Packaging Team Email: andrea@links2linux.de Web: http://packman.links2linux.org/ Cell: +39-328-7365667 ------------------------------------------ #!/bin/bash #set -x function usage () { echo "`basename $0` archiv-file [del]" exit 1 } if [ -z "$1" ]; then usage fi # full name of archiv myPackage=$1 # extract echo "`basename $0` started" echo "unpacking $myPackage ..." case $myPackage in *.gz) tar -xzf $myPackage myPackageBaseName=`basename $myPackage .tar.gz` ;; *.tgz) tar -xzf $myPackage myPackageBaseName=`basename $myPackage .tgz` ;; *.bz2) tar -xjf $myPackage myPackageBaseName=`basename $myPackage .tar.bz2` ;; *.zip) unzip -q $myPackage myPackageBaseName=`basename $myPackage .zip` ;; *.rar) rar x $myPackage myPackageBaseName=`basename $myPackage .rar` ;; *) echo "unknown archive type $myPackage" exit 1 ;; esac # name of directory myPackageDir="`find -maxdepth 1 -name '[^.]*' -type d`" # repack without cvs, svn, arch, darcs files as *.tar.bz2 echo "repacking $myPackage as $myPackageBaseName.tar.bz2 ..." tar cj \ --exclude CVS \ --exclude ".cvsignore" \ --exclude ".svn" \ --exclude ".osc" \ --exclude ".arch-ids" \ --exclude ".arch-inventory" \ --exclude "{arch}" \ --exclude "_darcs" \ -f $myPackageBaseName.tar.bz2 \ "$myPackageDir"/* # remove package directory rm -rf $myPackageDir # list result echo "" ls -al $myPackageBaseName*