Requires db4-devel with version, scraped from db.h, so that we detect when
db4 has gone astray from us.
This commit is contained in:
parent
397cc9b0f5
commit
f16070f920
10
perl.spec
10
perl.spec
@ -8,6 +8,10 @@
|
||||
%define new_perl_flags LD_PRELOAD=/%{new_arch_lib}/CORE/libperl.so LD_LIBRARY_PATH=%{new_arch_lib}/CORE PERL5LIB=%{new_perl_lib}:%{comp_perl_lib}
|
||||
%define new_perl %{new_perl_flags} $RPM_BUILD_ROOT/%{_bindir}/perl
|
||||
|
||||
%define db4_major %(grep "DB_VERSION_MAJOR" /usr/include/db.h | cut -f3)
|
||||
%define db4_minor %(grep "DB_VERSION_MINOR" /usr/include/db.h | cut -f3)
|
||||
%define db4_patch %(grep "DB_VERSION_PATCH" /usr/include/db.h | cut -f3)
|
||||
|
||||
%define perl_version 5.8.8
|
||||
%define perl_epoch 4
|
||||
|
||||
@ -20,7 +24,7 @@
|
||||
|
||||
Name: perl
|
||||
Version: %{perl_version}
|
||||
Release: 28%{?dist}.2
|
||||
Release: 28%{?dist}.3
|
||||
Epoch: %{perl_epoch}
|
||||
Summary: The Perl programming language
|
||||
Group: Development/Languages
|
||||
@ -193,6 +197,7 @@ Obsoletes: perl-Filter-Simple
|
||||
Obsoletes: perl-Time-HiRes
|
||||
|
||||
Requires: perl-libs = %{perl_epoch}:%{perl_version}-%{release}
|
||||
Requires: db4-devel = %{db4_major}.%{db4_minor}.%{db4_patch}
|
||||
|
||||
# Filter the automatically generated dependencies.
|
||||
#
|
||||
@ -778,6 +783,9 @@ make test
|
||||
# Nothing. Nada. Zilch. Zarro. Uh uh. Nope. Sorry.
|
||||
|
||||
%changelog
|
||||
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 4:5.8.8-28.3
|
||||
- add versioned Requires for db4-devel that we built against (resolves 144672)
|
||||
|
||||
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 4:5.8.8-28.2
|
||||
- bump again for db4 version increase
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user