forked from pool/perl-Exception-Class
clean up spec file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Exception-Class?expand=0&rev=6
This commit is contained in:
parent
903310e11f
commit
19b978db76
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 25 19:37:37 CEST 2009 - chris@computersalat.de
|
||||||
|
|
||||||
|
- spec mods
|
||||||
|
* removed ^----------
|
||||||
|
* removed ^#---------
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 14 12:37:51 CEST 2009 - chris@computersalat.de
|
Tue Jul 14 12:37:51 CEST 2009 - chris@computersalat.de
|
||||||
|
|
||||||
|
@ -44,9 +44,7 @@ Requires: perl(Scalar::Util)
|
|||||||
Requires: perl(Class::Data::Inheritable) >= 0.02
|
Requires: perl(Class::Data::Inheritable) >= 0.02
|
||||||
Requires: perl(Devel::StackTrace) >= 1.20
|
Requires: perl(Devel::StackTrace) >= 1.20
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
%description
|
%description
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
Exception::Class allows you to declare exception hierarchies in your modules in
|
Exception::Class allows you to declare exception hierarchies in your modules in
|
||||||
a "Java-esque" manner.
|
a "Java-esque" manner.
|
||||||
|
|
||||||
@ -67,42 +65,29 @@ You will also want to look at the documentation for Exception::Class::Base,
|
|||||||
by this module.
|
by this module.
|
||||||
|
|
||||||
Author: Dave Rolsky <autarch@urth.org>
|
Author: Dave Rolsky <autarch@urth.org>
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
%prep
|
%prep
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
%build
|
%build
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||||
%{__make}
|
%{__make}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
%{__make} test
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
%install
|
%install
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
%clean
|
%clean
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# normally you only need to check for doc files
|
# normally you only need to check for doc files
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
%doc Changes LICENSE SIGNATURE
|
%doc Changes LICENSE SIGNATURE
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
%changelog
|
%changelog
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
* Thu Nov 01 2007 - James Oakley <jfunk@funktronics.ca> - 1.23-1
|
* Thu Nov 01 2007 - James Oakley <jfunk@funktronics.ca> - 1.23-1
|
||||||
- Initial release
|
- Initial release
|
||||||
|
Loading…
Reference in New Issue
Block a user