Re: Overriding automatic dependancies

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

 



In regard to: Overriding automatic dependancies, Matt Pounsett said (at...:

>I'm trying to build an RPM from some perl code which 'require's some different
>perl modules depending on the system architecture (Win32 vs. *nix).
>Unfortunately, rpmbuild's automatic dependancy checking is determining that
>the RPM depends on the Win32 modules, which are not present on unix systems.
>Is there a way that I can override that one dependancy, without having to turn
>off all automatic dependancy checking?

Wow, this is almost verbatim of a question that was asked on the list
a couple weeks ago.  Did you check the archives for the list to see what
the responses were?

There is no such thing as "NoRequires: perl(Some::Win32:Module)", but
what some people apparently do is just add

	Provides: perl(Some::Win32::Module)

right to the spec file for the RPM that is mistakenly requiring it.
In other words, "lie, and say that we provide it".

Tim
-- 
Tim Mooney                              mooney@xxxxxxxxxxxxxxxxxxxxxxxxx
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


_______________________________________________
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