Compare commits
No commits in common. "c9s" and "c8" have entirely different histories.
7
.gitignore
vendored
7
.gitignore
vendored
@ -1,6 +1 @@
|
||||
/Devel-Hide-0.0008.tar.gz
|
||||
/Devel-Hide-0.0009.tar.gz
|
||||
/Devel-Hide-0.0010.tar.gz
|
||||
/Devel-Hide-0.0011.tar.gz
|
||||
/Devel-Hide-0.0012.tar.gz
|
||||
/Devel-Hide-0.0013.tar.gz
|
||||
SOURCES/Devel-Hide-0.0009.tar.gz
|
||||
|
@ -1 +1 @@
|
||||
92c56e0e5d51bb44da213a521cd7b07b7f4d6dcc Devel-Hide-0.0013.tar.gz
|
||||
8e3daa41ebd2a8b8d912048513127b3b967e6e7f SOURCES/Devel-Hide-0.0009.tar.gz
|
||||
|
@ -1,126 +1,63 @@
|
||||
# Run optional tests
|
||||
%if ! (0%{?rhel})
|
||||
%bcond_without perl_Devel_Hide_enables_optional_test
|
||||
%else
|
||||
%bcond_with perl_Devel_Hide_enables_optional_test
|
||||
%endif
|
||||
|
||||
Name: perl-Devel-Hide
|
||||
Version: 0.0013
|
||||
Release: 6%{?dist}
|
||||
Version: 0.0009
|
||||
Release: 14%{?dist}
|
||||
Summary: Forces the unavailability of specified Perl modules (for testing)
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Devel-Hide
|
||||
Source0: https://cpan.metacpan.org/modules/by-module/Devel/Devel-Hide-%{version}.tar.gz
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Devel-Hide/
|
||||
Source0: http://www.cpan.org/authors/id/F/FE/FERREIRA/Devel-Hide-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
# Module Build
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# Module Runtime
|
||||
# Run-time:
|
||||
# File::Temp not used on perl >= 5.008
|
||||
BuildRequires: perl(lib)
|
||||
# Module::CoreList is used from a private subroutine that is never called
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(vars)
|
||||
BuildRequires: perl(warnings)
|
||||
# Test Suite
|
||||
# Tests:
|
||||
BuildRequires: perl(Test::More)
|
||||
%if %{with perl_Devel_Hide_enables_optional_test}
|
||||
# Optional Tests
|
||||
# Optional tests:
|
||||
BuildRequires: perl(Test::Pod) >= 1.18
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||
%endif
|
||||
# Dependencies
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
Given a list of Perl modules/filenames, this module makes require and use
|
||||
statements fail (regardless of whether the specified files/modules are
|
||||
Given a list of Perl modules/filenames, this module makes require and
|
||||
use statements fail (no matter the specified files/modules are
|
||||
installed or not).
|
||||
|
||||
%prep
|
||||
%setup -q -n Devel-Hide-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -delete
|
||||
%{_fixperms} -c %{buildroot}
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
||||
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/Devel/
|
||||
%{_mandir}/man3/Devel::Hide.3*
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.0013-6
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.0013-5
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0013-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0013-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.0013-2
|
||||
- Perl 5.32 rebuild
|
||||
|
||||
* Mon Feb 17 2020 Paul Howarth <paul@city-fan.org> - 0.0013-1
|
||||
- Update to 0.0013
|
||||
- Cope with changes to how the hints hash works in perl 5.31.7
|
||||
|
||||
* Sun Feb 16 2020 Paul Howarth <paul@city-fan.org> - 0.0012-1
|
||||
- Update to 0.0012
|
||||
- Add -lexically argument to import() to support hiding modules just during
|
||||
the current scope
|
||||
|
||||
* Thu Feb 13 2020 Paul Howarth <paul@city-fan.org> - 0.0011-1
|
||||
- Update to 0.0011
|
||||
- @INC hook should die directly (CPAN RT#120220)
|
||||
- Match core error more closely (CPAN RT#120221)
|
||||
- Add -quiet option to suppress some notices
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0010-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0010-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.0010-5
|
||||
- Perl 5.30 rebuild
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0010-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0010-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.0010-2
|
||||
- Perl 5.28 rebuild
|
||||
|
||||
* Mon Jun 18 2018 Paul Howarth <paul@city-fan.org> - 0.0010-1
|
||||
- Update to 0.0010
|
||||
- Makefile.PL: better prereqs declaration
|
||||
- Documentation typo fix
|
||||
- Switch upstream from search.cpan.org to metacpan.org
|
||||
- Drop legacy Group: tag
|
||||
- Use plain 'perl' instead of '%%{__perl}' macro
|
||||
- Use DESTDIR rather than PERL_INSTALL_ROOT
|
||||
- Make %%files list more explicit
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0009-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
@ -1,2 +0,0 @@
|
||||
from Config import *
|
||||
addFilter("spelling-error %description -l en_US filenames -> ")
|
Loading…
Reference in New Issue
Block a user