SPECS (DEVEL): dotnet-gecko-sharp.spec - fixed install (mv failed ...

prism prism at pld-linux.org
Sun Jun 19 18:35:12 CEST 2005


Author: prism                        Date: Sun Jun 19 16:35:12 2005 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- fixed install (mv failed because a destination was the same as a source)

---- Files affected:
SPECS:
   dotnet-gecko-sharp.spec (1.14.2.3 -> 1.14.2.4) 

---- Diffs:

================================================================
Index: SPECS/dotnet-gecko-sharp.spec
diff -u SPECS/dotnet-gecko-sharp.spec:1.14.2.3 SPECS/dotnet-gecko-sharp.spec:1.14.2.4
--- SPECS/dotnet-gecko-sharp.spec:1.14.2.3	Tue May 24 21:05:19 2005
+++ SPECS/dotnet-gecko-sharp.spec	Sun Jun 19 18:35:07 2005
@@ -74,7 +74,9 @@
   :
 else
   install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
-  mv $RPM_BUILD_ROOT/usr/lib/pkgconfig/* $RPM_BUILD_ROOT%{_pkgconfigdir}
+  if [ "%{_pkgconfigdir}" != "/usr/lib/pkgconfig" ]; then
+  	mv $RPM_BUILD_ROOT/usr/lib/pkgconfig/* $RPM_BUILD_ROOT%{_pkgconfigdir}
+  fi
 fi
 
 %clean
@@ -98,6 +100,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14.2.4  2005/06/19 16:35:07  prism
+- fixed install (mv failed because a destination was the same as a source)
+
 Revision 1.14.2.3  2005/05/24 19:05:19  malekith
 - use /usr/lib for mono libdir; fixes amd64 build
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dotnet-gecko-sharp.spec?r1=1.14.2.3&r2=1.14.2.4&f=u




More information about the pld-cvs-commit mailing list