Weak perl-Encode-devel dependency on perl-devel to Recommends level

perl-Encode-devel package does not need perl-devel for running. But
the files it produces needs perl-devel for futher building them. But
the building is not job for the perl-Encode-devel. Therefore the hard
dependency on perl-devel is wrong.

On the other hand, there is other meaningful usage for the genererated
files than bulding them. Therefore we keep the dependency on
Recommends level.
This commit is contained in:
Petr Písař 2016-04-18 12:50:36 +02:00
parent 0270b7731b
commit 139785ea97

View File

@ -8,7 +8,7 @@ Version: %{cpan_version}
# perl-encoding sub-package has independent version which does not change
# often and consecutive builds would clash on perl-encoding NEVRA. This is the
# same case as in perl.spec.
Release: 8%{?dist}
Release: 9%{?dist}
Summary: Character encodings in Perl
# ucm: UCD
# other files: GPL+ or Artistic
@ -115,7 +115,7 @@ Version: %{cpan_version}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{epoch}:%{cpan_version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl-devel%{?_isa}
Recommends: perl-devel%{?_isa}
Requires: perl(Encode)
%description devel
@ -167,6 +167,10 @@ make test
%{perl_vendorarch}/Encode/encode.h
%changelog
* Mon Apr 18 2016 Petr Pisar <ppisar@redhat.com> - 3:2.84-9
- Weak perl-Encode-devel dependency on perl-devel to Recommends level (bug
#456534)
* Mon Apr 11 2016 Petr Pisar <ppisar@redhat.com> - 3:2.84-8
- 2.84 bump