Blame SPECS/perl-Test-Differences.spec

Packit 85ab4b
# RPM version needs 4 digits after the decimal to preserve upgrade path
Packit 85ab4b
%global module_version 0.64
Packit 85ab4b
%global RPM_version %{module_version}00
Packit 85ab4b
Packit 85ab4b
Name:           perl-Test-Differences
Packit 85ab4b
Version:        %{RPM_version}
Packit 85ab4b
Release:        8%{?dist}
Packit 85ab4b
Summary:        Test strings and data structures and show differences if not OK
Packit 85ab4b
Group:          Development/Libraries
Packit 85ab4b
License:        GPL+ or Artistic
Packit 85ab4b
URL:            http://search.cpan.org/dist/Test-Differences/
Packit 85ab4b
Source0:        http://search.cpan.org/CPAN/authors/id/D/DC/DCANTRELL/Test-Differences-%{module_version}.tar.gz
Packit 85ab4b
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
Packit 85ab4b
BuildArch:      noarch
Packit 85ab4b
# Module Build
Packit 85ab4b
BuildRequires:  coreutils
Packit 85ab4b
BuildRequires:  findutils
Packit 85ab4b
BuildRequires:  make
Packit 85ab4b
BuildRequires:  perl-interpreter
Packit 85ab4b
BuildRequires:  perl-generators
Packit 85ab4b
BuildRequires:  perl(ExtUtils::MakeMaker)
Packit 85ab4b
# Module Runtime
Packit 85ab4b
BuildRequires:  perl(Carp)
Packit 85ab4b
BuildRequires:  perl(Data::Dumper) >= 2.126
Packit 85ab4b
BuildRequires:  perl(Exporter)
Packit 85ab4b
BuildRequires:  perl(strict)
Packit 85ab4b
BuildRequires:  perl(Text::Diff) >= 1.43
Packit 85ab4b
BuildRequires:  perl(warnings)
Packit 85ab4b
# Test Suite
Packit 85ab4b
BuildRequires:  perl(Capture::Tiny) >= 0.24
Packit 85ab4b
BuildRequires:  perl(Test::Builder) >= 0.33
Packit 85ab4b
BuildRequires:  perl(Test::More) >= 0.88
Packit 85ab4b
# Optional Tests
Packit 85ab4b
BuildRequires:  perl(Pod::Coverage) >= 0.18
Packit 85ab4b
BuildRequires:  perl(Test::Pod) >= 1.22
Packit 85ab4b
BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
Packit 85ab4b
# Explicit Requirements
Packit 85ab4b
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Packit 85ab4b
Requires:       perl(Text::Diff) >= 1.43
Packit 85ab4b
Packit 85ab4b
%description
Packit 85ab4b
When the code you're testing returns multiple lines, records or data
Packit 85ab4b
structures and they're just plain wrong, an equivalent to the Unix
Packit 85ab4b
diff utility may be just what's needed.
Packit 85ab4b
Packit 85ab4b
%prep
Packit 85ab4b
%setup -q -n Test-Differences-%{module_version}
Packit 85ab4b
Packit 85ab4b
%build
Packit 85ab4b
perl Makefile.PL INSTALLDIRS=vendor
Packit 85ab4b
make %{?_smp_mflags}
Packit 85ab4b
Packit 85ab4b
%install
Packit 85ab4b
rm -rf %{buildroot}
Packit 85ab4b
make pure_install DESTDIR=%{buildroot}
Packit 85ab4b
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
Packit 85ab4b
%{_fixperms} %{buildroot}
Packit 85ab4b
Packit 85ab4b
%check
Packit 85ab4b
make test
Packit 85ab4b
Packit 85ab4b
%clean
Packit 85ab4b
rm -rf %{buildroot}
Packit 85ab4b
Packit 85ab4b
%files
Packit 85ab4b
%doc Changes README
Packit 85ab4b
%{perl_vendorlib}/Test/
Packit 85ab4b
%{_mandir}/man3/Test::Differences.3*
Packit 85ab4b
Packit 85ab4b
%changelog
Packit 85ab4b
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6400-8
Packit 85ab4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Packit 85ab4b
Packit 85ab4b
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6400-7
Packit 85ab4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
Packit 85ab4b
Packit 85ab4b
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.6400-6
Packit 85ab4b
- Perl 5.26 rebuild
Packit 85ab4b
Packit 85ab4b
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6400-5
Packit 85ab4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
Packit 85ab4b
Packit 85ab4b
* Fri Jul 22 2016 Petr Pisar <ppisar@redhat.com> - 0.6400-4
Packit 85ab4b
- Adjust package version computation to SRPM build root witout perl
Packit 85ab4b
Packit 85ab4b
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.6400-3
Packit 85ab4b
- Perl 5.24 rebuild
Packit 85ab4b
Packit 85ab4b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6400-2
Packit 85ab4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
Packit 85ab4b
Packit 85ab4b
* Tue Nov 24 2015 Paul Howarth <paul@city-fan.org> - 0.6400-1
Packit 85ab4b
- Update to 0.64
Packit 85ab4b
  - Bump dependency version for Text::Diff to avoid a buggy release
