192 lines
6.7 KiB
Plaintext
192 lines
6.7 KiB
Plaintext
Name: perl-File-BOM
|
|
Version: 0.16
|
|
Release: 5%{?dist}
|
|
Summary: Utilities for handling Byte Order Marks
|
|
License: GPL+ or Artistic
|
|
Vendor: Microsoft Corporation
|
|
Distribution: Mariner
|
|
URL: https://metacpan.org/release/File-BOM
|
|
Source0: https://cpan.metacpan.org/authors/id/M/MA/MATTLAW/File-BOM-%{version}.tar.gz#/perl-File-BOM-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
# Build
|
|
BuildRequires: perl-generators
|
|
BuildRequires: perl-interpreter
|
|
BuildRequires: perl(lib)
|
|
BuildRequires: perl(Module::Build)
|
|
BuildRequires: perl(strict)
|
|
BuildRequires: perl(warnings)
|
|
BuildRequires: sed
|
|
# Runtime
|
|
BuildRequires: perl(base)
|
|
BuildRequires: perl(bytes)
|
|
BuildRequires: perl(Carp)
|
|
BuildRequires: perl(Encode) >= 1.99
|
|
BuildRequires: perl(Exporter)
|
|
BuildRequires: perl(Fcntl)
|
|
BuildRequires: perl(Readonly) >= 0.06
|
|
BuildRequires: perl(Symbol)
|
|
# Tests only
|
|
BuildRequires: perl(File::Spec::Functions)
|
|
BuildRequires: perl(File::Temp)
|
|
BuildRequires: perl(POSIX)
|
|
BuildRequires: perl(Test::Exception) >= 0.20
|
|
BuildRequires: perl(Test::More) >= 0.10
|
|
BuildRequires: perl(Test::Simple)
|
|
BuildRequires: perl(utf8)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
Requires: perl(Encode) >= 1.99
|
|
Requires: perl(Readonly) >= 0.06
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Encode\\)$
|
|
%global __requires_exclude %__requires_exclude|^perl\\(Readonly\\)$
|
|
|
|
%description
|
|
This module provides functions for handling Unicode byte order marks, which
|
|
are to be found at the beginning of some files and streams.
|
|
|
|
%prep
|
|
%setup -q -n File-BOM-%{version}
|
|
# Normalize EOLs
|
|
sed -i -e 's/\r//' README
|
|
|
|
%build
|
|
perl Build.PL installdirs=vendor
|
|
./Build
|
|
|
|
%install
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%check
|
|
./Build test
|
|
|
|
%files
|
|
%doc Changes README TODO
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.16-5
|
|
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.16-2
|
|
- Perl 5.30 rebuild
|
|
|
|
* Wed Feb 06 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.16-1
|
|
- 0.16 bump
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-11
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Fri Jan 25 2019 Petr Pisar <ppisar@redhat.com> - 0.15-10
|
|
- Adapt tests to stricter Encode-2.99 (bug #1668818)
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.15-8
|
|
- Perl 5.28 rebuild
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.15-5
|
|
- Perl 5.26 rebuild
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.15-3
|
|
- Perl 5.24 rebuild
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Tue Dec 15 2015 Petr Šabata <contyk@redhat.com> - 0.15-1
|
|
- 0.15 bump
|
|
- Spec file cleanup
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-21
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.14-20
|
|
- Perl 5.22 rebuild
|
|
|
|
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.14-19
|
|
- Perl 5.20 rebuild
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-18
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-17
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Mon Jul 22 2013 Petr Pisar <ppisar@redhat.com> - 0.14-16
|
|
- Perl 5.18 rebuild
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-15
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-14
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Thu Jun 14 2012 Petr Pisar <ppisar@redhat.com> - 0.14-13
|
|
- Perl 5.16 rebuild
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-12
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.14-11
|
|
- Perl mass rebuild
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.14-9
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.14-8
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.14-7
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.14-6
|
|
- rebuild against perl 5.10.1
|
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.14-3
|
|
Rebuild for new perl
|
|
|
|
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 0.14-2
|
|
- Rebuild.
|
|
|
|
* Mon Oct 16 2006 Steven Pritchard <steve@kspei.com> 0.14-1
|
|
- Update to 0.14.
|
|
- Reformat to match cpanspec output.
|
|
|
|
* Tue Sep 26 2006 Steven Pritchard <steve@kspei.com> 0.12-1
|
|
- Update to 0.12.
|
|
- Canonicalize Source0 URL.
|
|
- Minor spec cleanup.
|
|
|
|
* Sat Nov 05 2005 Michael A. Peters <mpeters@mac.com> 0.11-1
|
|
- update from upstream, BuildRequires perl(Readonly)
|
|
|
|
* Sat Jun 18 2005 Michael A. Peters <mpeters@mac.com> 0.09-1
|
|
- initial Fedora Extras CVS Checkin
|