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

txt2html.spec

index 95b124a2d8f4e1dd5daa819cf6f6dc6360b9643b..607a1d394e229fa2dee895ae5a90c52f15b00833 100644 (file)
@@ -32,9 +32,9 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/usr/{bin,lib}
 {
     echo '#!/usr/bin/perl'
-    sed -e'1,10d' -e's%/usr/local/lib%/usr/lib%' txt2html.pl
+    sed -e'1,10d' -e's%/usr/local/lib%%{_libdir}%' txt2html.pl
 } >$RPM_BUILD_ROOT/usr/bin/txt2html
-install txt2html.dict $RPM_BUILD_ROOT/usr/lib/txt2html-linkdict
+install txt2html.dict $RPM_BUILD_ROOT%{_libdir}/txt2html-linkdict
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -42,7 +42,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644, root, root, 755)
 %doc changes.html sample.txt sample.html LICENSE README
-%config /usr/lib/txt2html-linkdict
+%config %{_libdir}/txt2html-linkdict
 %attr(755, root, root) /usr/bin/txt2html
 
 %changelog
This page took 0.062373 seconds and 4 git commands to generate.