From 82b287392aadef27e65dd034ddb58d426a53acb6 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Mon, 8 Jan 2024 18:48:36 +0100 Subject: [PATCH] [bugfix] Correctly mark the 'COPYING' file as a license so it can be found with: rpm -q --licensefiles --- unixODBC.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unixODBC.spec b/unixODBC.spec index 1436ff9..0287091 100644 --- a/unixODBC.spec +++ b/unixODBC.spec @@ -101,8 +101,8 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.so.*" | sed "s|^$RPM_BUILD_ROOT||" > bas find $RPM_BUILD_ROOT%{_libdir} -name "*.so" | sed "s|^$RPM_BUILD_ROOT||" > devel-so-list %files -f base-so-list -%doc README COPYING AUTHORS ChangeLog NEWS doc -%doc README.dist +%license COPYING +%doc README README.dist AUTHORS ChangeLog NEWS doc %config(noreplace) %{_sysconfdir}/odbc* %{_bindir}/odbcinst %{_bindir}/isql