[perl-CGI-Application-Plugin-JSON] Clean up spec file

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

 



commit 6e180770737e710df0727df9c8cf1bbe9eec202c
Author: Emmanuel Seyman <emmanuel@xxxxxxxxx>
Date:   Sun May 19 11:46:52 2013 +0200

    Clean up spec file

 perl-CGI-Application-Plugin-JSON.spec |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/perl-CGI-Application-Plugin-JSON.spec b/perl-CGI-Application-Plugin-JSON.spec
index 18e5640..ea04a46 100644
--- a/perl-CGI-Application-Plugin-JSON.spec
+++ b/perl-CGI-Application-Plugin-JSON.spec
@@ -1,12 +1,10 @@
 Name:           perl-CGI-Application-Plugin-JSON
 Version:        1.02
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        Easy manipulation of JSON headers
 License:        GPL+ or Artistic
-Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/CGI-Application-Plugin-JSON/
 Source0:        http://www.cpan.org/authors/id/W/WO/WONKO/CGI-Application-Plugin-JSON-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(CGI::Application) >= 4
 BuildRequires:  perl(JSON) >= 2.02
@@ -18,6 +16,8 @@ BuildRequires:  perl(Test::Pod::Coverage)
 Requires:       perl(CGI::Application)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 When communicating with client-side JavaScript, it is common to send data
 in X-JSON HTTP headers or through the document body as content-type
@@ -32,8 +32,6 @@ methods to make that just a little bit easier.
 ./Build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
@@ -42,16 +40,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 ./Build test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sun May 19 2013 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 1.02-9
+- Add perl default filter
+- Remove no-longer-used macros
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.02-8
 - 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