|
|
5beab63 |
Name: perl-Test-HexDifferences
|
|
|
aafc769 |
Version: 1.001
|
|
|
bcfb5ad |
Release: 8%{?dist}
|
|
|
5beab63 |
Summary: Test binary as hexadecimal string
|
|
|
5beab63 |
License: GPL+ or Artistic
|
|
|
98d110f |
URL: https://metacpan.org/release/Test-HexDifferences
|
|
|
98d110f |
Source0: https://cpan.metacpan.org/authors/id/S/ST/STEFFENW/Test-HexDifferences-%{version}.tar.gz
|
|
|
5beab63 |
BuildArch: noarch
|
|
|
5beab63 |
BuildRequires: make
|
|
|
baa10c9 |
BuildRequires: perl-interpreter
|
|
|
5beab63 |
BuildRequires: perl-generators
|
|
|
5beab63 |
BuildRequires: perl(:VERSION) >= 5.6
|
|
|
5beab63 |
BuildRequires: perl(Config)
|
|
|
5beab63 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
5beab63 |
BuildRequires: sed
|
|
|
5beab63 |
# Run-time
|
|
|
5beab63 |
BuildRequires: perl(Hash::Util)
|
|
|
5beab63 |
BuildRequires: perl(strict)
|
|
|
5beab63 |
BuildRequires: perl(Sub::Exporter)
|
|
|
5beab63 |
BuildRequires: perl(Test::Builder::Module) >= 0.99
|
|
|
5beab63 |
BuildRequires: perl(Text::Diff)
|
|
|
5beab63 |
BuildRequires: perl(warnings)
|
|
|
5beab63 |
# Tests
|
|
|
5beab63 |
BuildRequires: perl(Cwd)
|
|
|
5beab63 |
BuildRequires: perl(English)
|
|
|
5beab63 |
BuildRequires: perl(File::Find)
|
|
|
5beab63 |
BuildRequires: perl(Test::Differences) >= 0.60
|
|
|
5beab63 |
BuildRequires: perl(Test::More)
|
|
|
5beab63 |
BuildRequires: perl(Test::NoWarnings)
|
|
|
5beab63 |
BuildRequires: perl(Test::Tester)
|
|
|
5beab63 |
# Optional tests
|
|
|
5beab63 |
BuildRequires: perl(Test::Pod) >= 1.14
|
|
|
5beab63 |
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
|
|
5beab63 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
5beab63 |
Requires: perl(Test::Builder::Module) >= 0.99
|
|
|
5beab63 |
|
|
|
5beab63 |
# Remove under-specified dependencies
|
|
|
5beab63 |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Test::Builder::Module)\\)$
|
|
|
5beab63 |
|
|
|
5beab63 |
%description
|
|
|
5beab63 |
This is a Perl module for testing equivalence of binary data.
|
|
|
5beab63 |
|
|
|
5beab63 |
%prep
|
|
|
5beab63 |
%setup -q -n Test-HexDifferences-%{version}
|
|
|
5beab63 |
sed -i -e 's/\r//' README Changes example/*
|
|
|
5beab63 |
sed -i -e '1s|#!.*perl|%(perl -MConfig -e 'print $Config{startperl}')|' example/*
|
|
|
5beab63 |
|
|
|
5beab63 |
%build
|
|
|
5beab63 |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
5beab63 |
make %{?_smp_mflags}
|
|
|
5beab63 |
|
|
|
5beab63 |
%install
|
|
|
5beab63 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
5beab63 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
5beab63 |
|
|
|
5beab63 |
%check
|
|
|
5beab63 |
make test
|
|
|
5beab63 |
|
|
|
5beab63 |
%files
|
|
|
5beab63 |
%doc Changes example README
|
|
|
5beab63 |
%{perl_vendorlib}/*
|
|
|
5beab63 |
%{_mandir}/man3/*
|
|
|
5beab63 |
|
|
|
5beab63 |
%changelog
|
|
|
bcfb5ad |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.001-8
|
|
|
bcfb5ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
bcfb5ad |
|
|
|
50ca8b5 |
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.001-7
|
|
|
50ca8b5 |
- Perl 5.30 rebuild
|
|
|
50ca8b5 |
|
|
|
daebd89 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.001-6
|
|
|
daebd89 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
daebd89 |
|
|
|
b204b83 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.001-5
|
|
|
b204b83 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
b204b83 |
|
|
|
ccd9a03 |
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.001-4
|
|
|
ccd9a03 |
- Perl 5.28 rebuild
|
|
|
ccd9a03 |
|
|
|
3f896c3 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.001-3
|
|
|
3f896c3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
3f896c3 |
|
|
|
f9e5c45 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.001-2
|
|
|
f9e5c45 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
f9e5c45 |
|
|
|
aafc769 |
* Tue Jul 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.001-1
|
|
|
aafc769 |
- 1.001 bump
|
|
|
aafc769 |
|
|
|
5beab63 |
* Thu Jun 29 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.000-1
|
|
|
5beab63 |
- Initial release
|