Re: RPM | Without Source ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi
 
i did try creationg an RPM without giving a Source, but this was the error i got
 
error: No source number 0
Then i tried, giving an empty Source Tag, but gave me this error
 
error: line 10: Empty tag: Source
 
So, the workaround i found was to mention some souce, and then give a NoSource tag,
 
Source  : /xxx/yyy/zzz.tar.gz
NoSource : 0
 
This worked,and created a rpm with no source, but i dont like this solution as i have to mention a Source Tag even though i am not using it.
 
Please Advice ....

 
On 2/21/07, Jos Vos <jos@xxxxxx> wrote:
On Wed, Feb 21, 2007 at 03:53:05PM +0530, Lis Maria wrote:

> Is it possible to create an rpm without metioning the Source tag?

Yes.

> I mean can i create an empty rpm?.

Yes (but this is in fact unrelated to having a source or not - you could
even compile the whole world and not using any of the files in the
resulting rpm ;-)).

> The requrement was to create an rpm,but it need not install any files but
> perform some actions on some files already present in the target loc.

Yes, this is possible (just include %pre/%post/%trigger sections to
do what you want to do).

--
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux