Re: Best way to filter automated dependencies

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

 



On Thu, 9 Jun 2011, Daniel Neuberger wrote:

On Thu, Jun 9, 2011 at 12:21 PM, Stuart D. Gathman <stuart@xxxxxxxx> wrote:
Your dummy package omits BuildRoot, and actually includes files when
you "build" it (failing if they are missing).

I don't think I follow what you're saying/showing.  If the dummy
package actually includes the files, it's no longer a dummy package,
right?  Also, wouldn't the files provided by the dummy package
conflict or overwrite the files provided by the actual package?

The package just archives the existing files.  When you install it on
the same system (with the externally installed files), it replaces
the files with identical copies.  *BUT*, now RPM will track any changes
to the externally installed files (rpm -V) and you can install the package
on other binary systems - so the Provides is not a lie.

A variation on this is my rpms to take a firefox binary tarball, and
build an rpm from it by including the tarball as a "source", and installing
the tarball and then packaging it the RPM way.  This lets you conveniently
test firefox version others than what your distro provides, without having
to build them all yourself.

--
	      Stuart D. Gathman <stuart@xxxxxxxx>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/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