PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

Newbie question about RPM


Your Ad Here

Your Ad Here

Thanks to your help in the past. I have progressed but I still have a few issues to deal with. Any suggestions would be appreciated.

My first problem has to do with permissions. When logged on as myself on my own little Linux (Suse) system, if I try to build my binary rpm file I get errors as my install commands can't change permissions in the selected usr-share-man-man7 directory. I removed the -o 0 -g 0 options from install and was able to proceed (but I do not know if that was a good thing to do?) But then when I went to install the resulting .rpm file, I also got errors as it could not lock the rpm database. I could only successfully install when logged on as root. When I was root, the install worked fine. But I do not know if that is reasonable for an end-user. Question: Should I be building as root and should end-users need to be root to install - or am I missing something?

Also, I sent my .rpm file to a friend to try and it complained that ãwarning: user jeff does not exist - using rootä. Which also makes me think that I should have been logged on as root when I built my binary rpm file?? (but lots of doc I have read warns not to do this). So I presume I am doing something wrong here.

Note that there is nothing to build so my %build section is empty. Can I remove it entirely?

Also, I seem to remember seeing some doc about a %noarch directive ö which I think I need here as there is nothing architecture-specific about a handful of doc files. Is there something needed when the rpm is not restricted by any architecture? (i.e. was my memory right and it was %noarch?)

Question about the Copyright: I have seen several sets of doc which lists very specify copyright text and one which said to just use "commercial" for a company's copyrighted material (and the word "commercial" was not in other doc I found about what the copyright line should say). What should I have there?

Best Linux Distro for a home user
There is none; be conent if you find the distribution that is best for you. Probably any of the major distributions will work well for you. That's a little light be...

Anyway, my current spec file is essentially the following - any and all suggestions appreciated:

Prefix:usr-share

Summary: A set of man pages

Name: ABCman

Version: 4.0

Release: 1

Copyright: commercial

Best Linux Distro for a home user 2918
Tavish Muldoon mail there My machine's a Duron 750MHz, 768MB of RAM. Here's my approximate (from memory) parbreastion arrangement: (root)dev-hda1 18GB ext3 filesystem, with 12GB free. I've got XFCE, GNOME, *and* KDE installed...

Group: Development-Languages

Source: ABCman-4.0.tar.gz

Distribution: ABC version 4.0

Vendor: ABC co.

Packager: Jeff

Best Linux Distro for a home user 2916
On Tue, 08 Feb 2005 07:54:30 -0800, Tavish Muldoon I'd add some more RAM and a bigger disk if I were you, 256M is a little light for a modern...

%description

Install this if you would like man page documentation for abc.

%prep

%setup -q

%build

# Install just copies files into selected man7 directory - create if needed

%install

install -m 755 -o 0 -g 0 -dusr-share-man

install -m 755 -o 0 -g 0 -dusr-share-man-man7

install -m 755 -o 0 -g 0 cob.1usr-share-man-man7-abc.7

%files

%docusr-share-man-man7-abc.7

As before, thanks for all the help!

Jeff



Your Ad Here

List | Previous | Next

Best Linux Distro for a home user

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

Newbie question about RPM