rpms/perl-Authen-Krb5/F-7 Authen-Krb5-com_err.patch, NONE, 1.1 perl-Authen-Krb5.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Simon Wilkinson (sxw)
fedora-extras-commits at redhat.com
Tue Jan 29 18:45:28 UTC 2008
Author: sxw
Update of /cvs/pkgs/rpms/perl-Authen-Krb5/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26490/F-7
Modified Files:
.cvsignore sources
Added Files:
Authen-Krb5-com_err.patch perl-Authen-Krb5.spec
Log Message:
Import perl-Authen-Krb5-1.7-2.fc9.src.rpm
Authen-Krb5-com_err.patch:
--- NEW FILE Authen-Krb5-com_err.patch ---
diff -up Krb5-1.7/Krb5.xs.orig Krb5-1.7/Krb5.xs
--- Krb5-1.7/Krb5.xs.orig 2008-01-03 15:35:18.000000000 +0000
+++ Krb5-1.7/Krb5.xs 2008-01-28 11:07:52.000000000 +0000
@@ -5,7 +5,7 @@ extern "C" {
#include "perl.h"
#include "XSUB.h"
#include <krb5.h>
-#include <com_err.h>
+#include <et/com_err.h>
#include <errno.h>
#include "krb5_constants.c"
--- NEW FILE perl-Authen-Krb5.spec ---
Name: perl-Authen-Krb5
Version: 1.7
Release: 2%{?dist}
Summary: Krb5 Perl module
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Krb5/
Source0: http://www.cpan.org/authors/id/J/JH/JHORWITZ/Krb5-%{version}.tar.gz
Patch0: Authen-Krb5-com_err.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: krb5-devel
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Authen::Krb5 is an object oriented interface to the Kerberos 5 API. Both
the implementation and documentation are nowhere near complete, and may
require previous experience with Kerberos 5 programming. Most of the
functions here are documented in detail in the Kerberos 5 API
documentation.
%prep
%setup -q -n Krb5-%{version}
# Fix the reference to com_err.h to the correct path
%patch0 -p1
# And the references to /usr/local/bin/perl
sed -i 's|/usr/local/bin/perl|/usr/bin/perl|' \
sample_client sample_server simple_client simple_server
%build
# Rewrite the Makefile with our local paths
mv Makefile.PL Makefile.PL.old
cat Makefile.PL.old | \
sed -e's|/usr/local/krb5/lib|%{_libdir}|' \
-e's|/usr/localkrb5/include|%{_includedir}|' \
> Makefile.PL
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT
chmod 644 sample_client sample_server simple_client simple_server
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes COPYRIGHT README sample_client sample_server simple_client simple_server TODO
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Authen
%{_mandir}/man3/*
%changelog
* Mon Jan 28 2008 Simon Wilkinson <simon at sxw.org.uk> 1.7-2
- Use sed, rather than a patch to fix references to perl binary
review comment)
* Mon Jan 28 2008 Simon Wilkinson <simon at sxw.org.uk> 1.7-1
- Specfile autogenerated by cpanspec 1.74.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Authen-Krb5/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 29 Jan 2008 17:50:03 -0000 1.1
+++ .cvsignore 29 Jan 2008 18:44:48 -0000 1.2
@@ -0,0 +1 @@
+Krb5-1.7.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Authen-Krb5/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 29 Jan 2008 17:50:03 -0000 1.1
+++ sources 29 Jan 2008 18:44:48 -0000 1.2
@@ -0,0 +1 @@
+41fc7c533b139110557478649eb9e4b2 Krb5-1.7.tar.gz
More information about the fedora-extras-commits
mailing list