Drop libtool as-needed hack as as-needed is in default LDFLAGS now
This commit is contained in:
parent
9d3209b598
commit
88ec50607a
10
yelp.spec
10
yelp.spec
@ -3,7 +3,7 @@
|
||||
Name: yelp
|
||||
Epoch: 2
|
||||
Version: 40~beta
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Help browser for the GNOME desktop
|
||||
|
||||
License: LGPLv2+ and ASL 2.0 and GPLv2+
|
||||
@ -56,11 +56,6 @@ the libraries in the yelp-libs package.
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
|
||||
# drop unneeded direct library deps with --as-needed
|
||||
# libtool doesn't make this easy, so we do it the hard way
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
|
||||
|
||||
%make_build
|
||||
|
||||
%install
|
||||
@ -100,6 +95,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/yelp.desktop
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Feb 28 2021 Kalev Lember <klember@redhat.com> - 2:40~beta-2
|
||||
- Drop libtool as-needed hack as as-needed is in default LDFLAGS now
|
||||
|
||||
* Thu Feb 18 2021 Kalev Lember <klember@redhat.com> - 2:40~beta-1
|
||||
- Update to 40.beta
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user