[perl-Class-DBI-AsForm] minor spec cleanups and rebuild

Tom Callaway spot at fedoraproject.org
Sun Oct 2 09:42:21 UTC 2011


commit 54633eae7cb45d131a24d6bd701c467ec32db0b8
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date:   Sun Oct 2 11:42:04 2011 +0200

    minor spec cleanups and rebuild

 perl-Class-DBI-AsForm.spec |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/perl-Class-DBI-AsForm.spec b/perl-Class-DBI-AsForm.spec
index 90fba9a..a401c02 100644
--- a/perl-Class-DBI-AsForm.spec
+++ b/perl-Class-DBI-AsForm.spec
@@ -1,13 +1,11 @@
 Name:           perl-Class-DBI-AsForm
 Version:        2.42
-Release:        15%{?dist}
+Release:        16%{?dist}
 Summary:        Produce HTML form elements for database columns
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Class-DBI-AsForm
 Source0:        http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/Class-DBI-AsForm-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildArch:      noarch
 BuildRequires:	perl(Class::DBI), perl(HTML::Element), perl(Class::DBI::Plugin::Type)
 BuildRequires:  perl(DBD::SQLite), perl(Test::Pod), perl(Test::Pod::Coverage), perl(Test::More)
@@ -30,7 +28,6 @@ perldoc -t perlgpl > COPYING
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
@@ -39,17 +36,16 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Artistic COPYING Changes
 %{perl_vendorlib}/Class/DBI
 %{_mandir}/man3/*.3*
 
 
 %changelog
+* Sun Oct  2 2011 Tom Callaway <spot at fedoraproject.org> - 2.42-16
+- minor spec cleanups and rebuild
+
 * Tue Jul 19 2011 Petr Sabata <contyk at redhat.com> - 2.42-15
 - Perl mass rebuild
 


More information about the scm-commits mailing list