From 9f0b884418121d42565fbe6ead7e2d1afa2fe4b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Tue, 20 Mar 2018 10:25:52 +0100 Subject: [PATCH] 1.641 bump --- .gitignore | 1 + perl-DBI.spec | 14 ++++++----- repackage.sh | 64 --------------------------------------------------- sources | 2 +- 4 files changed, 10 insertions(+), 71 deletions(-) delete mode 100755 repackage.sh diff --git a/.gitignore b/.gitignore index f72bb67..689e621 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/perl-DBI.spec b/perl-DBI.spec index 7e8e7eb..1b29823 100644 --- a/perl-DBI.spec +++ b/perl-DBI.spec @@ -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 - 1.641-1 +- 1.641 bump + * Mon Feb 19 2018 Jitka Plesnikova - 1.640-3 - Add build-require gcc diff --git a/repackage.sh b/repackage.sh deleted file mode 100755 index 226b09c..0000000 --- a/repackage.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/bash -# -# Copyright (C) 2010 Red Hat, Inc. -# Authors: -# Thomas Woerner -# -# 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 . -# -# Script was a bit changed for DBI, because command below breaks tar index -# tar -f --delete -# Jitka Plesnikova - -version=$1 -[ -z "$version" ] && { echo "Usage: $0 "; exit 1; } - -# files to be removed without the main DBI-/ 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 diff --git a/sources b/sources index 1074670..cb8e2dd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (DBI-1.640.tar.gz) = d2d08d1caa5779d3673ccddd9836fb4edf42909880cdb7c8554d09527bd6d44faf410cb1587a0ad880b0677abf21fd3ef71458b889d5a1bb5cecda020bdb4bb0 +SHA512 (DBI-1.641.tar.gz) = 093eb28526e8290c0599437cd624b3e670cfff0ec149c1e8ad942f9f7facdafd2a8225bbf4efdb0d40ecf5a6088093ff9faec826cd4ec88bd0abd6125812137a