]> git.pld-linux.org Git - packages/opal.git/commitdiff
- fix paths in *.mak files auto/ti/opal-3_6_6-3
authorMariusz Mazur <mmazur@pld-linux.org>
Fri, 19 Feb 2010 10:19:38 +0000 (10:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    opal.spec -> 1.52

opal.spec

index bf27938f2a444e585e9cb8f4d5e1abba1273537b..6b77b79389d8cac7d9f009f16e65093389482965 100644 (file)
--- a/opal.spec
+++ b/opal.spec
@@ -154,6 +154,14 @@ install -d $RPM_BUILD_ROOT%{_bindir}
 
 %{!?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
This page took 0.233278 seconds and 4 git commands to generate.