Hello,
Can somebody tell me whatis wrong in the spec file
Name: perl-Graphics-Primitive
Version: 0.67
Release: 1%{?dist}
Summary: Device and library agnostic graphic primitives
License: GPL+ or Artistic
Group: Development/Libraries
URL:
http://search.cpan.org/dist/Graphics-Primitive/
Source0:
http://www.cpan.org/modules/by-module/Graphics/Graphics-Primitive-%{versi...
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Data::Visitor::Callback) >= 0.30
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Forest) >= 0.06
BuildRequires: perl(Geometry::Primitive) >= 0.16
BuildRequires: perl(Graphics::Color) >= 0.20
BuildRequires: perl(JSON::Any) >= 1.22
BuildRequires: perl(Moose) >= 0.90
BuildRequires: perl(MooseX::Clone) >= 0.04
BuildRequires: perl(MooseX::Storage) >= 0.17
BuildRequires: perl(Test::More)
Requires: perl(Data::Visitor::Callback) >= 0.30
Requires: perl(Forest) >= 0.06
Requires: perl(Geometry::Primitive) >= 0.16
Requires: perl(Graphics::Color) >= 0.20
Requires: perl(JSON::Any) >= 1.22
Requires: perl(Moose) >= 0.90
Requires: perl(MooseX::Clone) >= 0.04
Requires: perl(MooseX::Storage) >= 0.17
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
%description
Graphics::Primitive is library agnostic system for drawing things.
%prep
%setup -q -n Graphics-Primitive-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Sun Sep 17 2017 Patrick Dupre <pdupre(a)gmx.com> 0.67-1
- Specfile autogenerated by cpanspec 1.78.
I get:
rpmbuild -bb perl-Graphics-Primitive.spec
error: Failed build dependencies:
perl(Forest) >= 0.06 is needed by perl-Graphics-Primitive-0.67-1.fc26.noarch
perl(Geometry::Primitive) >= 0.16 is needed by
perl-Graphics-Primitive-0.67-1.fc26.noarch
perl(Graphics::Color) >= 0.20 is needed by perl-Graphics-Primitive-0.67-1.fc26.noarch
while
rpm -q perl-Forest
perl-Forest-0.10-1.fc26.noarch
rpm -q perl-Geometry-Primitive
perl-Geometry-Primitive-0.24-1.fc26.noarch
rpm -q perl-Graphics-Color
perl-Graphics-Color-0.31-1.fc26.noarch
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================