Hope that helps.
I'm running RedHat 4.1 (kernel 2.0.27, fwiw), and I'd really like to
be able to build my own RPMs for the various software packages that I
install to make system management easier. I've got rpm v2.3.5
I tried this with an updated version of xlockmore (w/ shadow
passwords), and *almost* got it.
Here's my spec file:
Description: X screensaver/locker
chmod 4755 /usr/X11R6/bin/xlock
---- end spec file ---
Now, I know that Description has changed and it should really read
summary. Perhaps this is the problem?
My /etc/rpmrc file doesn't exist -- could this be the problem?
Anyway, I did a 'rpm -ba -v xlockmore-4.00-1.spec', and it
un-tarballed, built, etc. everything fine.
I then installed the resulting xlockmore-4.00-1.i386.rpm. The program
exists on my system (and works, too), but the package doesn't show up
when I do an 'rpm -qa'. In addition, if I try 'rpm -qilv xlockmore',
I get the following results:
[minbar (ttyp0):~]> rpm -qivl xlockmore
Name : xlockmore Distribution: (none)
Version : 4.00 Vendor: (none)
Release : 1 Build Date: Mon Feb 17 23:22:09 1997
Install date: Mon Feb 17 23:32:35 1997 Build Host: minbar.sid.rice.edu
Group : X11/Utilities Source RPM: xlockmore-4.00-1.src.rpm
Size : 790303
Summary : (none)
(Note that if I use -qil or just -qi, I get the expected results.) In
addition, if I do a query of this package from within glint, it
segfaults as well.
In addition: I've installed the source rpm, but I have no idea what
effect this had: it doesn't show up in any of the installed-package
lists, I can't find the source on my system anywhere (except in
/usr/src/redhat/SOURCES, where I myself put it).
Can anyone give any suggestions as to what I'm doing wrong here?
Thanks in advance for any help,