From 7eaf540ecc9826e7ae4e60a8f6f9b2dc70becb95 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Fri, 13 May 2022 15:42:34 +0100 Subject: [PATCH] disable .la file removal --- apr-util.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/apr-util.spec b/apr-util.spec index 26d8ee6..0852e13 100644 --- a/apr-util.spec +++ b/apr-util.spec @@ -17,12 +17,15 @@ %global ldaplib ldap %endif +# Disable .la file removal since the .la file is exported via apu-config. +%global __brp_remove_la_files %nil + %define apuver 1 Summary: Apache Portable Runtime Utility library Name: apr-util Version: 1.6.1 -Release: 20%{?dist} +Release: 21%{?dist} License: ASL 2.0 URL: https://apr.apache.org/ Source0: https://www.apache.org/dist/apr/%{name}-%{version}.tar.bz2 @@ -224,13 +227,16 @@ export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}/apr-util-%{apuver} %files devel %{_bindir}/apu-%{apuver}-config -%{_libdir}/libaprutil-%{apuver}.*a +%{_libdir}/libaprutil-%{apuver}.la %{_libdir}/libaprutil-%{apuver}.so %{_includedir}/apr-%{apuver}/*.h %{_libdir}/pkgconfig/*.pc %{_datadir}/aclocal/*.m4 %changelog +* Fri May 13 2022 Joe Orton - 1.6.1-21 +- disable .la file removal + * Fri Jan 28 2022 Joe Orton - 1.6.1-20 - fix build with OpenLDAP 2.6 (#2032706)