public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-DBD-ODBC] rawhide: Re-submit package for Fedora review
@ 2026-08-25  9:19 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-25  9:19 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/perl-DBD-ODBC
Branch : rawhide
Commit : a9c87eeffda4533009c53ee095f2f4453f65a29e
Author : Michal Josef Špaček <mspacek@redhat.com>
Date   : 2026-08-25T11:03:03+02:00
Stats  : +27/-9 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-DBD-ODBC/c/a9c87eeffda4533009c53ee095f2f4453f65a29e?branch=rawhide

Log:
Re-submit package for Fedora review

---
diff --git a/perl-DBD-ODBC.rpmlintrc b/perl-DBD-ODBC.rpmlintrc
new file mode 100644
index 0000000..2a9daff
--- /dev/null
+++ b/perl-DBD-ODBC.rpmlintrc
@@ -0,0 +1,2 @@
+from Config import *
+addFilter(r"spelling-error .*unixODBC")

diff --git a/perl-DBD-ODBC.spec b/perl-DBD-ODBC.spec
index d19c2e9..405bf5f 100644
--- a/perl-DBD-ODBC.spec
+++ b/perl-DBD-ODBC.spec
@@ -1,10 +1,12 @@
 Name:           perl-DBD-ODBC
 Version:        1.61
-Release:        12%{?dist}
+Release:        13%{?dist}
 Summary:        ODBC Driver for DBI
-License:        GPL+ or Artistic
-URL:            https://metacpan.org/release/DBD-ODBC
-Source0:        https://cpan.metacpan.org/modules/by-module/DBD/DBD-ODBC-%{version}.tar.gz
+License:        GPL-1.0-or-later OR Artistic-1.0-Perl
+URL:            https://metacpan.org/dist/DBD-ODBC
+Source0:        https://cpan.metacpan.org/authors/id/M/MJ/MJEVANS/DBD-ODBC-%{version}.tar.gz
+BuildRequires:  coreutils
+BuildRequires:  dos2unix
 BuildRequires:  findutils
 BuildRequires:  gcc
 BuildRequires:  make
@@ -20,6 +22,7 @@ BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(Getopt::Long)
 BuildRequires:  perl(strict)
 BuildRequires:  perl(warnings)
+BuildRequires:  sed
 BuildRequires:  unixODBC-devel
 # Run-time:
 BuildRequires:  perl(constant)
@@ -54,7 +57,17 @@ module uses the unixODBC manager to connect to the database.
 
 %prep
 %setup -q -n DBD-ODBC-%{version}
-%patch0 -p1
+%patch -P0 -p1
+for F in examples/*pl; do
+    chmod -x "$F"
+    dos2unix -q "$F"
+done
+dos2unix examples/money_test.cgi
+dos2unix examples/testPrc.sql
+rm -f examples/perl-DBD-ODBC.spec
+# Remove duplication example file
+rm -f examples/testinout.pl
+sed -i -e '/testinout.pl/d' MANIFEST
 
 %build
 PERL_MM_USE_DEFAULT=1 %{__perl} Makefile.PL -u INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" \
@@ -70,12 +83,15 @@ find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
 make test
 
 %files
-%doc Changes FAQ README TO_DO
-%{perl_vendorarch}/auto/*
-%{perl_vendorarch}/DBD*
-%{_mandir}/man3/*
+%doc Changes FAQ README TO_DO examples/
+%{perl_vendorarch}/auto/DBD/
+%{perl_vendorarch}/DBD/
+%{_mandir}/man3/DBD::ODBC*
 
 %changelog
+* Tue Aug 11 2026 Michal Josef Špaček <mspacek@redhat.com> - 1.61-13
+- Re-submit package for Fedora review
+
 * Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.61-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-25  9:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-25  9:19 [rpms/perl-DBD-ODBC] rawhide: Re-submit package for Fedora review 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox