Compare commits

...

No commits in common. 'f38' and 'i9c' have entirely different histories.
f38 ... i9c

24
.gitignore vendored

@ -1,23 +1 @@
DBD-SQLite-1.29.tar.gz SOURCES/DBD-SQLite-1.66.tar.gz
/DBD-SQLite-1.31.tar.gz
/DBD-SQLite-1.33.tar.gz
/DBD-SQLite-1.35.tar.gz
/DBD-SQLite-1.37.tar.gz
/DBD-SQLite-1.39.tar.gz
/DBD-SQLite-1.40.tar.gz
/DBD-SQLite-1.42.tar.gz
/DBD-SQLite-1.44.tar.gz
/DBD-SQLite-1.46.tar.gz
/DBD-SQLite-1.48.tar.gz
/DBD-SQLite-1.50.tar.gz
/DBD-SQLite-1.52.tar.gz
/DBD-SQLite-1.54.tar.gz
/DBD-SQLite-1.56.tar.gz
/DBD-SQLite-1.58.tar.gz
/DBD-SQLite-1.60.tar.gz
/DBD-SQLite-1.62.tar.gz
/DBD-SQLite-1.64.tar.gz
/DBD-SQLite-1.66.tar.gz
/DBD-SQLite-1.68.tar.gz
/DBD-SQLite-1.70.tar.gz
/DBD-SQLite-1.72.tar.gz

@ -0,0 +1 @@
524dc89cc330ee7372fe04de4a6048881cc543e4 SOURCES/DBD-SQLite-1.66.tar.gz

