public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-DBD-ODBC] epel9: Misc updates
Date: Tue, 25 Aug 2026 15:40:41 GMT	[thread overview]
Message-ID: <178767244118.1.13386167095597732027.rpms-perl-DBD-ODBC-0bfeaa8c00c7@fedoraproject.org> (raw)

            A new commit has been pushed.

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

            Log:
            Misc updates

- Add examples/
- Add filter for rpmlint
- Fix Source0 and URL
- Fix SPDX license string
- Improve matching in macro files section

---
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 eaadc80..6ba28d3 100644
--- a/perl-DBD-ODBC.spec
+++ b/perl-DBD-ODBC.spec
@@ -1,10 +1,12 @@
 Name:           perl-DBD-ODBC
 Version:        1.61
-Release:        7%{?dist}
+Release:        8%{?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)
@@ -55,7 +58,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" \
@@ -71,12 +84,18 @@ 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-8
+- Add examples/
+- Fix Source0 and URL
+- Fix SPDX license string
+- Improve matching in macro files section
+
 * Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.61-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
 

                 reply	other threads:[~2026-08-25 15:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178767244118.1.13386167095597732027.rpms-perl-DBD-ODBC-0bfeaa8c00c7@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox