SPECS: perl-DBI.spec - add dirs for DBIx modules - cleaned up chec...

glen glen at pld-linux.org
Fri Dec 30 01:12:02 CET 2005


Author: glen                         Date: Fri Dec 30 00:12:01 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add dirs for DBIx modules
- cleaned up check-files
- rel 2

---- Files affected:
SPECS:
   perl-DBI.spec (1.75 -> 1.76) 

---- Diffs:

================================================================
Index: SPECS/perl-DBI.spec
diff -u SPECS/perl-DBI.spec:1.75 SPECS/perl-DBI.spec:1.76
--- SPECS/perl-DBI.spec:1.75	Sun Jul 24 01:14:04 2005
+++ SPECS/perl-DBI.spec	Fri Dec 30 01:11:56 2005
@@ -25,20 +25,20 @@
 Summary(zh_CN):	Perl ľÄĘýžÝżâˇĂÎĘ APIĄŁ
 Name:		perl-DBI
 Version:	1.48
-Release:	1
+Release:	2
 License:	GPL or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
 # Source0-md5:	87396e1a9c06d1190f1ca70e1da1163e
-Patch0:		perl-DBI-changes.patch
-BuildRequires:	rpm-perlprov >= 4.1-13
+Patch0:		%{name}-changes.patch
 BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with autodeps} || %{with tests}
-BuildRequires:	perl-PlRPC
 BuildRequires:	perl-Net-Daemon
+BuildRequires:	perl-PlRPC
 %endif
-Conflicts:	perl-DBD-CSV < 1:0.21
 Obsoletes:	perl-DBI-FAQ
+Conflicts:	perl-DBD-CSV < 1:0.21
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_noautoreq	'perl(DBD::<foo>)' 'perl(DBI::Format)' 'perl(DBI::PurePerl)'
@@ -171,13 +171,20 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
+%{__make} pure_install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT{%{perl_vendorlib}/DBIx,%{perl_vendorarch}/auto/DBD}
+install -d $RPM_BUILD_ROOT{%{perl_vendorlib}/DBIx,%{perl_vendorarch}/{DBIx,auto/{DBD,DBIx}}}
 
 # no reason to include Bundle::* in rpms
 rm -rf $RPM_BUILD_ROOT{%{perl_vendorarch}/Bundle,%{_mandir}/man3/Bundle::*}
+rm $RPM_BUILD_ROOT%{perl_vendorarch}/auto/DBI/.packlist
+
+# not our os
+rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/{DBI/W32ODBC,Win32/DBIODBC}.pm
+rm -f $RPM_BUILD_ROOT%{_mandir}/man3/{DBI::W32,Win32::DBI}ODBC.3pm
+# different format in %doc
+rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/DBI/{Changes,Roadmap}.pod
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -189,6 +196,7 @@
 %dir %{perl_vendorlib}/DBIx
 %{perl_vendorarch}/DBI.pm
 %dir %{perl_vendorarch}/DBI
+%dir %{perl_vendorarch}/DBIx
 %{perl_vendorarch}/DBI/Const
 %{perl_vendorarch}/DBI/DBD
 %{perl_vendorarch}/DBI/SQL
@@ -196,6 +204,7 @@
 %{perl_vendorarch}/DBD
 %dir %{perl_vendorarch}/auto/DBD
 %dir %{perl_vendorarch}/auto/DBI
+%dir %{perl_vendorarch}/auto/DBIx
 %{perl_vendorarch}/auto/DBI/*.h
 %{perl_vendorarch}/auto/DBI/Driver.xst
 %{perl_vendorarch}/auto/DBI/DBI.bs
@@ -221,6 +230,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.76  2005/12/30 00:11:56  glen
+- add dirs for DBIx modules
+- cleaned up check-files
+- rel 2
+
 Revision 1.75  2005/07/23 23:14:04  radek
 - minor cleanup
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl-DBI.spec?r1=1.75&r2=1.76&f=u



More information about the pld-cvs-commit mailing list