Blame SPECS/perl-Config-AutoConf.spec

2c7973
# Use File::Slurper for reading file content
2c7973
%bcond_without perl_Config_AutoConf_enables_File_Slurper
2c7973
# Use Scalar::Util for detecting numbers
2c7973
%bcond_without perl_Config_AutoConf_enables_Scalar_Util
2c7973
2c7973
Name:           perl-Config-AutoConf
2c7973
Version:        0.319
2c7973
Release:        5%{?dist}
2c7973
Summary:        A module to implement some of AutoConf macros in pure Perl
2c7973
License:        GPL+ or Artistic
2c7973
URL:            https://metacpan.org/release/Config-AutoConf
2c7973
Source0:        https://cpan.metacpan.org/authors/id/R/RE/REHSACK/Config-AutoConf-%{version}.tar.gz
2c7973
BuildArch:      noarch
2c7973
# Build
2c7973
BuildRequires:  gcc
2c7973
BuildRequires:  make
2c7973
BuildRequires:  perl-interpreter
2c7973
BuildRequires:  perl-generators
2c7973
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
2c7973
BuildRequires:  perl(strict)
2c7973
BuildRequires:  perl(warnings)
2c7973
# Runtime
2c7973
BuildRequires:  perl(base)
2c7973
BuildRequires:  perl(Capture::Tiny)
2c7973
BuildRequires:  perl(Carp)
2c7973
BuildRequires:  perl(Config)
2c7973
BuildRequires:  perl(constant)
2c7973
BuildRequires:  perl(Exporter)
2c7973
BuildRequires:  perl(File::Basename)
2c7973
%if %{with perl_Config_AutoConf_enables_File_Slurper}
2c7973
BuildRequires:  perl(File::Slurper)
2c7973
%endif
2c7973
BuildRequires:  perl(File::Spec)
2c7973
BuildRequires:  perl(File::Temp)
2c7973
%if %{with perl_Config_AutoConf_enables_Scalar_Util}
2c7973
BuildRequires:  perl(Scalar::Util) >= 1.18
2c7973
%endif
2c7973
BuildRequires:  perl(Text::ParseWords)
2c7973
# Tests only
2c7973
BuildRequires:  perl(Cwd)
2c7973
BuildRequires:  perl(ExtUtils::CBuilder)
2c7973
# Unused BuildRequires:  perl(IO::String)
2c7973
BuildRequires:  perl(Test::More)
2c7973
Requires:       perl(:MODULE_COMPAT_%(eval "$(/usr/bin/perl -V:version)"; echo $version))
2c7973
%if %{with perl_Config_AutoConf_enables_File_Slurper}
2c7973
Suggests:       perl(File::Slurper)
2c7973
%endif
2c7973
%if %{with perl_Config_AutoConf_enables_Scalar_Util}
2c7973
Suggests:       perl(Scalar::Util) >= 1.18
2c7973
%endif
2c7973
2c7973
%description
2c7973
This module simulates some of the tasks autoconf macros do.  To detect
2c7973
a command, a library and similar.
2c7973
2c7973
%prep
2c7973
%setup -q -n Config-AutoConf-%{version}
2c7973
2c7973
%build
2c7973
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
2c7973
%{make_build}
2c7973
2c7973
%install
2c7973
%{make_install}
2c7973
%{_fixperms} %{buildroot}/*
2c7973
2c7973
%check
2c7973
%{make_build} test
2c7973
2c7973
%files
2c7973
%doc Changes README.md
2c7973
%{perl_vendorlib}/*
2c7973
%{_mandir}/man3/*
2c7973
2c7973
%changelog
2c7973
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.319-5
2c7973
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
2c7973
  Related: rhbz#1991688
2c7973
2c7973
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.319-4
2c7973
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
2c7973
2c7973
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.319-3
2c7973
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2c7973
2c7973
* Tue Jan 12 2021 Petr Pisar <ppisar@redhat.com> - 0.319-2
2c7973
- Suggest File::Slurper for reading file content
2c7973
- Suggest Scalar::Util for detecting numbers
2c7973
2c7973
* Sun Oct 04 2020 Emmanuel Seyman <emmanuel@seyman.fr> - 0.319-1
2c7973
- Update to 0.319
2c7973
2c7973
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.318-4
2c7973
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2c7973
2c7973
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.318-3
2c7973
- Perl 5.32 rebuild
2c7973
2c7973
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.318-2
2c7973
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2c7973
2c7973
* Sun Jan 05 2020 Emmanuel Seyman <emmanuel@seyman.fr> - 0.318-1
2c7973
- Update to 0.318
2c7973
- Add perl(File::Slurper) as a dependency
2c7973
- Use /usr/bin/perl instead of perl
2c7973
- Use %%{make_install} instead of make pure_install
2c7973
- Use %%{make_build} instead of make
2c7973
2c7973
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.317-6
2c7973
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2c7973
2c7973
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.317-5
2c7973
- Perl 5.30 rebuild
2c7973
2c7973
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.317-4
2c7973
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2c7973
2c7973
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.317-3
2c7973
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2c7973
2c7973
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.317-2
2c7973
- Perl 5.28 rebuild
2c7973
2c7973
* Sun Jun 10 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 0.317-1
2c7973
- Update to 0.317
2c7973
2c7973
* Sun Apr 22 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 0.316-1
2c7973
- Update to 0.316
2c7973
2c7973
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.315-2
2c7973
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2c7973
2c7973
* Sun Aug 06 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 0.315-1
2c7973
- Update to 0.315
2c7973
2c7973
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.314-3
2c7973
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2c7973
2c7973
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.314-2
2c7973
- Perl 5.26 rebuild
2c7973
2c7973
* Sun Apr 02 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 0.314-1
2c7973
- Update to 0.314
2c7973
2c7973
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.313-2
2c7973
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2c7973
2c7973
* Tue May 31 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 0.313-1
2c7973
- Update to 0.313
2c7973
2c7973
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.311-6
2c7973
- Perl 5.24 rebuild
2c7973
2c7973
* Sun Mar 20 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 0.311-5
2c7973
- Replace glibc-headers as a glibc-headers with gcc (#1230486)
2c7973
2c7973
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.311-4
2c7973
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2c7973
2c7973
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.311-3
2c7973
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2c7973
2c7973
* Thu Jun 11 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.311-2
2c7973
- Perl 5.22 rebuild
2c7973
2c7973
* Wed Jun 10 2015 Petr Šabata <contyk@redhat.com> - 0.311-1
2c7973
- 0.311 bump
2c7973
2c7973
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.309-2
2c7973
- Perl 5.22 rebuild
2c7973
2c7973
* Wed Feb 18 2015 Petr Šabata <contyk@redhat.com> - 0.309-1
2c7973
- 0.309 bump
2c7973
2c7973
* Thu Nov 06 2014 Petr Šabata <contyk@redhat.com> 0.305-1
2c7973
- Initial packaging