[perl-RT-Authen-ExternalAuth/el5: 2/2] Initial EL5 import

Xavier Bachelot xavierb at fedoraproject.org
Mon May 21 19:56:33 UTC 2012


commit 3ef5e66c8a078a7324c142d96a2d4eed344d889e
Author: Xavier Bachelot <xavier at bachelot.org>
Date:   Mon May 21 21:56:16 2012 +0200

    Initial EL5 import

 .gitignore                       |    1 +
 perl-RT-Authen-ExternalAuth.spec |   32 ++++++++++++++------------------
 sources                          |    2 +-
 3 files changed, 16 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index cc8dfcb..b4ec81b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /RT-Authen-ExternalAuth-0.10.tar.gz
+/RT-Authen-ExternalAuth-0.08.tar.gz
diff --git a/perl-RT-Authen-ExternalAuth.spec b/perl-RT-Authen-ExternalAuth.spec
index ff12c0c..e220868 100644
--- a/perl-RT-Authen-ExternalAuth.spec
+++ b/perl-RT-Authen-ExternalAuth.spec
@@ -1,23 +1,21 @@
 Name:           perl-RT-Authen-ExternalAuth
-Version:        0.10
+Version:        0.08
 Release:        1%{?dist}
 Summary:        RT Authentication using External Sources
 License:        GPLv2+
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/RT-Authen-ExternalAuth/
-Source0:        http://search.cpan.org/CPAN/authors/id/T/TS/TSIBLEY/RT-Authen-ExternalAuth-%{version}.tar.gz
+Source0:        http://www.cpan.org/modules/by-module/RT/RT-Authen-ExternalAuth-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  rt3
-BuildRequires:  perl(CPAN)
-BuildRequires:  perl(CGI::Cookie)
-BuildRequires:  perl(DBI)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Net::LDAP)
-BuildRequires:  perl(Net::SSLeay)
 Requires:       rt3
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 A complete package for adding external authentication mechanisms to RT. It
 currently supports LDAP via Net::LDAP and External Database authentication
@@ -25,6 +23,10 @@ for any database with an installed DBI driver.
 
 %prep
 %setup -q -n RT-Authen-ExternalAuth-%{version}
+sed -i -e 's/\r//' lib/RT/Authen/ExternalAuth/DBI.pm
+sed -i -e 's/\r//' lib/RT/Authen/ExternalAuth/LDAP.pm
+chmod a-x ChangeLog LICENSE README html/Callbacks/ExternalAuth/autohandler/Auth
+find . -name *.pm -exec chmod a-x {} ';'
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -38,8 +40,8 @@ make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
-install -d -m 755 $RPM_BUILD_ROOT/%{_datarootdir}/rt3/html
-cp -r html/* $RPM_BUILD_ROOT/%{_datarootdir}/rt3/html/
+install -d -m 755 $RPM_BUILD_ROOT/%{_datadir}/rt3/html
+cp -r html/* $RPM_BUILD_ROOT/%{_datadir}/rt3/html/
 
 %{_fixperms} $RPM_BUILD_ROOT/*
 
@@ -54,15 +56,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc ChangeLog LICENSE README etc/RT_SiteConfig.pm
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
-%{_datarootdir}/rt3/html/*
-
-%changelog
-* Wed Mar 28 2012 Gabriel Somlo <somlo at cmu.edu> 0.10-1
-- update to 0.10
+%{_datadir}/rt3/html/*
 
-* Fri Oct 13 2011 Michal Ingeli <mi at v3.sk> 0.09-2
-- Added missing mason templates.
-- Filtered automatic requires.
 
-* Wed Oct 12 2011 Michal Ingeli <mi at v3.sk> 0.09-1
-- Specfile autogenerated by cpanspec 1.78.
+%changelog
+* Tue May 15 2012 Xavier Bachelot <xavier at bachelot.org> 0.08-1
+- Initial EL5 import.
diff --git a/sources b/sources
index eb54fa6..257cb68 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-25a1ab0d52df776a7f77d2c35e74e105  RT-Authen-ExternalAuth-0.10.tar.gz
+ba591003a2ca39ac2965b548e158a34f  RT-Authen-ExternalAuth-0.08.tar.gz


More information about the scm-commits mailing list