2018-10-07 13:32:52 +00:00
committed by Git OBS Bridge
parent 31dd841577
commit 44c5bfd838

View File

@@ -25,6 +25,8 @@ License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source: https://cpan.metacpan.org/authors/id/Y/YA/YAPPO/%{cpan_name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/yappo/p5-String-Diff/commit/cf34e0b93fe89fb24f91cfaf998b5b563f269eb2.patch
Patch1: cf34e0b93fe89fb24f91cfaf998b5b563f269eb2.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -84,13 +86,14 @@ You can escape callback set to diff function and diff_merge function.
%prep
%setup -q -n %{cpan_name}-%{version}
%patch1 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
%{__make} test
make test
%install
%perl_make_install