Mailinglist Archive: opensuse-packaging (235 mails)

< Previous Next >
[opensuse-packaging] Should "Requires" force the required package to change repos?
  • From: Greg Freemyer <greg.freemyer@xxxxxxxxx>
  • Date: Wed, 7 Mar 2012 19:05:34 -0500
  • Message-id: <CAGpXXZ+wBEd-K-kpheZBa=LKp7OBu9G2_p_4PNwMkoFf8sswSA@mail.gmail.com>
All,

I have a perl module packaged that has within it a sub-package which
is an application. I have upgraded the package in my home directory.

I have the perl module itself currently installed in my PC from the
D:L:P project/repo.

When I install the app from my home package I expected it to force the
module to come from my home project as well. That's not happening,
and I find it confusing.

The project > package is home:gregfreemyer:Tools-for-forensic-boot-cd
perl-Image-ExifTool

The key lines from the specfile are:

===
Name: perl-Image-ExifTool
Version: 8.77
...
%package -n exiftool
...
Requires: perl(Image::ExifTool) = %{version}
===

You can see the above Requires statement is working by looking at:
https://build.opensuse.org/package/binary?arch=x86_64&filename=exiftool-8.77-74.1.noarch.rpm&package=perl-Image-ExifTool&project=home%3Agregfreemyer%3ATools-for-forensic-boot-cd&repository=openSUSE_12.1

You can see perl-Image-ExifTool provides version 8.77 here:
https://build.opensuse.org/package/binary?arch=i586&filename=perl-Image-ExifTool-8.77-74.1.noarch.rpm&package=perl-Image-ExifTool&project=home%3Agregfreemyer%3ATools-for-forensic-boot-cd&repository=openSUSE_12.1

But when I install exiftool v8.77 I still have perl-Image-ExifTool v
8.65 installed.

My only thought is maybe "Requires" won't cause perl(Image::ExifTool)
to switch from the D:L:P repo to my home repo?

Thanks
Greg
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages