[perl-CGI-Application-Plugin-DBIC-Schema] Clean up spec file
Emmanuel Seyman
eseyman at fedoraproject.org
Sun Mar 10 10:07:51 UTC 2013
commit 8038b3c7e16fd92f976a3df81a2d21af0e506c01
Author: Emmanuel Seyman <emmanuel at seyman.fr>
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 at seyman.fr> - 0.3-12
+- Remove no-longer-needed macros
+- Add perl default filter
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list