|
|
|
@ -1,32 +1,49 @@
|
|
|
|
|
Name: perl-File-ShareDir
|
|
|
|
|
Version: 1.104
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 1.118
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Summary: Locate per-dist and per-module shared files
|
|
|
|
|
# other files: GPL+ or Artistic
|
|
|
|
|
## not in binary packages
|
|
|
|
|
# inc/latest/private.pm: ASL 2.0
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/File-ShareDir/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/R/RE/REHSACK/File-ShareDir-%{version}.tar.gz
|
|
|
|
|
URL: https://metacpan.org/release/File-ShareDir
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/File-ShareDir-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(Class::Inspector) >= 1.12
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
BuildRequires: perl(File::ShareDir::Install)
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
BuildRequires: perl(IO::Dir)
|
|
|
|
|
BuildRequires: perl(IO::File)
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.47
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
Requires: perl(Class::Inspector) >= 1.12
|
|
|
|
|
# Run-time
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(Class::Inspector) >= 1.12
|
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
|
# Optional run-time
|
|
|
|
|
BuildRequires: perl(List::MoreUtils) >= 0.428
|
|
|
|
|
BuildRequires: perl(Params::Util) >= 1.07
|
|
|
|
|
# Tests
|
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
|
BuildRequires: perl(File::Path)
|
|
|
|
|
BuildRequires: perl(parent)
|
|
|
|
|
BuildRequires: perl(POSIX)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.47
|
|
|
|
|
# Optional tests
|
|
|
|
|
BuildRequires: perl(CPAN::Meta)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(Class::Inspector) >= 1.12
|
|
|
|
|
Recommends: perl(List::MoreUtils) >= 0.428
|
|
|
|
|
Recommends: perl(Params::Util) >= 1.07
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude}|perl\\(Class::Inspector\\)$
|
|
|
|
@ -41,11 +58,11 @@ available to the larger Perl community.
|
|
|
|
|
%setup -q -n File-ShareDir-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
%{make_install}
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
chmod 644 share/sample.txt
|
|
|
|
|
chmod 644 share/subdir/sample.txt
|
|
|
|
@ -62,8 +79,57 @@ make test AUTOMATED_TESTING=1
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.104-3
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.118-4
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.118-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.118-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Oct 21 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.118-1
|
|
|
|
|
- 1.118 bump
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.116-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.116-8
|
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.116-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.116-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.116-5
|
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.116-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.116-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.116-2
|
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 25 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.116-1
|
|
|
|
|
- 1.116 bump
|
|
|
|
|
|
|
|
|
|
* Fri Jun 22 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.114-1
|
|
|
|
|
- 1.114 bump
|
|
|
|
|
|
|
|
|
|
* Tue Jun 19 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.112-1
|
|
|
|
|
- 1.112 bump
|
|
|
|
|
|
|
|
|
|
* Mon Jun 18 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.110-1
|
|
|
|
|
- 1.110 bump
|
|
|
|
|
|
|
|
|
|
* Mon Jun 11 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.106-1
|
|
|
|
|
- 1.106 bump
|
|
|
|
|
|
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.104-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|