commit 4d6f7e06e9c7b82974d6e877d45a10658f179ac5
Author: Emmanuel Seyman <[email protected]>
Date: Tue Feb 14 12:19:31 2012 +0100
Update to 0.015, clean up spec file and add perl default filter
.gitignore | 1 +
perl-CGI-Application-Structured-Tools.spec | 22 +++++++++++++---------
sources | 2 +-
3 files changed, 15 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a3608bf..3d9000f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
CGI-Application-Structured-Tools-0.007.tar.gz
/CGI-Application-Structured-Tools-0.011.tar.gz
/CGI-Application-Structured-Tools-0.013.tar.gz
+/CGI-Application-Structured-Tools-0.015.tar.gz
diff --git a/perl-CGI-Application-Structured-Tools.spec
b/perl-CGI-Application-Structured-Tools.spec
index 41ad8eb..f18185d 100644
--- a/perl-CGI-Application-Structured-Tools.spec
+++ b/perl-CGI-Application-Structured-Tools.spec
@@ -1,12 +1,11 @@
Name: perl-CGI-Application-Structured-Tools
-Version: 0.013
-Release: 5%{?dist}
+Version: 0.015
+Release: 1%{?dist}
Summary: Tools to generate and maintain CGI::Application::Structured
based web apps
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/CGI-Application-Structured-Tools/
Source0:
http://www.cpan.org/authors/id/V/VA/VANAMBURG/CGI-Application-Structured-Tools-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(CGI::Application::Structured)
BuildRequires: perl(DBIx::Class::Schema::Loader)
@@ -57,13 +56,17 @@ for i in create_dbic_schema.pl create_controller.pl \
sed -i 's#!perl#!\/usr\/bin\/perl#' $i;
done
+# These are not executables
+chmod 644 index.tmpl config-dev.pl
+
+# This is a perl script
+sed -i -e '1i#!/usr/bin/perl' server.pl
+
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
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 {} \;
@@ -74,11 +77,7 @@ 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 LICENSE README Todo
%{perl_vendorlib}/*
%{_mandir}/man1/*
@@ -86,6 +85,11 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/cas-starter.pl
%changelog
+* Tue Feb 14 2012 Emmanuel Seyman <[email protected]> - 0.015-1
+- Update to 0.015
+- Clean up spec file
+- Add perl default filter
+
* Fri Jan 13 2012 Fedora Release Engineering <[email protected]>
- 0.013-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
diff --git a/sources b/sources
index 7db4671..06734a8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c02dc4e7995db045b2bff7da70b3b1e7 CGI-Application-Structured-Tools-0.013.tar.gz
+72cb59cfe6d6c78d1cb1fc77aaa7ecca CGI-Application-Structured-Tools-0.015.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel