Re: [Rust-users] crust sample does not work
Status: Beta
Brought to you by:
psychogenic
From: Belden L. <bl...@ii...> - 2004-05-05 14:36:38
|
On Wed, 2004-05-05 at 05:53, Hans Van Es wrote: > Hello, > > I installed the rust package, and I tried to create a > test package using rust. > Here, I get an error when trying to do the generate > package. > > Then I try the sample from the website, for use with > crust. Here I get an error on the line: > > crust --makerpm --nomd5 --name myrpm \ > --version 0.1 --release 2 --group \ > "Applications/Text" --license "GNU GPL" \ > --sum "A short summary" --desc "A longer \ > description of the package" > > the error is: > ERROR: Mismatched md5 sum options. > No files added, aborting. > > What do I have to do to be able to use crust / rust?You need to provide a destination directory. 'man crust' and look at the synopsis. I see the problem: you were viewing http://rust.sourceforge.net/crust.html which has a few typos on it. (In one place the word "crush" is used where "crust" is actually what is meant.) At any rate, http://rust.sourceforge.net/crust.html shows 3. Create the RPM You can create the RPM with cRUST by calling the program from the command line like so $ crust --makerpm --nomd5 --name myrpm \ --version 0.1 --release 2 --group \ "Applications/Text" --license "GNU GPL" \ --sum "A short summary" --desc "A longer \ description of the package" ~/newroot The ~/newroot there is the destination directory. You probably thought the ~/newroot was unrelated to the 'crust' example command because of the extra whitespace. (I think that would be an easy mistake to make.) $ crust --makerpm --nomd5 --name myrpm \ --version 0.1 --release 2 --group \ "Applications/Text" --license "GNU GPL" \ --sum "A short summary" --desc "A longer \ description of the package" ~/newroot is a better way of presenting the example command. hth Belden |