Drop unneeded direct deps
This commit is contained in:
parent
f46e745ef1
commit
5eeccc4d94
14
yelp.spec
14
yelp.spec
@ -19,7 +19,7 @@
|
|||||||
Summary: Help browser for the GNOME desktop
|
Summary: Help browser for the GNOME desktop
|
||||||
Name: yelp
|
Name: yelp
|
||||||
Version: 2.27.2
|
Version: 2.27.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Source: http://download.gnome.org/sources/yelp/2.27/%{name}-%{version}.tar.bz2
|
Source: http://download.gnome.org/sources/yelp/2.27/%{name}-%{version}.tar.bz2
|
||||||
URL: http://live.gnome.org/Yelp
|
URL: http://live.gnome.org/Yelp
|
||||||
Patch1: yelp-2.15.5-fedora-docs.patch
|
Patch1: yelp-2.15.5-fedora-docs.patch
|
||||||
@ -66,6 +66,7 @@ BuildRequires: dbus-devel
|
|||||||
BuildRequires: gettext-devel
|
BuildRequires: gettext-devel
|
||||||
BuildRequires: rarian-devel >= %{rarian_version}
|
BuildRequires: rarian-devel >= %{rarian_version}
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
|
BuildRequires: automake autoconf libtool
|
||||||
|
|
||||||
|
|
||||||
%if %{WITH_MONO}
|
%if %{WITH_MONO}
|
||||||
@ -89,12 +90,18 @@ documentation written in DocBook.
|
|||||||
# force regeneration
|
# force regeneration
|
||||||
rm data/yelp.schemas
|
rm data/yelp.schemas
|
||||||
|
|
||||||
|
autoreconf -i -f -i
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--with-mozilla=libxul-embedding \
|
--with-mozilla=libxul-embedding \
|
||||||
--disable-schemas-install
|
--disable-schemas-install
|
||||||
|
|
||||||
make
|
# 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 %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -149,6 +156,9 @@ update-desktop-database &> /dev/null ||:
|
|||||||
%{_datadir}/yelp
|
%{_datadir}/yelp
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 18 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.2-3
|
||||||
|
- Drop unused direct dependencies
|
||||||
|
|
||||||
* Thu Jul 2 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.2-2
|
* Thu Jul 2 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.2-2
|
||||||
- Shrink GConf schemas
|
- Shrink GConf schemas
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user