diff --git a/gettext.spec b/gettext.spec index 5ec694d..594187b 100644 --- a/gettext.spec +++ b/gettext.spec @@ -6,7 +6,7 @@ Summary: GNU libraries and utilities for producing multi-lingual messages Name: gettext Version: 0.18.1.1 -Release: 10%{?dist} +Release: 11%{?dist} License: GPLv3+ and LGPLv2+ Group: Development/Tools URL: http://www.gnu.org/software/gettext/ @@ -43,6 +43,8 @@ BuildRequires: libcroco-devel BuildRequires: libunistring-devel Requires(post): info Requires(preun): info +#Conflicts: filesystem < 3 +Provides: /bin/gettext Patch1: gettext-readlink-einval.patch %description @@ -160,10 +162,6 @@ make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="%{__install} -p" \ lispdir=%{_datadir}/emacs/site-lisp/gettext \ aclocaldir=%{_datadir}/aclocal EXAMPLESFILES="" -# move gettext to /bin -mkdir -p ${RPM_BUILD_ROOT}/bin -mv ${RPM_BUILD_ROOT}%{_bindir}/gettext ${RPM_BUILD_ROOT}/bin -ln -s ../../bin/gettext ${RPM_BUILD_ROOT}%{_bindir}/gettext install -pm 755 %SOURCE2 ${RPM_BUILD_ROOT}/%{_bindir}/msghack @@ -270,7 +268,7 @@ fi %doc NEWS THANKS %doc gettext-runtime/man/*.1.html %doc gettext-runtime/intl/COPYING* -/bin/* +%{_bindir}/* %exclude %{_bindir}/autopoint %{_bindir}/* %{_infodir}/gettext* @@ -333,6 +331,10 @@ fi %{_emacs_sitelispdir}/%{name}/*.el %changelog +* Wed Jan 25 2012 Harald Hoyer 0.18.1.1-11 +- install everything in /usr + https://fedoraproject.org/wiki/Features/UsrMove + * Tue Jan 10 2012 Nils Philippsen - 0.18.1.1-10 - rebuild for gcc 4.7