Fix versions in Perl module dependencies again

Perl module versions do not have anything like revisions. E.g.
perl(Locale::Maketext::Gettext) >= 1.27-1.2 is simply wrong and not
satisfied by any package because:

$ repoquery --repoid=rawhide --provides perl-Locale-Maketext-Gettext
perl(Locale::Maketext::Gettext) = 1.27
[...]

and

$ rpmdev-vercmp '1.27' '1.27-1.2'
1.27 < 1.27-1.2

It passes in koji just because of a bug in yum.
This commit is contained in:
Petr Písař 2014-04-30 09:21:19 +02:00
parent 7a8da51b4c
commit aca1f7436c

View File

@ -19,7 +19,7 @@
Name: publican
Version: 4.1.3
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Common files and scripts for publishing with DocBook XML
# For a breakdown of the licensing, refer to LICENSE
License: (GPLv2+ or Artistic) and CC0
@ -50,7 +50,7 @@ BuildRequires: perl(Archive::Tar) => 1.84
BuildRequires: perl(Archive::Zip)
# Not reall required, but sometimes koji pulls in a conflicting dep...
BuildRequires: perl(Compress::Zlib) => 2.030
BuildRequires: perl(Locale::Maketext::Gettext) >= 1.27-1.2
BuildRequires: perl(Locale::Maketext::Gettext) >= 1.27
BuildRequires: perl(Carp)
BuildRequires: perl(Config::Simple)
BuildRequires: perl(Cwd)
@ -82,7 +82,7 @@ BuildRequires: perl(Locale::PO)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Pod::Usage)
BuildRequires: perl(String::Similarity)
BuildRequires: perl(Syntax::Highlight::Engine::Kate) >= 0.07-5
BuildRequires: perl(Syntax::Highlight::Engine::Kate) >= 0.07
BuildRequires: perl(Template)
BuildRequires: perl(Template::Constants)
BuildRequires: perl(Term::ANSIColor)
@ -109,7 +109,7 @@ BuildRequires: perl(Lingua::EN::Fathom)
# Most of these are handled automatically
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(Locale::Maketext::Gettext) >= 1.27-1.2
Requires: perl(Locale::Maketext::Gettext) >= 1.27
Requires: rpm-build
Requires: docbook-style-xsl >= 1.77.1
Requires: perl(XML::LibXML) >= 1.67
@ -120,7 +120,7 @@ Requires: perl-XML-TreeBuilder >= 5.1
Requires: perl-Template-Toolkit
Requires: perl(DBD::SQLite)
Requires: perl(Text::CSV_XS)
Requires: perl(Syntax::Highlight::Engine::Kate) >= 0.07-5
Requires: perl(Syntax::Highlight::Engine::Kate) >= 0.07
Requires: docbook5-schemas
Requires: docbook5-style-xsl >= 1.78.1
@ -320,6 +320,9 @@ rm -rf $RPM_BUILD_ROOT
%{wwwdir}/common-db5
%changelog
* Thu Jul 24 2014 Petr Pisar <ppisar@redhat.com> - 4.1.3-2
- Fix versions in Perl module dependencies again
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.3-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild