Spec clean up
Remove some cruft that has accumulated over the years.
This commit is contained in:
parent
ebd9215683
commit
b87405a3e6
@ -36,8 +36,6 @@ BuildRequires: libexif-devel >= %{libexif_version}
|
|||||||
BuildRequires: exempi-devel >= %{exempi_version}
|
BuildRequires: exempi-devel >= %{exempi_version}
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
BuildRequires: gtk-doc
|
|
||||||
BuildRequires: scrollkeeper
|
|
||||||
BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version}
|
BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version}
|
||||||
BuildRequires: gsettings-desktop-schemas-devel
|
BuildRequires: gsettings-desktop-schemas-devel
|
||||||
BuildRequires: libnotify-devel
|
BuildRequires: libnotify-devel
|
||||||
@ -97,14 +95,6 @@ for developing nautilus extensions.
|
|||||||
%patch7 -p1 -b .rtl-fix
|
%patch7 -p1 -b .rtl-fix
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
gtkdocize
|
|
||||||
libtoolize
|
|
||||||
aclocal -I m4
|
|
||||||
autoconf
|
|
||||||
autoheader
|
|
||||||
automake
|
|
||||||
|
|
||||||
CFLAGS="$RPM_OPT_FLAGS -g -DNAUTILUS_OMIT_SELF_CHECK" %configure --disable-more-warnings --disable-update-mimedb
|
CFLAGS="$RPM_OPT_FLAGS -g -DNAUTILUS_OMIT_SELF_CHECK" %configure --disable-more-warnings --disable-update-mimedb
|
||||||
|
|
||||||
# drop unneeded direct library deps with --as-needed
|
# drop unneeded direct library deps with --as-needed
|
||||||
@ -123,14 +113,9 @@ desktop-file-install --delete-original \
|
|||||||
--add-only-show-in GNOME \
|
--add-only-show-in GNOME \
|
||||||
$RPM_BUILD_ROOT%{_datadir}/applications/*
|
$RPM_BUILD_ROOT%{_datadir}/applications/*
|
||||||
|
|
||||||
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.la
|
rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.la
|
||||||
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/.icon-theme.cache
|
|
||||||
|
|
||||||
%find_lang %name
|
%find_lang %name
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
Loading…
Reference in New Issue
Block a user