forked from pool/perl-Sub-Identify
Accepting request 26220 from home:computersalat:devel:perl
Copy from home:computersalat:devel:perl/perl-Sub-Identify via accept of submit request 26220 revision 1. Request was accepted with message: ok OBS-URL: https://build.opensuse.org/request/show/26220 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Sub-Identify?expand=0&rev=1
This commit is contained in:
commit
fa43999f0c
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
Sub-Identify-0.04.tar.bz2
Normal file
3
Sub-Identify-0.04.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d7e3f2abb969c6895a24e80667e74d43152053e7d041e03336d820e3a653efdd
|
||||
size 39475
|
5
perl-Sub-Identify.changes
Normal file
5
perl-Sub-Identify.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 10 22:03:34 UTC 2009 - chris@computersalat.de
|
||||
|
||||
- initial pkg 0.04
|
||||
|
67
perl-Sub-Identify.spec
Normal file
67
perl-Sub-Identify.spec
Normal file
@ -0,0 +1,67 @@
|
||||
#
|
||||
# spec file for package perl-Sub-Identify (Version 0.04)
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: perl-Sub-Identify
|
||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||
Summary: Retrieve names of code references
|
||||
Version: 0.04
|
||||
Release: 1
|
||||
License: Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
URL: http://search.cpan.org/dist/Sub-Identify
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod) >= 1.14
|
||||
Requires: perl = %{perl_version}
|
||||
|
||||
%description
|
||||
Sub::Identify allows you to retrieve the real name of code references.
|
||||
For this, it uses perl's introspection mechanism, provided by the
|
||||
B module.
|
||||
|
||||
Author: Rafael Garcia-Suarez <rgarciasuarez at gmail dot com>
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%{__sed} -i -e "s/^auto_install;/#auto_install;/g" Makefile.PL
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
%{__make}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root)
|
||||
%doc Changes
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user