Compare commits

..

No commits in common. "c8" and "c9s" have entirely different histories.
c8 ... c9s

5 changed files with 93 additions and 22 deletions

7
.gitignore vendored
View File

@ -1 +1,6 @@
SOURCES/Devel-Hide-0.0009.tar.gz /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

View File

@ -1 +1 @@
8e3daa41ebd2a8b8d912048513127b3b967e6e7f SOURCES/Devel-Hide-0.0009.tar.gz 92c56e0e5d51bb44da213a521cd7b07b7f4d6dcc Devel-Hide-0.0013.tar.gz

View File

@ -0,0 +1,2 @@
from Config import *
addFilter("spelling-error %description -l en_US filenames -> ")

View File

@ -1,63 +1,126 @@
# Run optional tests # Run optional tests
%if ! (0%{?rhel})
%bcond_without perl_Devel_Hide_enables_optional_test %bcond_without perl_Devel_Hide_enables_optional_test
%else
%bcond_with perl_Devel_Hide_enables_optional_test
%endif
Name: perl-Devel-Hide Name: perl-Devel-Hide
Version: 0.0009 Version: 0.0013
Release: 14%{?dist} Release: 6%{?dist}
Summary: Forces the unavailability of specified Perl modules (for testing) Summary: Forces the unavailability of specified Perl modules (for testing)
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries URL: https://metacpan.org/release/Devel-Hide
URL: http://search.cpan.org/dist/Devel-Hide/ Source0: https://cpan.metacpan.org/modules/by-module/Devel/Devel-Hide-%{version}.tar.gz
Source0: http://www.cpan.org/authors/id/F/FE/FERREIRA/Devel-Hide-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
# Module Build
BuildRequires: coreutils
BuildRequires: findutils BuildRequires: findutils
BuildRequires: make BuildRequires: make
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
# Run-time: # Module Runtime
# File::Temp not used on perl >= 5.008
BuildRequires: perl(lib) BuildRequires: perl(lib)
# Module::CoreList is used from a private subroutine that is never called # Module::CoreList is used from a private subroutine that is never called
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(vars)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
# Tests: # Test Suite
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
%if %{with perl_Devel_Hide_enables_optional_test} %if %{with perl_Devel_Hide_enables_optional_test}
# Optional tests: # Optional Tests
BuildRequires: perl(Test::Pod) >= 1.18 BuildRequires: perl(Test::Pod) >= 1.18
BuildRequires: perl(Test::Pod::Coverage) >= 1.04 BuildRequires: perl(Test::Pod::Coverage) >= 1.04
%endif %endif
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # Dependencies
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description %description
Given a list of Perl modules/filenames, this module makes require and Given a list of Perl modules/filenames, this module makes require and use
use statements fail (no matter the specified files/modules are statements fail (regardless of whether the specified files/modules are
installed or not). installed or not).
%prep %prep
%setup -q -n Devel-Hide-%{version} %setup -q -n Devel-Hide-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
find $RPM_BUILD_ROOT -type f -name .packlist -delete %{_fixperms} -c %{buildroot}
%{_fixperms} $RPM_BUILD_ROOT/*
%check %check
make test make test
%files %files
%doc Changes README %doc Changes README
%{perl_vendorlib}/* %{perl_vendorlib}/Devel/
%{_mandir}/man3/* %{_mandir}/man3/Devel::Hide.3*
%changelog %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 * Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0009-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (Devel-Hide-0.0013.tar.gz) = acaa190dcc046ddc6c5bfb300ab2042b87bc43e67d1766cde07a83380ea3989461cec9527e0f7c1881ae7e9ac4aeb75b6255cdda287c280dabb2d5b7b9b785d6