1.641 bump

This commit is contained in:
Petr Písař 2018-03-20 10:25:52 +01:00
parent 74ae47ba89
commit 9f0b884418
4 changed files with 10 additions and 71 deletions

1
.gitignore vendored
View File

@ -22,3 +22,4 @@ DBI-1.613.tar.gz
/DBI-1.637.tar.gz
/DBI-1.639.tar.gz
/DBI-1.640.tar.gz
/DBI-1.641.tar.gz

View File

@ -30,21 +30,21 @@
%endif
Name: perl-DBI
Version: 1.640
Release: 3%{?dist}
Version: 1.641
Release: 1%{?dist}
Summary: A database access API for perl
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://dbi.perl.org/
Source0: http://www.cpan.org/authors/id/T/TI/TIMB/DBI-%{version}.tar.gz
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: glibc-common
BuildRequires: make
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(File::Find)
BuildRequires: perl(strict)
BuildRequires: sed
@ -178,12 +178,11 @@ for F in lib/DBI/W32ODBC.pm lib/Win32/DBIODBC.pm; do
done
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} '%{buildroot}'/*
@ -212,6 +211,9 @@ make test
%endif
%changelog
* Tue Mar 20 2018 Petr Pisar <ppisar@redhat.com> - 1.641-1
- 1.641 bump
* Mon Feb 19 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.640-3
- Add build-require gcc

View File

@ -1,64 +0,0 @@
#!/bin/bash
#
# Copyright (C) 2010 Red Hat, Inc.
# Authors:
# Thomas Woerner <twoerner@redhat.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Script was a bit changed for DBI, because command below breaks tar index
# tar -f <tarball> --delete <file>
# Jitka Plesnikova <jplesnik@redhat.com>
version=$1
[ -z "$version" ] && { echo "Usage: $0 <version>"; exit 1; }
# files to be removed without the main DBI-<version>/ prefix
declare -a REMOVE
REMOVE[${#REMOVE[*]}]="lib/DBI/FAQ.pm"
# no changes below this line should be needed
orig="DBI-${version}"
orig_tgz="${orig}.tar.gz"
repackaged="${orig}_repackaged"
repackaged_tgz="${repackaged}.tar.gz"
# pre checks
[ ! -f "${orig_tgz}" ] && { echo "ERROR: ${orig_tgz} does not exist"; exit 1; }
[ -f "${repackaged_tgz}" ] && { echo "ERROR: ${repackaged_tgz} already exist"; exit 1; }
# repackage
tdir=`mktemp -d tmpXXXXXX`
pushd "${tdir}"
tar -xpzf ../${orig_tgz}
for file in "${REMOVE[@]}"; do
rm -rf "${orig}/${file}"
done
tar -cpzf ../"${repackaged_tgz}" "${orig}"
popd
rm -rf "${tdir}"
# post checks
RET=0
for file in "${REMOVE[@]}"; do
found=$(tar -ztvf "${repackaged_tgz}" | grep "${file}")
[ -n "$found" ] && { echo "ERROR: file ${file} is still in the repackaged archive."; RET=1; }
done
[ $RET == 0 ] && echo "Sucessfully repackaged ${orig}: ${repackaged_tgz}"
exit $RET

View File

@ -1 +1 @@
SHA512 (DBI-1.640.tar.gz) = d2d08d1caa5779d3673ccddd9836fb4edf42909880cdb7c8554d09527bd6d44faf410cb1587a0ad880b0677abf21fd3ef71458b889d5a1bb5cecda020bdb4bb0
SHA512 (DBI-1.641.tar.gz) = 093eb28526e8290c0599437cd624b3e670cfff0ec149c1e8ad942f9f7facdafd2a8225bbf4efdb0d40ecf5a6088093ff9faec826cd4ec88bd0abd6125812137a