forked from pool/perl-Exception-Class
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Exception-Class?expand=0&rev=1
This commit is contained in:
commit
8964f203df
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
Exception-Class-1.23.tar.bz2
Normal file
3
Exception-Class-1.23.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ff3cb1e0e4743e6e88fe3eb64e6f5b0cd77e54e195ed0995080d835c3302b5eb
|
||||||
|
size 14647
|
48
perl-Exception-Class.spec
Normal file
48
perl-Exception-Class.spec
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
%define modname Exception-Class
|
||||||
|
Name: perl-%{modname}
|
||||||
|
Version: 1.23
|
||||||
|
Release: 1
|
||||||
|
Summary: A Module That Allows You to Declare Real Exception Classes in Perl
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
BuildRequires: perl
|
||||||
|
License: GPL/Artistic
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
Source: %{modname}-%{version}.tar.bz2
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
This module allows you to declare hierarchies of exception classes for use in
|
||||||
|
your code. It also provides a simple exception class that it uses as the
|
||||||
|
default base class for all other exceptions.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Dave Rolsky <autarch@urth.org>
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{modname}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||||
|
make
|
||||||
|
make test
|
||||||
|
|
||||||
|
%install
|
||||||
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||||
|
%perl_process_packlist
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%doc Changes LICENSE README
|
||||||
|
%doc %{_mandir}/man?/*
|
||||||
|
#%{perl_vendorlib}/
|
||||||
|
#%{perl_vendorarch}/auto/
|
||||||
|
/var/adm/perl-modules/%{name}
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
|
||||||
|
* Thu Nov 01 2007 - James Oakley <jfunk@funktronics.ca> - 1.23-1
|
||||||
|
- Initial release
|
Loading…
Reference in New Issue
Block a user