8
0
Stephan Kulow
2011-07-14 08:00:29 +00:00
committed by Git OBS Bridge
parent b8061013eb
commit dfc185359b
4 changed files with 37 additions and 41 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0f87d42ca26147dcc2347d916c86218e3e7e7685d56ed8544a8456fdaff8b29f
size 62859

3
Data-Util-0.58.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6f4feef344b8d0c54a148b0029f718b7ad28563c5607732874ecb1e2c35672df
size 72632

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 14 07:03:36 UTC 2011 - coolo@novell.com
- updated to 0.58
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 1 13:31:40 UTC 2010 - coolo@novell.com Wed Dec 1 13:31:40 UTC 2010 - coolo@novell.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Data-Util (Version 0.58) # spec file for package perl-Data-Util (Version 0.58)
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -15,65 +15,56 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: perl-Data-Util Name: perl-Data-Util
%define cpan_name Data-Util
Summary: Selection of utilities for data and data types
Version: 0.58 Version: 0.58
Release: 2 Release: 1
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries/Perl %define cpan_name Data-Util
Summary: A selection of utilities for data and data types
Url: http://search.cpan.org/dist/Data-Util/ Url: http://search.cpan.org/dist/Data-Util/
#Source: http://www.cpan.org/modules/by-module/Data/Data-Util-%{version}.tar.gz Group: Development/Libraries/Perl
Source: %{cpan_name}-%{version}.tar.bz2 Source: http://www.cpan.org/authors/id/G/GF/GFUJI/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Bar)
BuildRequires: perl(Class::Method::Modifiers)
BuildRequires: perl(Data::OptList)
BuildRequires: perl(Devel::PPPort) >= 3.19 BuildRequires: perl(Devel::PPPort) >= 3.19
BuildRequires: perl(ExtUtils::ParseXS) >= 2.21 BuildRequires: perl(ExtUtils::ParseXS) >= 2.21
#
BuildRequires: perl(Hash::Util::FieldHash::Compat) BuildRequires: perl(Hash::Util::FieldHash::Compat)
BuildRequires: perl(inc::Module::Install)
BuildRequires: perl(JSON)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Moose)
BuildRequires: perl(mro)
BuildRequires: perl(MRO::Compat)
BuildRequires: perl(Params::Util)
BuildRequires: perl(parent)
BuildRequires: perl(Parse::CPAN::Meta)
BuildRequires: perl(Scope::Guard) BuildRequires: perl(Scope::Guard)
BuildRequires: perl(Sub::Exporter)
BuildRequires: perl(Test::Exception) >= 0.27 BuildRequires: perl(Test::Exception) >= 0.27
BuildRequires: perl(Test::More) >= 0.62
#
BuildRequires: perl(XSLoader) >= 0.1 BuildRequires: perl(XSLoader) >= 0.1
# BuildRequires: perl(YAML::Tiny)
Requires: perl(XSLoader) >= 0.1 Requires: perl(XSLoader) >= 0.1
%{perl_requires}
%description %description
This module provides utility functions for data and data types, including This module provides utility functions for data and data types, including
functions for subroutines and symbol table hashes (stashes). functions for subroutines and symbol table hashes (stashes).
The implementation of this module is both Pure Perl and XS, so if you have a C The implementation of this module is both Pure Perl and XS, so if you have
compiler, all the functions this module provides are really faster. a C compiler, all the functions this module provides are really faster.
Author: There are many benchmarks in the _DIST-DIR/benchmark/_ directory.
-------
Goro Fuji(gfx) <gfuji(at)cpan.org>
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
# rpmlint: spurious-executable-perm, executable-docs find . -type f -print0 | xargs -0 chmod 644
%{__chmod} 0644 Changes README
# rpmlint: script-without-shebang
%{__chmod} 0644 lib/Data/Util/*.{pm,pod}
# rpmlint: wrong-script-interpreter
for i in pl pm; do
find ./example -name "*.${i}" -exec %{__chmod} 0644 {} \;
done
## disable failing test:
# t/05_get_stash..... Data/Util/Util.so: undefined symbol: mXPUSHs
%if 0%{?suse_version} < 1130
%{__mv} t/05_get_stash.t t/05_get_stash.tdis
%{__mv} t/pp05_get_stash.t t/pp05_get_stash.tdis
%endif
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags} %{__make} %{?_smp_mflags}
%check %check
@@ -85,10 +76,10 @@ done
%perl_gen_filelist %perl_gen_filelist
%clean %clean
%{__rm} -rf $RPM_BUILD_ROOT %{__rm} -rf %{buildroot}
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,-) %defattr(-,root,root,755)
%doc Changes README example %doc Changes example README
%changelog %changelog