[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Re: Best way to filter automated dependencies



On Thu, 9 Jun 2011, Daniel Neuberger wrote:

Or you can create dummy package with only missed provides and install it too.
This would be similar to saying our package provides the dependencies
(via the Provides line), but I don't want to do that because it leaves
the possibility of other packages falsely assuming our package
provides something it doesn't.  Good idea though.

Your dummy package omits BuildRoot, and actually includes files when
you "build" it (failing if they are missing).  For example (binary package from
obsolete machine still used in emulation):

---------
Summary: EDX Assembler
Name: edx-asm
Version: 1.1
Release: 1
License: Commercial
Group: System Environment/Base
BuildArch: noarch
Requires: edx >= 1.1.13

%description
Binary7 EDX programs for assembling EDL programs.  This package is separate
because the binaries are not version controlled or included in the
edx SRPM.

%files
/bms/edx/asm3.2
/bms/edx/asm5.2
--------------

If you list individual files instead of directories, you'll know if anything
disappeared.

--
	      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


[Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch List]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]