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
|
||||
|
||||
|
@@ -17,51 +17,54 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: perl-Data-Hierarchy
|
||||
License: Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://cpan.org/
|
||||
Requires: perl = %{perl_version}
|
||||
AutoReqProv: on
|
||||
%define cpan_name Data-Hierarchy
|
||||
Summary: Handle data in a hierarchical structure
|
||||
Version: 0.34
|
||||
Release: 112
|
||||
Source: http://cpan.org/modules/by-module/Data/Data-Hierarchy-%{version}.tar.gz
|
||||
Release: 1
|
||||
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
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
BuildRequires: perl(Test::Exception)
|
||||
Requires: perl = %{perl_version}
|
||||
Requires: perl(Test::Exception)
|
||||
|
||||
%description
|
||||
Data::Hierarchy provides a simple interface for manipulating
|
||||
inheritable data attached to a hierarchical environment
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Chia-liang Kao <clkao at clkao dot org>
|
||||
Data::Hierarchy provides a simple interface for manipulating inheritable
|
||||
data attached to a hierarchical environment (like a filesystem).
|
||||
|
||||
%prep
|
||||
%setup -n Data-Hierarchy-%{version}
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%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
|
||||
[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT}
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%dir %{perl_vendorlib}/Data
|
||||
%{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}
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user