Re: Packaging Question

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

 



fre 2017-10-27 klockan 11:47 -0400 skrev Steve Dickson:
> 
> This makes sense but the reason the libnfsidmap-devel package is not
> be upgraded (or installed) is because:
> 
> dnf install /tmp/libnfsidmap-devel*
> Last metadata expiration check: 0:10:48 ago on Fri 27 Oct 2017 11:19:35 AM EDT.
> Error: 
>  Problem: conflicting requests
>   - nothing provides libnfsidmap = 2.2.1-0.fc28 needed by libnfsidmap-devel-1:2.2.1-0.fc28.x86_64
> 
> even though libnfsidmap-2.2.1-0 is installed. 
> 
> The problem is caused by the Requires: in the libnfsidmap-devel subpackage
> 
> %package -n libnfsidmap-devel
> Summary: Development files for the libnfsidmap library
> Group: Development/Libraries
> Requires: pkgconfig
> Requires: libnfsidmap = %{version}-%{release}
> ^^^^^^^^^^^
> 
> Now if I remove the '%{version}-%{release}' the package 
> is installed/upgraded... but seems wrong to me
> the -devel should be tied to a particular version, right?
> 
> Plus this was the way it was in the original libnfsidmap rpm.
> 
> tia,
> 
> steved.

Your package has epoch defined, so you need to use it when declaring
versioned dependencies between binary packages. 2.2.1-0 is not the same
as 1:2.2.1-0. (And you should use _isa here:

%package -n libnfsidmap-devel
Requires: libnfsidmap%{?_isa} = %{epoch}:%{version}-%{release}

	Mattias

<<attachment: smime.p7s>>

_______________________________________________
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