rpms/perl-Bit-Vector/devel .cvsignore, 1.4, 1.5 perl-Bit-Vector.spec, 1.12, 1.13 sources, 1.5, 1.6
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Mon Apr 11 21:52:50 UTC 2005
Update of /cvs/dist/rpms/perl-Bit-Vector/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv20000/devel
Modified Files:
.cvsignore perl-Bit-Vector.spec sources
Log Message:
auto-import perl-Bit-Vector-6.4-1 on branch devel from perl-Bit-Vector-6.4-1.src.rpm
Index: .cvsignore
===================================================================
RCS file: /cvs/dist/rpms/perl-Bit-Vector/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore 31 Mar 2005 22:37:04 -0000 1.4
+++ .cvsignore 11 Apr 2005 21:52:47 -0000 1.5
@@ -1,2 +1 @@
-Bit-Vector-6.3.tar.gz
Bit-Vector-6.4.tar.gz
Index: perl-Bit-Vector.spec
===================================================================
RCS file: /cvs/dist/rpms/perl-Bit-Vector/devel/perl-Bit-Vector.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- perl-Bit-Vector.spec 31 Mar 2005 23:13:25 -0000 1.12
+++ perl-Bit-Vector.spec 11 Apr 2005 21:52:47 -0000 1.13
@@ -1,14 +1,18 @@
-Name: perl-Bit-Vector
-Version: 6.3
-Release: 5
-Summary: A module for high-performance Perl manipulation of bit vectors.
-License: distributable
-Group: Development/Libraries
-URL: http://search.cpan.org/search?mode=module&query=Bit%3a%3aVector
-BuildRoot: %{_tmppath}/%{name}-root
-BuildRequires: perl >= 0:5.00503
-Source0: http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/Bit-Vector-%{version}.tar.gz
+Name: perl-Bit-Vector
+Version: 6.4
+Release: 1
+Summary: A module for high-performance Perl manipulation of bit vectors
+
+Group: Development/Libraries
+License: GPL or Artistic
+URL: http://search.cpan.org/dist/Bit-Vector/
+Source0: http://www.cpan.org/authors/id/S/ST/STBEY/Bit-Vector-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: perl >= 1:5.6.1
+BuildRequires: perl-Carp-Clan >= 5.3
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl-Carp-Clan >= 5.3
%description
Bit::Vector is an efficient C library which allows you to handle bit
@@ -19,42 +23,47 @@
therefore fast (in terms of execution speed) for instance through the
widespread use of divide-and-conquer algorithms.
+
%prep
%setup -q -n Bit-Vector-%{version}
+chmod 644 examples/*.pl
+%{__perl} -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' examples/benchmk1.pl
+%{__perl} -pi -e 's|^#!perl\b|#!%{__perl}|' \
+ examples/{benchmk{2,3},primes,SetObject}.pl
%build
-CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor
-make
-make test
+CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
-
-%clean
-rm -rf $RPM_BUILD_ROOT
%install
-
rm -rf $RPM_BUILD_ROOT
-make install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w $RPM_BUILD_ROOT/*
+
+%check || :
+make test
-[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
+%clean
+rm -rf $RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT/usr -type f -print | \
- sed "s@^$RPM_BUILD_ROOT@@g" | \
- grep -v perllocal.pod | \
- grep -v Carp::Clan.3pm.gz | \
- grep -v Carp/Clan | \
- grep -v "\.packlist" > Bit-Vector-%{version}-filelist
-if [ "$(cat Bit-Vector-%{version}-filelist)X" = "X" ] ; then
- echo "ERROR: EMPTY FILE LIST"
- exit -1
-fi
-find $RPM_BUILD_ROOT/usr -name perllocal.pod -o -name 'Carp::Clan.3pm*' \
- -o -path '*Carp/Clan*' -o -name .packlist | xargs rm -f
+%files
+%defattr(-,root,root,-)
+%doc Artistic.txt GNU_GPL.txt GNU_LGPL.txt
+%doc CHANGES.txt CREDITS.txt README.txt examples/
+%{perl_vendorarch}/Bit/
+%{perl_vendorarch}/auto/Bit/
+%{_mandir}/man3/*.3*
-%files -f Bit-Vector-%{version}-filelist
-%defattr(-,root,root)
%changelog
+* Sat Apr 2 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 6.4-1
+- Update to 6.4.
+- Bring up to date with current Fedora.Extras perl spec template.
+
* Tue Jun 15 2004 Elliot Lee <sopwith at redhat.com>
- rebuilt
Index: sources
===================================================================
RCS file: /cvs/dist/rpms/perl-Bit-Vector/devel/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources 31 Mar 2005 22:49:32 -0000 1.5
+++ sources 11 Apr 2005 21:52:47 -0000 1.6
@@ -1,2 +1 @@
-8b2bd3bf6fe5b0de4cbeaf0621b969f5 Bit-Vector-6.3.tar.gz
681433ff4f0b4da95dc5c560b7f5cc31 Bit-Vector-6.4.tar.gz
More information about the fedora-cvs-commits
mailing list