[Bug 1485919] New: Do not provide "perl(setup)"

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=1485919

            Bug ID: 1485919
           Summary: Do not provide "perl(setup)"
           Product: Fedora
           Version: rawhide
         Component: fusioninventory-agent
          Assignee: marianne@xxxxxxxxxx
          Reporter: ppisar@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: johan@xxxxxxxx, marianne@xxxxxxxxxx,
                    perl-devel@xxxxxxxxxxxxxxxxxxxxxxx



This commit pushed into all branches is wrong:

commit 76234f1bb0f3f77ec2466cd72c8de11f68152326 (HEAD -> master, origin/master,
origin/f27, origin/HEAD, f27)
Author: Johan Cwiklinski <johan@xxxxxxxx>
Date:   Mon Aug 14 08:24:52 2017 +0200

    Add missing provides on perl(setup)

diff --git a/fusioninventory-agent.spec b/fusioninventory-agent.spec
index 0aa169f..99b7426 100644
--- a/fusioninventory-agent.spec
+++ b/fusioninventory-agent.spec
@@ -10,7 +10,7 @@ License:     GPLv2+
 URL:         http://fusioninventory.org/

 Version:     2.3.21
-Release:     1%{?dist}
+Release:     2%{?dist}
 Source0:    
https://github.com/fusioninventory/%{name}/releases/download/%{version}/FusionInventory-Agent-%{version}.tar.gz
 Source1:     %{name}.cron
 #Use systemd override capabilities
@@ -72,6 +72,7 @@ Requires:       perl(Net::SSLeay)
 Requires:       perl(Proc::Daemon)
 Requires:       perl(Proc::PID::File)
 Requires:       perl(Socket::GetAddrInfo)
+Provides:       perl(setup) = %{version}-%{release}

 %description -n perl-FusionInventory-Agent
 Libraries for Fusioninventory agent.
@@ -316,7 +317,10 @@ install -m 644 -D contrib/yum-plugin/%{name}.conf
%{buildroot}%{_sysconfdir}/yum


 %changelog
-* Tue Aug 01 2017 Marianne Lombard <jehane@xxxxxxxxxxxxxxxxx> - 2.3.21
+* Thu Aug 10 2017 Johan Cwiklinski <jcwiklinski AT teclib DOT com> - 2.3.21-2
+- Fix missing provides issue on perl(setup)
+

Providing 'perl(setup)' means any Perl code do "use setup;" to load
'setup'-named Perl module. This is not true because fusioninventory-agent puts
the setup.pm into a private location.

You have to remove the dependency on "perl(setup)".

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]

  Powered by Linux