1.841 bump

This commit is contained in:
Petr Písař 2018-04-03 13:03:45 +02:00
parent cea96e994e
commit 767f7f4338
3 changed files with 11 additions and 9 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
/DB_File-1.835.tar.gz
/DB_File-1.838.tar.gz
/DB_File-1.840.tar.gz
/DB_File-1.841.tar.gz

View File

@ -2,11 +2,10 @@
%bcond_without perl_DB_File_enables_optional_test
Name: perl-DB_File
Version: 1.840
Release: 398%{?dist}
Version: 1.841
Release: 1%{?dist}
Summary: Perl5 access to Berkeley DB version 1.x
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/DB_File/
Source0: http://www.cpan.org/authors/id/P/PM/PMQS/DB_File-%{version}.tar.gz
# Destroy DB_File objects only from original thread context, bug #1107732,
@ -16,12 +15,12 @@ BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: libdb-devel
BuildRequires: perl-interpreter
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::Constant)
BuildRequires: perl(ExtUtils::MakeMaker) >= 5.16
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# File::Copy not needed if ExtUtils::Constant is available
BuildRequires: perl(strict)
# Run-time:
@ -58,15 +57,14 @@ interface defined here mirrors the Berkeley DB interface closely.
%setup -q -n DB_File-%{version}
%patch0 -p1
find -type f -exec chmod -x {} +
%fix_shbang_line dbinfo
perl -MConfig -pi -e 's|^#!.*perl|$Config{startperl}|' dbinfo
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -delete
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/*
@ -80,6 +78,9 @@ make test
%{_mandir}/man3/*
%changelog
* Tue Apr 03 2018 Petr Pisar <ppisar@redhat.com> - 1.841-1
- 1.841 bump
* Mon Feb 19 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.840-398
- Add build-require gcc

View File

@ -1 +1 @@
SHA512 (DB_File-1.840.tar.gz) = c9af4382a6759fcf2ad4982d922d5be3bf026927bd103204c9c38666e6a26afc06ee5456a567c396806d0ca3762af146b60c10998b17343a3bfd47bda4ec3fe2
SHA512 (DB_File-1.841.tar.gz) = 11d370d2ddd129a4e54c20639cd6d674212069f7ba867614190363c45ec3e6fd7999e5eaaffef9d1fb7cdeae146372830840cb943add0fc06dcd2b44ba91e49e