public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-DBD-ODBC] epel9: Misc updates
@ 2026-08-25 15:40 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-25 15:40 UTC (permalink / raw)
  To: git-commits

            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
 

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-25 15:40 [rpms/perl-DBD-ODBC] epel9: Misc updates 

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