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)