Re: Packaging Question

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

 





On Thu, Oct 26, 2017 at 9:12 PM Kevin Kofler <kevin.kofler@xxxxxxxxx> wrote:
William Moreno wrote:
> Provides: libnfsidmap-devel%{_isa} = %{epoch}:%{version}-%{release}
>
> Move this line under
>
> %package -n libnfsidmap-devel
>
> And you should get a clean update path

As Hedayat Vatankhah pointed out, if the package is called libnfsidmap-
devel, it does not actually need to Provide itself. So the
Obsoletes/Provides should go away entirely.

Obsoletes/Provides are needed if the BINARY package name changes. E.g., if
we had:
%package libnfsidmap-devel
(without the -n), generating a nfs-utils-libnfsidmap-devel subpackage, THEN
it would make sense to Obsolete and Provide libnfsidmap-devel in that
subpackage (NOT in the main package). But since %package -n is used to
recreate the same old package name, there is nothing to Obsolete and Provide
to begin with.



One more caveat: make sure that the ENVR (epoch, name, version and release) of the new libnfsidmap package sorts higher than that of the former standalone package, or else it won't act as a replacement.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux