# Run optional test %bcond_without perl_Git_Wrapper_enables_optional_test Name: perl-Git-Wrapper Version: 0.048 Release: 15%{?dist} Summary: Wrap git command-line interface for Perl License: GPL+ or Artistic URL: https://metacpan.org/release/Git-Wrapper Source0: https://cpan.metacpan.org/authors/id/G/GE/GENEHACK/Git-Wrapper-%{version}.tar.gz BuildArch: noarch BuildRequires: git-core BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(:VERSION) >= 5.6 BuildRequires: perl(Devel::CheckBin) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(File::Spec) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(File::chdir) BuildRequires: perl(File::Temp) BuildRequires: perl(IPC::Cmd) BuildRequires: perl(IPC::Open3) BuildRequires: perl(overload) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Sort::Versions) BuildRequires: perl(Symbol) # Tests: BuildRequires: perl(Cwd) BuildRequires: perl(File::Path) BuildRequires: perl(IO::File) # Pod::Coverage::TrustPod not used BuildRequires: perl(POSIX) BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) # Test::Pod 1.4 not used # Test::Pod::Coverage 1.08 not used %if %{with perl_Git_Wrapper_enables_optional_test} # Optional tests: BuildRequires: perl(Path::Class) >= 0.26 %endif Requires: git-core Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(IPC::Cmd) %description Git::Wrapper provides an API for git that uses Perl data structures for argument passing, instead of CLI-style --options as Git does. %prep %setup -q -n Git-Wrapper-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %license LICENSE %doc Changes README.md %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.048-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 31 2022 Jitka Plesnikova - 0.048-14 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.048-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.048-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.048-11 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.048-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.048-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.048-8 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.048-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.048-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.048-5 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.048-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.048-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.048-2 - Perl 5.28 rebuild * Tue Apr 03 2018 Petr Pisar - 0.048-1 - 0.048 bump * Thu Feb 08 2018 Fedora Release Engineering - 0.047-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.047-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.047-3 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.047-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jan 24 2017 Petr Pisar 0.047-1 - Specfile autogenerated by cpanspec 1.78.