packages: opal/opal.spec - fix paths in *.mak files

mmazur mmazur at pld-linux.org
Fri Feb 19 11:19:44 CET 2010


Author: mmazur                       Date: Fri Feb 19 10:19:44 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix paths in *.mak files

---- Files affected:
packages/opal:
   opal.spec (1.51 -> 1.52) 

---- Diffs:

================================================================
Index: packages/opal/opal.spec
diff -u packages/opal/opal.spec:1.51 packages/opal/opal.spec:1.52
--- packages/opal/opal.spec:1.51	Fri Feb 19 10:48:24 2010
+++ packages/opal/opal.spec	Fri Feb 19 11:19:38 2010
@@ -155,6 +155,14 @@
 
 %{!?with_sip_fax_only:install samples/simple/obj/simpleopal $RPM_BUILD_ROOT%{_bindir}}
 
+# This needs to be done after 'make install'
+sed -i -e \
+'s,^OPALDIR.*=.*$,OPALDIR\t\t\t\t= %{_libdir}/opal-%{version},;'\
+'s,^OPAL_SRCDIR.*=.*$,OPAL_SRCDIR\t\t\t= %{_usrsrc}/debug/opal-%{version},;'\
+'s,^OPAL_INCDIR.*=.*$,OPAL_INCDIR\t\t\t= %{_includedir}/opal,;'\
+'s,^OPAL_LIBDIR.*=.*$,OPAL_LIBDIR\t\t\t= %{_libdir},;' \
+opal_defs.mak
+
 install opal_{inc,defs}.mak $RPM_BUILD_ROOT%{_includedir}/opal
 
 %clean
@@ -208,6 +216,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.52  2010/02/19 10:19:38  mmazur
+- fix paths in *.mak files
+
 Revision 1.51  2010/02/19 09:48:24  mmazur
 - revert last change
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/opal/opal.spec?r1=1.51&r2=1.52&f=u



More information about the pld-cvs-commit mailing list