Name: perl-Diff-LibXDiff Version: 0.05 Release: 1%{?dist} Summary: Calculate a diff with LibXDiff (via XS) License: GPL+ or Artistic URL: http://search.cpan.org/dist/Diff-LibXDiff/ Source0: http://www.cpan.org/authors/id/R/RK/RKRIMEN/Diff-LibXDiff-%{version}.tar.gz BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Carp::Clan) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) >= 0.42 BuildRequires: perl(Test::Most) Requires: perl(Carp::Clan) Requires: perl(Test::More) >= 0.42 Requires: perl(Test::Most) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # The libxdiff packaged in Fedora doesn't work with this module Provides: bundled(libxdiff) %description Diff::LibXDiff is a binding of LibXDiff to Perl via XS. %prep %setup -q -n Diff-LibXDiff-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check make test %files %doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Diff* %{_mandir}/man3/* %changelog * Sun May 27 2018 Neal Gompa - 0.05-1 - Cleaned up for Fedora packaging * Wed Jul 12 2017 Oleg Girko - 0.05-0.1 - Specfile autogenerated by cpanspec 1.78.