Chris Weyl 0af1333
Name:           perl-File-Modified
bf16a65
Version:        0.10
15a2122
Release:        5%{?dist}
Chris Weyl 0af1333
Summary:        Checks intelligently if files have changed
653f332
License:        GPL+ or Artistic
Chris Weyl 0af1333
Group:          Development/Libraries
Chris Weyl 0af1333
URL:            http://search.cpan.org/dist/File-Modified/
Petr Šabata a15e850
Source0:        http://www.cpan.org/authors/id/N/NE/NEILB/File-Modified-%{version}.tar.gz
Chris Weyl 0af1333
BuildArch:      noarch
Petr Šabata a15e850
# Build
bf16a65
BuildRequires:  coreutils
bf16a65
BuildRequires:  findutils
bf16a65
BuildRequires:  make
f204d19
BuildRequires:  perl-interpreter
432c280
BuildRequires:  perl-generators
Petr Šabata a15e850
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
bf16a65
BuildRequires:  perl(strict)
bf16a65
BuildRequires:  perl(warnings)
bf16a65
BuildRequires:  sed
Petr Šabata a15e850
# Runtime
Petr Šabata a15e850
BuildRequires:  perl(base)
Chris Weyl 0af1333
BuildRequires:  perl(Digest::MD5)
Petr Šabata a15e850
# Tests only
Petr Šabata a15e850
BuildRequires:  perl(Test::More)
Chris Weyl 0af1333
BuildRequires:  perl(Digest::MD2)
Chris Weyl 0af1333
BuildRequires:  perl(Digest::SHA1)
Petr Šabata a15e850
Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Petr Šabata a15e850
Requires:       perl(Digest::MD5)
Chris Weyl 0af1333
Chris Weyl 0af1333
%description
Chris Weyl 0af1333
The Modified module is intended as a simple method for programs to detect
Chris Weyl 0af1333
whether configuration files (or modules they rely on) have changed. There
Chris Weyl 0af1333
are currently two methods of change detection implemented, mtime and MD5.
Chris Weyl 0af1333
The MD5 method will fall back to use timestamps if the Digest::MD5 module
Chris Weyl 0af1333
cannot be loaded.
Chris Weyl 0af1333
Chris Weyl 0af1333
%prep
Chris Weyl 0af1333
%setup -q -n File-Modified-%{version}
Petr Šabata a15e850
find . -type f -exec chmod -c -x {} +
bf16a65
sed -i 's/\r//' README
Chris Weyl 0af1333
Chris Weyl 0af1333
%build
Petr Šabata a15e850
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
Chris Weyl 0af1333
make %{?_smp_mflags}
Chris Weyl 0af1333
Chris Weyl 0af1333
%install
Petr Šabata a15e850
make pure_install DESTDIR=%{buildroot}
Chris Weyl 0af1333
%{_fixperms} %{buildroot}/*
Chris Weyl 0af1333
Chris Weyl 0af1333
%check
Chris Weyl 0af1333
make test
Chris Weyl 0af1333
Chris Weyl 0af1333
%files
bf16a65
%license LICENSE
bf16a65
%doc Changes README example
Chris Weyl 0af1333
%{perl_vendorlib}/*
Chris Weyl 0af1333
%{_mandir}/man3/*
Chris Weyl 0af1333
Chris Weyl 0af1333
%changelog
15a2122
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-5
15a2122
- Perl 5.26 rebuild
15a2122
9b53a00
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-4
9b53a00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9b53a00
665f529
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-3
665f529
- Perl 5.24 rebuild
665f529
c6f7ad4
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-2
c6f7ad4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c6f7ad4
bf16a65
* Tue Oct 27 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-1
bf16a65
- 0.10 bump
bf16a65
b710689
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-3
b710689
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b710689
a7d31af
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-2
a7d31af
- Perl 5.22 rebuild
a7d31af
Petr Šabata e05de30
* Thu Nov 20 2014 Petr Šabata <contyk@redhat.com> - 0.09-1
Petr Šabata e05de30
- 0.09 bump
Petr Šabata e05de30
4eb3585
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.07-20
4eb3585
- Perl 5.20 rebuild
4eb3585
a27c283
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-19
a27c283
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a27c283
7c437b1
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-18
7c437b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7c437b1
2d6c94b
* Mon Jul 22 2013 Petr Pisar <ppisar@redhat.com> - 0.07-17
2d6c94b
- Perl 5.18 rebuild
2d6c94b
d87fa35
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-16
d87fa35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d87fa35
b3b4a8b
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-15
b3b4a8b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b3b4a8b
6d442ec
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 0.07-14
6d442ec
- Perl 5.16 rebuild
6d442ec
2bb638c
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-13
2bb638c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2bb638c
Marcela Mašláňová 19a02d9
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.07-12
Marcela Mašláňová 19a02d9
- Perl mass rebuild
Marcela Mašláňová 19a02d9
48cb55f
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-11
48cb55f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
48cb55f
Marcela Mašláňová e24864e
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-10
Marcela Mašláňová e24864e
- 661697 rebuild for fixing problems with vendorach/lib
Marcela Mašláňová e24864e
c796fae
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-9
c796fae
- Mass rebuild with perl-5.12.0
c796fae
9477031
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.07-8
9477031
- rebuild against perl 5.10.1
9477031
70d38cf
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-7
70d38cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
70d38cf
bbdb3c8
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-6
bbdb3c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
bbdb3c8
653f332
* Wed Mar 05 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.07-5
653f332
- rebuild for new perl
653f332
Chris Weyl 40eb412
* Thu May 03 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.07-4
Chris Weyl 40eb412
- bump
Chris Weyl 40eb412
Chris Weyl 0af1333
* Mon Apr 30 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.07-3
Chris Weyl 0af1333
- comments, keep Makefile.PL from complaining about missing .cvsignore files
Chris Weyl 0af1333
Chris Weyl 0af1333
* Sun Apr 29 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.07-2
Chris Weyl 0af1333
- patch tests to enable successful failure of one TODO test :)
Chris Weyl 0af1333
Chris Weyl 0af1333
* Tue Apr 10 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.07-1
Chris Weyl 0af1333
- Specfile autogenerated by cpanspec 1.70.