rpms/perl-Heap/FC-5 perl-Heap.spec,1.2,1.3

Patrice Dumas (pertusus) fedora-extras-commits at redhat.com
Fri Sep 22 11:43:07 UTC 2006


Author: pertusus

Update of /cvs/extras/rpms/perl-Heap/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7552

Modified Files:
	perl-Heap.spec 
Log Message:
Replace with the reviewed package (#204162) spec file


Index: perl-Heap.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Heap/FC-5/perl-Heap.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- perl-Heap.spec	1 Apr 2006 18:48:20 -0000	1.2
+++ perl-Heap.spec	22 Sep 2006 11:43:06 -0000	1.3
@@ -1,52 +1,50 @@
 Name:           perl-Heap
 Version:        0.71
-Release:        1
-Summary:        A collection of routines for managing a heap data structure.
+Release:        2%{?dist}
+Summary:        Perl extension for keeping data partially sorted
 
 Group:          Development/Libraries
-License:        GPL or Artistic
-URL:            http://search.cpan.org/dist/Heap/
-Source0:        http://www.cpan.org/authors/id/J/JM/JMM/Heap-0.71.tar.gz
+License:        Artistic or GPL
+URL:            http://search.cpan.org/dist/Heap
+Source0:        http://search.cpan.org/CPAN/authors/id/J/JM/JMM/Heap-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
-BuildRequires:  perl >= 1:5.6.1
+BuildRequires:  perl
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
-This is a collection of routines for managing a heap data structure.
- 
-There are two major components: a heap component, and an element
-component.
- 
-A heap package basically keeps a collection of elements and is
-able to return the smallest one.
-
+The Heap collection of modules provide routines that manage a heap of 
+elements. A heap is a partially sorted structure that is always able to 
+easily extract the smallest of the elements in the structure (or the 
+largest if a reversed compare routine is provided).
+
+If the collection of elements is changing dynamically, the heap has less 
+overhead than keeping the collection fully sorted.
+
+The elements must be objects as described in "Heap::Elem" and all 
+elements inserted into one heap must be mutually compatible - either 
+the same class exactly or else classes that differ only in ways unrelated 
+to the Heap::Elem interface.
 
 %prep
-cat<<EOT
-
-Build disabled. Package is without maintainer and has never been built before.
-
-EOT
-exit 1
 %setup -q -n Heap-%{version}
 
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor 
-make %{?_smp_mflags} 
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -a \( -name .packlist \
-  -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w $RPM_BUILD_ROOT/*
 
 
-%check || :
+%check
 make test
 
 
@@ -56,15 +54,11 @@
 
 %files
 %defattr(-,root,root,-)
-%doc README 
+%doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 
 %changelog
-* Wed Apr 06 2005 Hunter Matthews <thm at duke.edu> 0.71-1
-- Updated to 0.71
-- Review suggestions from José Pedro Oliveira
-
-* Fri Mar 18 2005 Hunter Matthews <thm at duke.edu> 0.70-1
-- Initial packageing.
+* Tue Jul 18 2006 Patrice Dumas <pertusus at free.fr> 0.71-2
+- Initial packaging




More information about the scm-commits mailing list