From c85014fc4fcc6ab4ef44e40a0d4c29da7377b44c Mon Sep 17 00:00:00 2001 From: Michael van Elst Date: Thu, 8 May 2003 14:47:10 +0000 Subject: [PATCH] remove version from paths --- libidl/libidl.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libidl/libidl.spec b/libidl/libidl.spec index 835d594ac7..14ef74aba7 100644 --- a/libidl/libidl.spec +++ b/libidl/libidl.spec @@ -37,7 +37,7 @@ Distribution: OpenPKG [EVAL] Group: System License: LGPL Version: %{V_major}.%{V_minor} -Release: 20030503 +Release: 20030508 # list of sources Source0: ftp://ftp.gnome.org/pub/GNOME/sources/libIDL/%{V_major}/libIDL-%{version}.tar.gz @@ -57,6 +57,10 @@ AutoReqProv: no %prep %setup -q -n libIDL-%{version} + %{l_shtool} subst \ + -e 's;/libIDL-2\.0;/libIDL;g' \ + -e 's;libIDL-2\.la;libIDL2.la;g' \ + Makefile.in libIDL-config-2.in libIDL-2.0.pc.in %build CC="%{l_cc}" \ @@ -73,6 +77,7 @@ AutoReqProv: no %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir + rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/*.la %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} \ '%not %dir %{l_prefix}/share/aclocal' \