[perl-CGI-Application-Plugin-DBIC-Schema] Clean up spec file

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

 



commit 8038b3c7e16fd92f976a3df81a2d21af0e506c01
Author: Emmanuel Seyman <emmanuel@xxxxxxxxx>
Date:   Sun Mar 10 11:07:47 2013 +0100

    Clean up spec file

 perl-CGI-Application-Plugin-DBIC-Schema.spec |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/perl-CGI-Application-Plugin-DBIC-Schema.spec b/perl-CGI-Application-Plugin-DBIC-Schema.spec
index 25fda25..9b4b87a 100644
--- a/perl-CGI-Application-Plugin-DBIC-Schema.spec
+++ b/perl-CGI-Application-Plugin-DBIC-Schema.spec
@@ -1,12 +1,12 @@
 Name:           perl-CGI-Application-Plugin-DBIC-Schema
 Version:        0.3
-Release:        11%{?dist}
+Release:        12%{?dist}
 Summary:        Easy DBIx::Class access from CGI::Application
 License:        GPL+ or Artistic
-Group:          Development/Libraries
+
 URL:            http://search.cpan.org/dist/CGI-Application-Plugin-DBIC-Schema/
 Source0:        http://www.cpan.org/authors/id/V/VA/VANAMBURG/CGI-Application-Plugin-DBIC-Schema-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
 BuildArch:      noarch
 BuildRequires:  perl(CGI::Application)
 BuildRequires:  perl(DBIx::Class)
@@ -16,6 +16,8 @@ Requires:       perl(CGI::Application)
 Requires:       perl(DBIx::Class)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 CGI::Application::Plugin::DBIC::Schema adds easy access to a
 DBIx::Class::Schema to your Titanium or CGI::Application modules. Lazy
@@ -31,8 +33,6 @@ database connection is not created until it is actually needed.
 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 {} \;
@@ -43,16 +43,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sun Mar 10 2013 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.3-12
+- Remove no-longer-needed macros
+- Add perl default filter
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.3-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
--
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