[perl-Catalyst-Controller-FormBuilder] minor spec clean up

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

 



commit a7ff0e01fb4d14a51c9676d094b4ea21798dc278
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Thu Mar 17 16:54:29 2011 +0100

    minor spec clean up
    
    don't filter perl(Catalyst::View::HTML::Template) from requires
    drop obsolete no_scalar_util_0_19.patch
    clean up spec for modern rpmbuild

 no_scalar_util_0_19.patch                 |   13 -------------
 perl-Catalyst-Controller-FormBuilder.spec |   16 ++++++----------
 2 files changed, 6 insertions(+), 23 deletions(-)
---
diff --git a/perl-Catalyst-Controller-FormBuilder.spec b/perl-Catalyst-Controller-FormBuilder.spec
index 39b68b7..049960f 100644
--- a/perl-Catalyst-Controller-FormBuilder.spec
+++ b/perl-Catalyst-Controller-FormBuilder.spec
@@ -1,13 +1,11 @@
 Name:           perl-Catalyst-Controller-FormBuilder
 Version:        0.05
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        Catalyst FormBuilder Base Controller
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Catalyst-Controller-FormBuilder/
 Source0:        http://search.cpan.org/CPAN/authors/id/M/MS/MSTROUT/Catalyst-Controller-FormBuilder-%{version}.tar.gz
-Patch0:         no_scalar_util_0_19.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
@@ -42,7 +40,6 @@ http://www.formbuilder.org
 
 %{?filter_setup:
 %filter_from_requires /perl(FindBin)/d; /perl(Test::.*)/d
-%filter_from_requires /perl(Catalyst::View::HTML::Template)/d
 %filter_from_provides /perl(TestApp.*)/d
 
 %{?perl_default_filter}
@@ -50,15 +47,12 @@ http://www.formbuilder.org
 
 %prep
 %setup -q -n Catalyst-Controller-FormBuilder-%{version}
-%patch0
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install PERL_INSTALL_ROOT=%{buildroot}
 
 find %{buildroot} -type f -name .packlist -exec rm -f {} +
@@ -69,9 +63,6 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 %doc Changes t/
@@ -79,6 +70,11 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*
 
 %changelog
+* Thu Mar 17 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.05-9
+- don't filter perl(Catalyst::View::HTML::Template) from requires
+- drop obsolete no_scalar_util_0_19.patch
+- clean up spec for modern rpmbuild
+
 * Wed Feb 16 2011 Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> - 0.05-8
 - fix filter for RPM4.9
 
--
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