Packit 85ab4b
  - Make tests pass with relocation perl (CPAN RT#103133)
Packit 85ab4b
Packit 85ab4b
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6300-3
Packit 85ab4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
Packit 85ab4b
Packit 85ab4b
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.6300-2
Packit 85ab4b
- Perl 5.22 rebuild
Packit 85ab4b
Packit 85ab4b
* Fri Nov 21 2014 Paul Howarth <paul@city-fan.org> - 0.6300-1
Packit 85ab4b
- Update to 0.63
Packit 85ab4b
  - Make '' and undef not equal
Packit 85ab4b
  - Made Data::Dumper minimum version 2.126 to resolve CPAN RT#60798
Packit 85ab4b
  - Allow an option to override Sortkeys in C<eq_or_diff>
Packit 85ab4b
  - Unnumbered tests; there's no point to them
Packit 85ab4b
  - Document the Text::Diff unicode fix
Packit 85ab4b
  - Add ability to customize 'Got' and 'Expected' column headers
Packit 85ab4b
  - Minor doco-fixes
Packit 85ab4b
  - Remove use of flatten, always use Data::Dumper for saner, more readable
Packit 85ab4b
    output (CPAN RT#95446)
Packit 85ab4b
- This release by DCANTRELL → update source URL
Packit 85ab4b
- Drop %%defattr, redundant since rpm 4.4
Packit 85ab4b
- Use %%{_fixperms} macro rather than our own chmod incantation
Packit 85ab4b
- Don't need to remove empty directories from the buildroot
Packit 85ab4b
Packit 85ab4b
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.5000-13
Packit 85ab4b
- Perl 5.20 rebuild
Packit 85ab4b
Packit 85ab4b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5000-12
Packit 85ab4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
Packit 85ab4b
Packit 85ab4b
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5000-11
Packit 85ab4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
Packit 85ab4b
Packit 85ab4b
* Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 0.5000-10
Packit 85ab4b
- Perl 5.18 rebuild
Packit 85ab4b
Packit 85ab4b
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5000-9
Packit 85ab4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
Packit 85ab4b
Packit 85ab4b
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5000-8
Packit 85ab4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
Packit 85ab4b
Packit 85ab4b
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 0.5000-7
Packit 85ab4b
- Perl 5.16 rebuild
Packit 85ab4b
- Specify all dependencies
Packit 85ab4b
Packit 85ab4b
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5000-6
Packit 85ab4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
Packit 85ab4b
Packit 85ab4b
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.5000-5
Packit 85ab4b
- Perl mass rebuild
Packit 85ab4b
Packit 85ab4b
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5000-4
Packit 85ab4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
Packit 85ab4b
Packit 85ab4b
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.5000-3
Packit 85ab4b
- Rebuild to fix problems with vendorarch/lib (#661697)
Packit 85ab4b
Packit 85ab4b
* Thu Jul 08 2010 Iain Arnell <iarnell@gmail.com> 0.500-2
Packit 85ab4b
- explicitly require perl(Text::Diff)
Packit 85ab4b
Packit 85ab4b
* Tue Jun 29 2010 Paul Howarth <paul@city-fan.org> - 0.5000-1
Packit 85ab4b
- Update to 0.500
Packit 85ab4b
  - Add support for all diff styles supplied by Text::Diff (CPAN RT#23579)
Packit 85ab4b
  - Add Build.PL
Packit 85ab4b
  - Convert to universally use Test::More instead of Test
Packit 85ab4b
  - Convert to modern Perl distribution.
Packit 85ab4b
  - Applied doc suggestion from CPAN RT#24297
Packit 85ab4b
  - Fix the { a => 1 } versus { a => '1' } bug (CPAN RT#3029)
Packit 85ab4b
- Upstream dropped eg/ docs
Packit 85ab4b
- Bump perl(Text::Diff) requirement to 0.35
Packit 85ab4b
- BR: perl(Test::Pod) and perl(Test::Pod::Coverage) for extra test cover
Packit 85ab4b
Packit 85ab4b
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.4801-5
Packit 85ab4b
- Mass rebuild with perl-5.12.0
Packit 85ab4b
Packit 85ab4b
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.4801-4
Packit 85ab4b
- rebuild against perl 5.10.1
Packit 85ab4b
Packit 85ab4b
* Wed Aug 19 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.4801-3
Packit 85ab4b
- fix source url
Packit 85ab4b
Packit 85ab4b
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4801-2
Packit 85ab4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Packit 85ab4b
Packit 85ab4b
* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.4801-1
Packit 85ab4b
- update to 0.4801
Packit 85ab4b
Packit 85ab4b
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.47-5
Packit 85ab4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Packit 85ab4b
Packit 85ab4b
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.47-4
Packit 85ab4b
- Rebuild for perl 5.10 (again)
Packit 85ab4b
Packit 85ab4b
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.47-3
Packit 85ab4b
- rebuild for new perl
Packit 85ab4b
Packit 85ab4b
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.47-2.2
Packit 85ab4b
- add BR: perl(Test::More)
Packit 85ab4b
Packit 85ab4b
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.47-2.1
Packit 85ab4b
- correct license tag
Packit 85ab4b
- add BR: perl(ExtUtils::MakeMaker)
Packit 85ab4b
Packit 85ab4b
* Sun May 14 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.47-2
Packit 85ab4b
- Bumping release (repodata checksum inconsistency for previous release).
Packit 85ab4b
Packit 85ab4b
* Mon May 01 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.47-1
Packit 85ab4b
- First build.