forked from pool/perl-Data-Hierarchy
* recreated by cpanspec 1.78.02
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Hierarchy?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
9b44bb7c78
commit
0c30dee8b9
3
Data-Hierarchy-0.34.tar.bz2
Normal file
3
Data-Hierarchy-0.34.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:07f2954a07764ee7ad89d8c1b57b455a3db3576ccef4dc6386ad5f377df63ac2
|
||||||
|
size 8579
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b3a8e62b53e29f71dd5989aeef99fbfaf1f4b6e272a06800381360d59e9fd9ed
|
|
||||||
size 8861
|
|
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 29 14:26:26 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
* recreated by cpanspec 1.78.02
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Nov 28 11:37:46 UTC 2010 - coolo@novell.com
|
Sun Nov 28 11:37:46 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@@ -17,51 +17,54 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Data-Hierarchy
|
Name: perl-Data-Hierarchy
|
||||||
License: Artistic
|
%define cpan_name Data-Hierarchy
|
||||||
Group: Development/Libraries/Perl
|
|
||||||
Url: http://cpan.org/
|
|
||||||
Requires: perl = %{perl_version}
|
|
||||||
AutoReqProv: on
|
|
||||||
Summary: Handle data in a hierarchical structure
|
Summary: Handle data in a hierarchical structure
|
||||||
Version: 0.34
|
Version: 0.34
|
||||||
Release: 112
|
Release: 1
|
||||||
Source: http://cpan.org/modules/by-module/Data/Data-Hierarchy-%{version}.tar.gz
|
License: CHECK(GPL+ or Artistic)
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
Url: http://search.cpan.org/dist/Data-Hierarchy/
|
||||||
|
#Source: http://www.cpan.org/modules/by-module/Data/Data-Hierarchy-%{version}.tar.bz2
|
||||||
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
|
%if 0%{?suse_version} < 1120
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
%endif
|
||||||
|
BuildRequires: perl(Test::Exception)
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
Requires: perl(Test::Exception)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Data::Hierarchy provides a simple interface for manipulating
|
Data::Hierarchy provides a simple interface for manipulating inheritable
|
||||||
inheritable data attached to a hierarchical environment
|
data attached to a hierarchical environment (like a filesystem).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Chia-liang Kao <clkao at clkao dot org>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n Data-Hierarchy-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
# do not perl_process_packlist (noarch)
|
||||||
|
# remove .packlist file
|
||||||
|
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
||||||
|
# remove perllocal.pod file
|
||||||
|
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT}
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%defattr(-, root, root)
|
%defattr(-,root,root,-)
|
||||||
%dir %{perl_vendorlib}/Data
|
%doc CHANGES README
|
||||||
%{perl_vendorlib}/Data/Hierarchy.pm
|
|
||||||
%dir %{perl_vendorarch}/auto/Data
|
|
||||||
%dir %{perl_vendorarch}/auto/Data/Hierarchy
|
|
||||||
%{_mandir}/man3/Data::Hierarchy.3pm.gz
|
|
||||||
/var/adm/perl-modules/%{name}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user