Blame SPECS/perl-GSSAPI.spec

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