]> git.pld-linux.org Git - packages/expect.git/commitdiff
- "s-/usr/lib/-%{_libdir}-"
authorkloczek <kloczek@pld-linux.org>
Mon, 17 May 1999 21:41:24 +0000 (21:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    expect.spec -> 1.12

expect.spec

index 6347a90c5739e8adfbe2e3e6a6abc5d92dc7a338..7a545834f84a1703734a0bc59728ba8e01411999 100644 (file)
@@ -72,13 +72,13 @@ Statyczna biblioteka rozszerzenia j
 #RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_REENTRANT"
 
 TCL_BIN_DIR=/usr/bin \
-TCL_LIBRARY=/usr/lib \
+TCL_LIBRARY=%{_libdir} \
 CFLAGS="$RPM_OPT_FLAGS" \
 ./configure    %{_target} \
                --enable-gcc \
                --enable-shared \
                --prefix=/usr \
-               --with-tclconfig=/usr/lib
+               --with-tclconfig=%{_libdir}
 make
 cd ..
 
@@ -86,7 +86,7 @@ cd ..
 rm -rf $RPM_BUILD_ROOT
 #install -d $RPM_BUILD_ROOT/usr
 
-LD_LIBRARY_PATH=$RPM_BUILD_ROOT/usr/lib \
+LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} \
 make prefix=$RPM_BUILD_ROOT/usr install
 
 for n in $RPM_BUILD_ROOT/usr/bin/* ; do
@@ -107,9 +107,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %attr(755, root, root) /usr/bin/*
-%attr(755, root, root) %dir /usr/lib/expect*
-%attr(755, root, root) /usr/lib/expect*/pkgIndex.tcl
-%attr(755, root, root) /usr/lib/libe*.so
+%attr(755, root, root) %dir %{_libdir}/expect*
+%attr(755, root, root) %{_libdir}/expect*/pkgIndex.tcl
+%attr(755, root, root) %{_libdir}/libe*.so
 %{_mandir}/man1/*
 
 %files devel
@@ -117,7 +117,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %files static
-%attr(644, root, root) /usr/lib/lib*.a
+%attr(644, root, root) %{_libdir}/lib*.a
 
 %changelog
 * Sat Sep 26 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
This page took 0.403197 seconds and 4 git commands to generate.