packages: perl-Tie-RefHash/perl-Tie-RefHash.spec - package %{perl_vendorlib...

glen glen at pld-linux.org
Sat Aug 20 17:41:35 CEST 2011


Author: glen                         Date: Sat Aug 20 15:41:35 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- package %{perl_vendorlib}/Tie/RefHash dir

---- Files affected:
packages/perl-Tie-RefHash:
   perl-Tie-RefHash.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/perl-Tie-RefHash/perl-Tie-RefHash.spec
diff -u packages/perl-Tie-RefHash/perl-Tie-RefHash.spec:1.3 packages/perl-Tie-RefHash/perl-Tie-RefHash.spec:1.4
--- packages/perl-Tie-RefHash/perl-Tie-RefHash.spec:1.3	Fri Jul  1 16:26:29 2011
+++ packages/perl-Tie-RefHash/perl-Tie-RefHash.spec	Sat Aug 20 17:41:29 2011
@@ -3,15 +3,14 @@
 # Conditional build:
 %bcond_without	autodeps	# don't BR packages needed only for resolving deps
 %bcond_without	tests		# do not perform "make test"
-#
+
+%define		pdir	Tie
+%define		pnam	RefHash
 %include	/usr/lib/rpm/macros.perl
-%define	pdir	Tie
-%define	pnam	RefHash
 Summary:	Tie::RefHash - use references as hash keys
-#Summary(pl.UTF-8):	
 Name:		perl-Tie-RefHash
 Version:	1.39
-Release:	1
+Release:	2
 # even cpan dont know license
 License:	unknown
 Group:		Development/Languages/Perl
@@ -24,22 +23,19 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-This module provides the ability to use references as hash keys if you first
-tie the hash variable to this module. Normally, only the keys of the tied hash
-itself are preserved as references; to use references as keys in
-hashes-of-hashes, use Tie::RefHash::Nestable, included as part of Tie::RefHash.
-
-It is implemented using the standard perl TIEHASH interface. Please see the tie
-entry in perlfunc(1) and perltie(1) for more information.
-
-The Nestable version works by looking for hash references being stored and
-converting them to tied hashes so that they too can have references as keys.
-This will happen without warning whenever you store a reference to one of your
-own hashes in the tied hash.
-
-
-# %description -l pl.UTF-8
-# TODO
+This module provides the ability to use references as hash keys if you
+first tie the hash variable to this module. Normally, only the keys of
+the tied hash itself are preserved as references; to use references as
+keys in hashes-of-hashes, use Tie::RefHash::Nestable, included as part
+of Tie::RefHash.
+
+It is implemented using the standard perl TIEHASH interface. Please
+see the tie entry in perlfunc(1) and perltie(1) for more information.
+
+The Nestable version works by looking for hash references being stored
+and converting them to tied hashes so that they too can have
+references as keys. This will happen without warning whenever you
+store a reference to one of your own hashes in the tied hash.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -53,6 +49,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{perl_vendorlib}/Tie/RefHash
 
 %{__make} pure_install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -63,8 +60,9 @@
 %files
 %defattr(644,root,root,755)
 %doc Changes
-%{perl_vendorlib}/Tie/*.pm
-%{_mandir}/man3/*
+%{perl_vendorlib}/Tie/RefHash.pm
+%dir %{perl_vendorlib}/Tie/RefHash
+%{_mandir}/man3/Tie::RefHash.3pm*
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -72,6 +70,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2011/08/20 15:41:29  glen
+- package %{perl_vendorlib}/Tie/RefHash dir
+
 Revision 1.3  2011/07/01 14:26:29  marti
 - up to 1.39
 
@@ -80,4 +81,3 @@
 
 Revision 1.1  2008/02/01 21:33:26  agaran
 - initial, builds here, rel 1
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/perl-Tie-RefHash/perl-Tie-RefHash.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list