Re: Specf file update

Steve G <[email protected]> Wed, 11 Feb 2004 15:39:16 -0800 (PST)
Newsgroups gmane.network.zeroconf.workers
Message-ID <[email protected]>
--0-1930227169-1076542756=:95500
Content-Type: text/plain; charset=us-ascii
Content-Id: 
Content-Disposition: inline

>I changed the rpm-based check a little bit, so that it looks 
>for /bin/rpm too when deciding if rpm should be run. Maybe 
>that fixes the mandrake detect problem. 

OK, Mandrake is detected correctly now. RH is still detected
correctly. Just so you know, the rpm -qa can take 20-30 seconds
to run.

When building the rpm, it executes configure twice. It didn't do
this on Sunday. I'm not sure what the problem is. It is probably
target or dependancy related. The problem is that on the Mandrake
side, the rpm doesn't build because it cannot find a file named
compile. This is right after the second run of configure and
probably during "make install". The Red Hat build runs configure
twice, but it completes.

Attached is one last patch for the spec file. I forgot to remove
the user accounts when uninstalling tmdns.

-Steve Grubb

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
--0-1930227169-1076542756=:95500
Content-Type: text/plain; name="tmdns-patch11.txt"
Content-Description: tmdns-patch11.txt
Content-Disposition: inline; filename="tmdns-patch11.txt"

diff -ur tmdns/tmdns.spec tmdns.e/tmdns.spec
--- tmdns/tmdns.spec	2004-02-11 07:24:41.000000000 -0500
+++ tmdns.e/tmdns.spec	2004-02-11 18:25:07.000000000 -0500
@@ -70,6 +70,8 @@
 
 %preun
 if [ "$1" = "0" ]; then
+   /usr/sbin/userdel tmdns 2> /dev/null || :
+   /usr/sbin/groupdel tmdns 2> /dev/null || :
    /sbin/service tmdns stop > /dev/null 2>&1
    /sbin/chkconfig --del tmdns
 fi

--0-1930227169-1076542756=:95500--


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click