@ -2,17 +2,17 @@
%bcond_without perl_DBD_SQLite_enables_optional_test %bcond_without perl_DBD_SQLite_enables_optional_test
Name: perl-DBD-SQLite Name: perl-DBD-SQLite
Version: 1.72 Version: 1.66
Release: 2%{?dist} Release: 5%{?dist}
Summary: SQLite DBI Driver Summary: SQLite DBI Driver
# lib/DBD/SQLite.pm: GPL-1.0-or-later OR Artistic-1.0-Perl # lib/DBD/SQLite.pm: GPL+ or Artistic
# LICENSE: GPL-1.0-or-later OR Artistic-1.0-Perl # LICENSE: GPL+ or Artistic
## unbundled ## unbundled
# inc/Test/FailWarnings.pm: Apache-2.0 # inc/Test/FailWarnings.pm: ASL 2.0
# sqlite3.c: Public Domain (copied from sqlite) # sqlite3.c: Public Domain (copied from sqlite)
# sqlite3.h: Public Domain (copied from sqlite) # sqlite3.h: Public Domain (copied from sqlite)
# sqlite3ext.h: Public Domain (copied from sqlite) # sqlite3ext.h: Public Domain (copied from sqlite)
License: ( GPL-1.0-or-later OR Artistic-1.0-Perl ) AND LicenseRef-Fedora-Public-Domain License: (GPL+ or Artistic) and Public Domain
URL: https://metacpan.org/release/DBD-SQLite URL: https://metacpan.org/release/DBD-SQLite
Source0: https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/DBD-SQLite-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/DBD-SQLite-%{version}.tar.gz
# Use system sqlite if it is available # Use system sqlite if it is available
@ -45,12 +45,12 @@ BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(File::Spec) >= 0.82 BuildRequires: perl(File::Spec) >= 0.82
BuildRequires: perl(strict) BuildRequires: perl(strict)
# Run-time: # Run-time:
BuildRequires: perl(DynaLoader)
# File::Basename not used # File::Basename not used
BuildRequires: perl(locale) BuildRequires: perl(locale)
BuildRequires: perl(Scalar::Util) BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Tie::Hash) BuildRequires: perl(Tie::Hash)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
BuildRequires: perl(XSLoader)
# Tests only # Tests only
BuildRequires: perl(bytes) BuildRequires: perl(bytes)
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
@ -66,33 +66,20 @@ BuildRequires: perl(lib)
# POSIX not used # POSIX not used
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
# Test::FailWarnings not used # Test::FailWarnings not used
BuildRequires: perl(Time::HiRes)
# Win32 not used # Win32 not used
%if %{with perl_DBD_SQLite_enables_optional_test} %if %{with perl_DBD_SQLite_enables_optional_test}
# Optional tests # Optional tests
BuildRequires: perl(Unicode::UCD) BuildRequires: perl(Unicode::UCD)
%endif %endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter} %{?perl_default_filter}
# Filter modules bundled for tests
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_libexecdir}
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(SQLiteTest\\)
%description %description
SQLite is a public domain, file-based, relational database engine that you can SQLite is a public domain, file-based, relational database engine that you can
find at <https://www.sqlite.org/>. This package provides a Perl DBI driver for find at <https://www.sqlite.org/>. This package provides a Perl DBI driver for
SQLite. SQLite.
%package tests
Summary: Tests for %{name}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl-Test-Harness
%description tests
Tests from %{name}. Execute them
with "%{_libexecdir}/%{name}/test".
%prep %prep
%setup -q -n DBD-SQLite-%{version} %setup -q -n DBD-SQLite-%{version}
%patch0 -p1 %patch0 -p1
@ -111,12 +98,6 @@ rm t/virtual_table/21_perldata_charinfo.t
perl -i -ne 'print $_ unless m{^t/virtual_table/21_perldata_charinfo\.t}' MANIFEST perl -i -ne 'print $_ unless m{^t/virtual_table/21_perldata_charinfo\.t}' MANIFEST
%endif %endif
# Help generators to recognize Perl scripts
for F in `find t -name *.t`; do
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
chmod +x "$F"
done
%build %build
CFLAGS="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 CFLAGS="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build} OPTIMIZE="%{optflags}" %{make_build} OPTIMIZE="%{optflags}"
@ -126,25 +107,7 @@ CFLAGS="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLO
find %{buildroot} -type f -name '*.bs' -size 0 -delete find %{buildroot} -type f -name '*.bs' -size 0 -delete
%{_fixperms} %{buildroot}/* %{_fixperms} %{buildroot}/*
# Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name}
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/bash
set -e
# Some tests write into temporary files/directories. The easiest solution
# is to copy the tests into a writable directory and execute them from there.
DIR=$(mktemp -d)
pushd "$DIR"
cp -a %{_libexecdir}/%{name}/* ./
prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
popd
rm -rf "$DIR"
EOF
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
%check %check
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
make test make test
%files %files
@ -154,40 +117,16 @@ make test
%{perl_vendorarch}/DBD/ %{perl_vendorarch}/DBD/
%{_mandir}/man3/*.3pm* %{_mandir}/man3/*.3pm*
%files tests
%{_libexecdir}/%{name}
%changelog %changelog
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.72-2 * Wed Mar 15 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.66-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - Rebuilt for MSVSphere 9.1.
* Fri Nov 04 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.72-1
- 1.72 bump
- Package tests
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.70-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.70-4
- Perl 5.36 rebuild
* Fri Mar 18 2022 Petr Pisar <ppisar@redhat.com> - 1.70-3
- Adapt to SQLite-3.38.0 (bug #2065567)
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.70-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Aug 02 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.70-1
- 1.70 bump
* Thu Jul 29 2021 Adam Williamson <awilliam@redhat.com> - 1.68-2
- (backport) disable sqlite_unicode deprecation warning as it's widely used
* Thu Jul 22 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.68-1 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.66-5
- 1.68 bump - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.66-4 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.66-4
- Perl 5.34 rebuild - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.66-3 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.66-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

@ -1,7 +0,0 @@
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_stable
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}

@ -1,2 +0,0 @@
from Config import *
addFilter("spelling-error .* (https|www)");

@ -1,5 +0,0 @@
summary: Sanity tests
discover:
how: fmf
execute:
how: tmt

@ -1 +0,0 @@
SHA512 (DBD-SQLite-1.72.tar.gz) = 67a90c618a3626b3ae0b333b5eb4d4d0c8c13712bbcd50c135bf74e83dc252301664089803597c1bcbebf7f1eda040673d4438e70e2dae0aef3b8ebeeecd2f79

@ -1,4 +0,0 @@
summary: Upstream tests
component: perl-DBD-SQLite
require: perl-DBD-SQLite-tests
test: /usr/libexec/perl-DBD-SQLite/test
Loading…
Cancel
Save