RE: [e-smith-devinfo] RPM Question

2003-01-21 Thread Jeremy McNicoll
> I think you'll find you need the -d option to cpio - "cpio -idv". > > Of course, if your intention is to modify an existing RPM, the best > process is to ask for the source RPM for the original package. What I was after is that I have the original RPM. I modified some of the source in the dire

Re: [e-smith-devinfo] RPM Question

2003-01-21 Thread Peter Samuel
On Tue, 21 Jan 2003, Charlie Brady wrote: > > On Tue, 21 Jan 2003, Peter Samuel wrote: > > > On Tue, 21 Jan 2003, Charlie Brady wrote: > > > > > I think you'll find you need the -d option to cpio - "cpio -idv". > > > > Depends on your version of cpio. My tests showed it wasn't necessary > > >

Re: [e-smith-devinfo] RPM Question

2003-01-21 Thread Charlie Brady
On Tue, 21 Jan 2003, Peter Samuel wrote: > On Tue, 21 Jan 2003, Charlie Brady wrote: > > > I think you'll find you need the -d option to cpio - "cpio -idv". > > Depends on your version of cpio. My tests showed it wasn't necessary > > rpm -q rpm cpio > rpm-4.0.4-7x.18 > cpio-2.4.2-26 H

Re: [e-smith-devinfo] RPM Question

2003-01-21 Thread Peter Samuel
On Tue, 21 Jan 2003, Charlie Brady wrote: > > On Tue, 21 Jan 2003, Peter Samuel wrote: > > > You can extract the files in an rpm using rpm2cpio. Then you can use > > that to build a new tarball. > > > > cd /var/tmp > > mkdir foo-1.1 > > cd foo-1.1 > > rpm2cpio foo-1.1.noarch.rpm

Re: [e-smith-devinfo] RPM Question

2003-01-21 Thread Charlie Brady
On Tue, 21 Jan 2003, Peter Samuel wrote: > You can extract the files in an rpm using rpm2cpio. Then you can use > that to build a new tarball. > > cd /var/tmp > mkdir foo-1.1 > cd foo-1.1 > rpm2cpio foo-1.1.noarch.rpm | cpio -iv I think you'll find you need the -d option to cpio

Re: [e-smith-devinfo] RPM Question

2003-01-21 Thread Peter Samuel
On Mon, 20 Jan 2003, Jeremy McNicoll wrote: > Is there a way to take a existing RPM and group together all the files > that belong to it into a tar? What I mean is that I have an rpm and I > changes to the files inside it, can I take the files that the RPM > contains with path etc and send to tar

Re: [e-smith-devinfo] RPM Question

2003-01-20 Thread Damien Curtain
On Mon, Jan 20, 2003 at 08:00:30PM -0500, Jeremy McNicoll wrote: > Is there a way to take a existing RPM and group together all the files > that belong to it into a tar? What I mean is that I have an rpm and I > changes to the files inside it, can I take the files that the RPM > contains with path

[e-smith-devinfo] RPM Question

2003-01-20 Thread Jeremy McNicoll
Is there a way to take a existing RPM and group together all the files that belong to it into a tar? What I mean is that I have an rpm and I changes to the files inside it, can I take the files that the RPM contains with path etc and send to tar to get the necessary files for me? So for example

Re: [e-smith-devinfo] Rpm question

2001-04-25 Thread Charlie Brady
On Wed, 7 Feb 2001, Justin Funke wrote: > %post > /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf > /sbin/e-smith/expand-template /etc/httpd/conf/php.ini > service httpd restart > > %postun > /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf > /sbin/e-smith/expand-template /etc/