5b16da
#
5b16da
# Rebuild option:
5b16da
#
5b16da
#   --with testsuite         - run the test suite
5b16da
#
5b16da
5b16da
Name:           perl-GSSAPI
5b16da
Version:        0.28
5b16da
Release:        37%{?dist}
5b16da
Summary:        Perl extension providing access to the GSSAPIv2 library
5b16da
License:        GPL+ or Artistic
5b16da
URL:            https://metacpan.org/release/GSSAPI
5b16da
Source0:        https://cpan.metacpan.org/authors/id/A/AG/AGROLMS/GSSAPI-%{version}.tar.gz
5b16da
# Fix a crash in gss_release_oid() when destructing out_mech (rhbz #1994263, CPAN RT#121873)
5b16da
Patch0:         GSSAPI-0.28-Fix-a-crash-in-gss_release_oid-when-destructing-out_.patch
5b16da
BuildRequires:  make
5b16da
BuildRequires:  findutils
5b16da
BuildRequires:  gcc
5b16da
BuildRequires:  krb5-devel
5b16da
BuildRequires:  which
5b16da
%{?_with_testsuite:BuildRequires: perl(constant)}
5b16da
%{?_with_testsuite:BuildRequires: perl(Carp)}
5b16da
%{?_with_testsuite:BuildRequires: perl(Exporter)}
5b16da
BuildRequires:  perl-devel
5b16da
BuildRequires:  perl-generators
5b16da
BuildRequires:  perl-interpreter
5b16da
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
5b16da
%{?_with_testsuite:BuildRequires: perl(ExtUtils::testlib)}
5b16da
BuildRequires:  perl(Getopt::Long)
5b16da
%{?_with_testsuite:BuildRequires: perl(Test::More)}
5b16da
%{?_with_testsuite:BuildRequires: perl(Test::Pod) >= 1.00}
5b16da
%{?_with_testsuite:BuildRequires: perl(XSLoader)}
5b16da
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
5b16da
5b16da
%description
5b16da
This module gives access to the routines of the GSSAPI library, as
5b16da
described in rfc2743 and rfc2744 and implemented by the Kerberos-1.2
5b16da
distribution from MIT.
5b16da
5b16da
%prep
5b16da
%setup -q -n GSSAPI-%{version}
5b16da
%patch0 -p1
5b16da
chmod -c a-x examples/*.pl
5b16da
5b16da
%build
5b16da
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1
5b16da
%{make_build}
5b16da
5b16da
%install
5b16da
%{make_install}
5b16da
find %{buildroot} -type f -name '*.bs' -empty -delete
5b16da
%{_fixperms} %{buildroot}/*
5b16da
5b16da
%check
5b16da
# fails a couple of tests if network not available
5b16da
%{?_with_testsuite:make test}
5b16da
5b16da
%files
5b16da
%doc Changes README examples/
5b16da
%{perl_vendorarch}/auto/*
5b16da
%{perl_vendorarch}/GSSAPI*
5b16da
%{_mandir}/man3/*
5b16da
5b16da
%changelog
5b16da
* Thu Aug 19 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-37
5b16da
- Resolves: rhbz#1994263 - Fix a crash in gss_release_oid() when destructing out_mech
5b16da
5b16da
* Mon Aug 16 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-36
5b16da
- Resolves: rhbz#1994263 - Fix comparison of OID structure
5b16da
5b16da
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.28-35
5b16da
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
5b16da
  Related: rhbz#1991688
5b16da
5b16da
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.28-34
5b16da
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
5b16da
5b16da
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.28-33
5b16da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
5b16da
5b16da
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.28-32
5b16da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5b16da
5b16da
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-31
5b16da
- Perl 5.32 rebuild
5b16da
5b16da
* Tue Feb 04 2020 Tom Stellard <tstellar@redhat.com> - 0.28-30
5b16da
- Spec file cleanups: Use make_build and make_install macros
5b16da
- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
5b16da
- https://fedoraproject.org/wiki/Perl/Tips#ExtUtils::MakeMake
5b16da
5b16da
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.28-29
5b16da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
5b16da
5b16da
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.28-28
5b16da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5b16da
5b16da
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-27
5b16da
- Perl 5.30 rebuild
5b16da
5b16da
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.28-26
5b16da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5b16da
5b16da
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.28-25
5b16da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5b16da
5b16da
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-24
5b16da
- Perl 5.28 rebuild
5b16da
5b16da
* Mon Feb 19 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-23
5b16da
- Add build-require gcc
5b16da
5b16da
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.28-22
5b16da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5b16da
5b16da
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.28-21
5b16da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5b16da
5b16da
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.28-20
5b16da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5b16da
5b16da
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-19
5b16da
- Perl 5.26 rebuild
5b16da
5b16da
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.28-18
5b16da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5b16da
5b16da
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-17
5b16da
- Perl 5.24 rebuild
5b16da
5b16da
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.28-16
5b16da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
5b16da
5b16da
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-15
5b16da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5b16da
5b16da
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-14
5b16da
- Perl 5.22 rebuild
5b16da
5b16da
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-13
5b16da
- Perl 5.20 rebuild
5b16da
5b16da
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-12
5b16da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
5b16da
5b16da
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-11
5b16da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5b16da
5b16da
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-10
5b16da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
5b16da
5b16da
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0.28-9
5b16da
- Perl 5.18 rebuild
5b16da
5b16da
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-8
5b16da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
5b16da
5b16da
* Tue Nov 06 2012 Petr Šabata <contyk@redhat.com> - 0.28-7
5b16da
- Modernize the spec a bit and fix the deps
5b16da
5b16da
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-6
5b16da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5b16da
5b16da
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.28-5
5b16da
- Perl 5.16 rebuild
5b16da
5b16da
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-4
5b16da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5b16da
5b16da
* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.28-3
5b16da
- Perl mass rebuild
5b16da
5b16da
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-2
5b16da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5b16da
5b16da
* Mon Dec 27 2010 Steven Pritchard <steve@kspei.com> 0.28-1
5b16da
- Update to 0.28.
5b16da
5b16da
* Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.26-7
5b16da
- 661697 rebuild for fixing problems with vendorach/lib
5b16da
5b16da
* Thu Jun  3 2010 Petr Pisar <ppisar@redhat.com> - 0.26-6
5b16da
- Do not source /etc/profile.d/krb5-devel.sh as krb5-devel-1.8.1-6 does not
5b16da
  provide it and places executables into standard PATH.
5b16da
5b16da
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.26-5
5b16da
- Mass rebuild with perl-5.12.0
5b16da
5b16da
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.26-4
5b16da
- rebuild against perl 5.10.1
5b16da
5b16da
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26-3
5b16da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
5b16da
5b16da
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26-2
5b16da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5b16da
5b16da
* Thu May 15 2008 Steven Pritchard <steve@kspei.com> 0.26-1
5b16da
- Update to 0.26.
5b16da
- Cleanup a little to more closely match cpanspec output.
5b16da
- BR ExtUtils::MakeMaker.
5b16da
5b16da
* Mon Mar  3 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.24-6
5b16da
- rebuild for new perl (again)
5b16da
5b16da
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.24-5
5b16da
- Autorebuild for GCC 4.3
5b16da
5b16da
* Thu Feb 07 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.24-4
5b16da
- rebuild for new perl
5b16da
5b16da
* Thu Jan 03 2008 Steven Pritchard <steve@kspei.com> 0.24-3
5b16da
- Use sysconfdir macro instead of hard-coding /etc.
5b16da
5b16da
* Sat Dec 08 2007 Steven Pritchard <steve@kspei.com> 0.24-2
5b16da
- Update License tag.
5b16da
- Use fixperms macro instead of our own chmod incantation.
5b16da
- Source in /etc/profile.d/krb5-devel.sh to get our path right.
5b16da
5b16da
* Thu Feb 22 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.24-1
5b16da
- Update to 0.24.
5b16da
5b16da
* Sun Sep 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-2
5b16da
- Rebuild for FC6.
5b16da
5b16da
* Thu Aug  3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-1
5b16da
- Update to 0.23.
5b16da
5b16da
* Mon May 29 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-1
5b16da
- Update to 0.22.
5b16da
5b16da
* Thu Apr  6 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-1
5b16da
- Update to 0.21.
5b16da
5b16da
* Fri Mar 31 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1
5b16da
- First build.