Skip to content

Commit

Permalink
fix debuginfo package (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
David Coutadeur committed May 27, 2024
1 parent 21ab78d commit 7c942cd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions SPECS/libevent-ltb.spec
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ cp LICENSE ChangeLog %{buildroot}/%{libeventdocprefix}/
%{libeventlibprefix}/pkgconfig
%{libeventbinprefix}

%files debuginfo
%exclude %dir /usr/lib/debug
%exclude /usr/lib/debug/.build-id
%exclude /usr/lib/debug/.dwz
%exclude %dir /usr/lib/debug/usr
%exclude %dir /usr/lib/debug/usr/local


%post
echo "%{libeventlibprefix}" > /etc/ld.so.conf.d/%{name}-%{majorversion}.conf
Expand Down
7 changes: 7 additions & 0 deletions SPECS/openldap-ltb.spec
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,13 @@ fi
%doc %{ldapserverdir}/share/man/man5/slapo-explockout.5
%{ldapserverdir}/libexec/openldap/explockout.*

%files debuginfo
%exclude %dir /usr/lib/debug
%exclude /usr/lib/debug/.build-id
%exclude /usr/lib/debug/.dwz
%exclude %dir /usr/lib/debug/usr
%exclude %dir /usr/lib/debug/usr/local

#=================================================
# Changelog
#=================================================
Expand Down

0 comments on commit 7c942cd

Please sign in to comment.