diff --git a/evolution.spec b/evolution.spec index aaecb2c..9c82374 100644 --- a/evolution.spec +++ b/evolution.spec @@ -315,7 +315,7 @@ make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool CFLAGS="$CFLAGS -UGNOME_DISABLE_DE # Strip unneeded translations from .mo files. # This reduces the RPM size by several megabytes. cd po -grep -v ".*[.]desktop[.]in[.]in$\|.*[.]server[.]in[.]in$" POTFILES.in > POTFILES.keep +grep -v ".*[.]desktop[.]in[.]in$" POTFILES.in > POTFILES.keep mv POTFILES.keep POTFILES.in intltool-update --gettext-package=%{name}-%{evo_major} --pot for p in *.po; do @@ -371,9 +371,6 @@ rm -rf $RPM_BUILD_ROOT/var/lib/scrollkeeper rm -f $RPM_BUILD_ROOT%{_datadir}/mime-info/evolution.keys rm -f $RPM_BUILD_ROOT%{_datadir}/mime-info/evolution.mime -for serverfile in $RPM_BUILD_ROOT%{_libdir}/bonobo/servers/*.server; do - sed -i -e 's|location *= *"/usr/lib\(64\)*/|location="/usr/$LIB/|' $serverfile -done %find_lang evolution-%{evo_major} --all-name --with-gnome grep "/usr/share/locale" evolution-%{evo_major}.lang > translations.lang @@ -448,7 +445,6 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/evolution/%{evo_major} # Modules: -%{_libdir}/bonobo/servers/GNOME_Evolution_Calendar_AlarmNotify.server %dir %{_libdir}/evolution %dir %{_libdir}/evolution/%{evo_major} %{_libdir}/evolution/%{evo_major}/modules