rpms/perl-DBI-Dumper/devel perl-DBI-Dumper.spec,1.12,1.13

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: iarnell

Update of /cvs/pkgs/rpms/perl-DBI-Dumper/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv11433

Modified Files:
	perl-DBI-Dumper.spec 
Log Message:
* Sun Jul 25 2010 Iain Arnell <iarnell@xxxxxxxxx> 2.01-11
- use filtering macros
- clean up EU::MM confusion
- update spec for modern rpmbuild



Index: perl-DBI-Dumper.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-DBI-Dumper/devel/perl-DBI-Dumper.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- perl-DBI-Dumper.spec	25 Jul 2010 08:08:11 -0000	1.12
+++ perl-DBI-Dumper.spec	25 Jul 2010 08:09:01 -0000	1.13
@@ -1,13 +1,12 @@
 Name:           perl-DBI-Dumper
 Version:        2.01
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        Dump data from a DBI datasource to file
 # see http://rt.cpan.org/Public/Bug/Display.html?id=27269
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/DBI-Dumper/
 Source0:        http://www.cpan.org/authors/id/W/WS/WSMITH/DBI-Dumper-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 # core
@@ -19,6 +18,12 @@ BuildRequires:  perl(Inline::C)
 BuildRequires:  perl(Parse::RecDescent)
 BuildRequires:  perl(Term::ReadKey)
 
+%{?filter_setup:
+%filter_from_provides /perl(Parse::RecDescent::DBI::Dumper::Grammar)/d
+%?perl_default_filter
+}
+
+
 %description
 Dumps data from a select statement into an output file. dbidumper tries
 to mirror the functionality and behavior of sql*loader. The control
@@ -53,8 +58,6 @@ EOF
 make 
 
 %install
-rm -rf %{buildroot}
-
 make pure_install PERL_INSTALL_ROOT=%{buildroot}
 
 find %{buildroot} -type f -name .packlist -exec rm -f {} +
@@ -63,12 +66,12 @@ find %{buildroot} -depth -type d -exec r
 
 %{_fixperms} %{buildroot}/*
 
+# EU::MM seems to be horribly confused
+rm -rf %{buildroot}${PWD}
+
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 %doc Changes grammar.prd README COPYING.fedora t/
@@ -78,6 +81,11 @@ rm -rf %{buildroot}
 %{_mandir}/man[13]/*
 
 %changelog
+* Sun Jul 25 2010 Iain Arnell <iarnell@xxxxxxxxx> 2.01-11
+- use filtering macros
+- clean up EU::MM confusion
+- update spec for modern rpmbuild
+
 * Fri Apr 30 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 2.01-10
 - Mass rebuild with perl-5.12.0
 

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux