[svn] r3081 - in trunk/rpms: openvpn perl-CPANPLUS

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Sat Apr 2 06:45:43 CEST 2005


Author: dag
Date: 2005-04-02 06:45:40 +0200 (Sat, 02 Apr 2005)
New Revision: 3081

Modified:
   trunk/rpms/openvpn/openvpn-2.0.spec
   trunk/rpms/openvpn/openvpn.spec
   trunk/rpms/perl-CPANPLUS/perl-CPANPLUS.spec
Log:
Updates, test mailinglist

Modified: trunk/rpms/openvpn/openvpn-2.0.spec
===================================================================
--- trunk/rpms/openvpn/openvpn-2.0.spec	2005-04-01 19:29:43 UTC (rev 3080)
+++ trunk/rpms/openvpn/openvpn-2.0.spec	2005-04-02 04:45:40 UTC (rev 3081)
@@ -12,7 +12,7 @@
 Release: %{?prever:0.%{prever}.}1
 License: GPL
 Group: Applications/Internet
-URL: http://openvpn.sourceforge.net/
+URL: http://openvpn.net/
 
 Source: http://openvpn.net/release/openvpn-%{version}%{?prever:_%{prever}}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
@@ -60,6 +60,7 @@
 	%{__mv} -f plugin/$pi/README plugin/README.$pi
 	%{__install} -Dp -m0755 plugin/$pi/openvpn-$pi.so %{buildroot}%{_datadir}/openvpn/plugin/lib/openvpn-$pi.so
 done
+%{__mv} -f plugin/README plugin/README.plugins
 
 
 %clean

Modified: trunk/rpms/openvpn/openvpn.spec
===================================================================
--- trunk/rpms/openvpn/openvpn.spec	2005-04-01 19:29:43 UTC (rev 3080)
+++ trunk/rpms/openvpn/openvpn.spec	2005-04-02 04:45:40 UTC (rev 3081)
@@ -78,7 +78,7 @@
 %doc %{_mandir}/man?/*
 %config(noreplace) %{_sysconfdir}/openvpn/
 %config %{_initrddir}/*
-%{_sbindir}/*
+%{_sbindir}/openvpn
 %{?rh7:%ghost /dev/net/tun}
 %{?rh6:%ghost /dev/net/tun}
 

Modified: trunk/rpms/perl-CPANPLUS/perl-CPANPLUS.spec
===================================================================
--- trunk/rpms/perl-CPANPLUS/perl-CPANPLUS.spec	2005-04-01 19:29:43 UTC (rev 3080)
+++ trunk/rpms/perl-CPANPLUS/perl-CPANPLUS.spec	2005-04-02 04:45:40 UTC (rev 3081)
@@ -1,14 +1,12 @@
 # $Id$
-
 # Authority: dries
 # Upstream: Jos Boumans <gro,miwd$enak>
 
-%define real_name CPANPLUS
 %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
 %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
-%define perl_archlib %(eval "`perl -V:archlib`"; echo $archlib)
-%define perl_privlib %(eval "`perl -V:privlib`"; echo $privlib)
 
+%define real_name CPANPLUS
+
 Summary: Command-line access to the CPAN interface
 Name: perl-CPANPLUS
 Version: 0.053
@@ -21,7 +19,7 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildArch: noarch
-BuildRequires: perl
+BuildRequires: perl >= 5.8.1
 
 %description
 The "CPANPLUS" library is an API to the "CPAN" mirrors and a collection
@@ -34,7 +32,7 @@
 %build
 #%{__perl} -pi -e 's|^ *\@ARGV = grep \{.*||g;' Makefile.PL
 %{__perl} -pi -e 's|use Your::Module::Here|your use statements here|g;' lib/CPANPLUS/Internals/Constants/Report.pm
-%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX=%{buildroot}%{_prefix} AUTOINSTALL=1 SETUP=0 JFDI=1
+%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" AUTOINSTALL=1 SETUP=0 JFDI=1
 %{__make} %{?_smp_mflags}
 
 %install
@@ -53,12 +51,12 @@
 %files
 %defattr(-, root, root, 0755)
 %doc README ChangeLog
+%doc %{_mandir}/man1/*
+%doc %{_mandir}/man3/*
 %{_bindir}/cpan2dist
 %{_bindir}/cpanp
-%doc %{_mandir}/man3/*
-%doc %{_mandir}/man1/*
 %{perl_vendorlib}/CPANPLUS.pm
-%{perl_vendorlib}/CPANPLUS/*
+%{perl_vendorlib}/CPANPLUS/
 
 %changelog
 * Thu Mar 31 2005 Dries Verachtert <dries at ulyssis.org> - 0.053-2




More information about the commits mailing list