Hello community, here is the log from the commit of package perl-DBD-ODBC for openSUSE:Factory checked in at Mon Aug 2 10:39:16 CEST 2010. -------- --- perl-DBD-ODBC/perl-DBD-ODBC.changes 2010-02-26 15:29:25.000000000 +0100 +++ /mounts/work_src_done/STABLE/perl-DBD-ODBC/perl-DBD-ODBC.changes 2010-07-25 17:07:45.000000000 +0200 @@ -1,0 +2,13 @@ +Sun Jul 25 14:57:44 UTC 2010 - chris@computersalat.de + +- removed dos2unix usage + +------------------------------------------------------------------- +Thu Jun 3 19:24:40 UTC 2010 - chris@computersalat.de + +update to 1.24 + o please see Changes file +- recreated spec by cpanspec 1.78 +- added examples to doc + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- DBD-ODBC-1.23.tar.bz2 New: ---- DBD-ODBC-1.24.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-DBD-ODBC.spec ++++++ --- /var/tmp/diff_new_pack.RmlEKC/_old 2010-08-02 10:39:09.000000000 +0200 +++ /var/tmp/diff_new_pack.RmlEKC/_new 2010-08-02 10:39:09.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package perl-DBD-ODBC (Version 1.23) +# spec file for package perl-DBD-ODBC (Version 1.24) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,21 +17,32 @@ # norootforbuild +%bcond_with test Name: perl-DBD-ODBC -Url: http://cpan.org/modules/by-module/DBD/ -BuildRequires: perl-DBI unixODBC-devel -License: GPLv2+ -Group: Development/Libraries/Perl -AutoReqProv: on -Requires: perl-DBI unixODBC -Requires: perl = %{perl_version} -Summary: Perl DBD module for interfacing with ODBC databases -Version: 1.23 +%define cpan_name DBD-ODBC +Summary: ODBC Driver for DBI +Version: 1.24 Release: 1 -Source: DBD-ODBC-%{version}.tar.bz2 -Patch: %{name}-%{version}-Makefile.diff +License: GPL+ or Artistic +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/DBD-ODBC/ +#Source: http://www.cpan.org/modules/by-module/DBD/DBD-ODBC-%{version}.tar.gz +Source: %{cpan_name}-%{version}.tar.bz2 +Patch0: %{name}-1.23-Makefile.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +%if 0%{?suse_version} < 1120 +BuildRequires: perl-macros +%endif +%if %{with test} +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 +%endif +BuildRequires: perl(DBI) >= 1.21 +BuildRequires: unixODBC-devel +Requires: perl = %{perl_version} +Requires: perl(DBI) >= 1.21 +Requires: unixODBC %description This module is needed to access ODBC databases from within Perl. The @@ -46,33 +57,43 @@ Thomas K. Wenrich %prep -%setup -q -n DBD-ODBC-%{version} -%patch +%setup -q -n %{cpan_name}-%{version} +%patch0 + +#rpmlint: wrong-file-end-of-line-encoding +for file in README.af README.unicode; do + %{__perl} -p -i -e "s|\r\n|\n|" "$file" +done + +pushd examples +#rpmlint: wrong-file-end-of-line-encoding +find -type f -exec %{__perl} -p -i -e "s|\r\n|\n|" {} \; +#rpmlint: wrong-script-interpreter +for ex in $(ls -1); do + %{__sed} -i -e 's,#[!|#]perl\(.*\),#!%{__perl}\1,' "$ex" + %{__sed} -i -e 's,#!perl.exe -w,#!%{__perl} -w,' "$ex" +done +popd %build -export ODBCHOME=/usr LIB=%{_lib} -perl Makefile.PL -make %{?_smp_mflags} +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +%{__make} %{?_smp_mflags} %check -make test +%{__make} test %install -install -d $RPM_BUILD_ROOT/%{perl_archlib} -make DESTDIR=$RPM_BUILD_ROOT install_vendor +%perl_make_install %perl_process_packlist +%perl_gen_filelist %clean -[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT +%{__rm} -rf $RPM_BUILD_ROOT -%files -%defattr(-,root,root) -%doc Changes README MANIFEST -%doc %{_mandir}/man?/* -%dir %{perl_vendorarch}/DBD -%dir %{perl_vendorarch}/auto/DBD -%{perl_vendorarch}/DBD/* -%{perl_vendorarch}/auto/DBD/* -/var/adm/perl-modules/%{name} +%files -f %{name}.files +%defattr(-,root,root,-) +%doc Changes FAQ if_you_are_taking_over_this_code.txt +%doc README README.adabas README.af README.informix README.sqlserver README.unicode +%doc test_results.txt examples %changelog ++++++ DBD-ODBC-1.23.tar.bz2 -> DBD-ODBC-1.24.tar.bz2 ++++++ ++++ 3240 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org