public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/afpfs-ng] epel10: delete explicitly the libtool .la file
@ 2026-11-06 15:37 Michal Ambroz
  0 siblings, 0 replies; only message in thread
From: Michal Ambroz @ 2026-11-06 15:37 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/afpfs-ng
Branch : epel10
Commit : 4396979d2215e37334fa5a6b380187af7b6f43bf
Author : Michal Ambroz <rebus@seznam.cz>
Date   : 2022-10-25T11:30:36+02:00
Stats  : +7/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/afpfs-ng/c/4396979d2215e37334fa5a6b380187af7b6f43bf?branch=epel10

Log:
delete explicitly the libtool .la file

---
diff --git a/afpfs-ng.spec b/afpfs-ng.spec
index 0726769..6667004 100644
--- a/afpfs-ng.spec
+++ b/afpfs-ng.spec
@@ -1,6 +1,6 @@
 Name:           afpfs-ng
 Version:        0.8.1
-Release:        39%{?dist}
+Release:        40%{?dist}
 Summary:        Apple Filing Protocol client
 
 
@@ -68,10 +68,11 @@ make %{?_smp_mflags}
 
 
 %install
-make install DESTDIR=%{buildroot}
+%make_install
 install -d %{buildroot}%{_includedir}/afpfs-ng
 cp -p include/* %{buildroot}%{_includedir}/afpfs-ng
-
+# libtool .la file works different in different versions of libtool, should not be packaged
+[ -f %{buildroot}%{_libdir}/libafpclient.la ] && rm -f %{buildroot}%{_libdir}/libafpclient.la
 
 %if ( 0%{?rhel} && 0%{?rhel} <= 7 )
 %ldconfig_scriptlets
@@ -85,7 +86,6 @@ cp -p include/* %{buildroot}%{_includedir}/afpfs-ng
 %{_mandir}/man1/afpcmd.1*
 %{_mandir}/man1/afpgetstatus.1*
 %{_libdir}/libafpclient.so.*
-# %%exclude %%{_libdir}/*.la
 %doc AUTHORS ChangeLog docs/README docs/performance docs/FEATURES.txt docs/REPORTING-BUGS.txt
 
 
@@ -107,8 +107,10 @@ cp -p include/* %{buildroot}%{_includedir}/afpfs-ng
 %{_includedir}/afpfs-ng
 %{_libdir}/*.so
 
-
 %changelog
+* Tue Oct 25 2022 Michal Ambroz <rebus _AT seznam.cz> - 0.8.1-40
+- remove the libafpclient.la libtool file
+
 * Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-39
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
 

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

only message in thread, other threads:[~2026-11-06 15:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06 15:37 [rpms/afpfs-ng] epel10: delete explicitly the libtool .la file Michal Ambroz

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