rpms/skychart/devel skychart-3.0.1.6-units.patch, NONE, 1.1 skychart.spec, 1.14, 1.15

Lubomir Rintel lkundrak at fedoraproject.org
Thu Apr 9 05:29:24 UTC 2009


Author: lkundrak

Update of /cvs/pkgs/rpms/skychart/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26803

Modified Files:
	skychart.spec 
Added Files:
	skychart-3.0.1.6-units.patch 
Log Message:
Fix unit path

skychart-3.0.1.6-units.patch:

--- NEW FILE skychart-3.0.1.6-units.patch ---
Target directory is not precreated for every possible arch,
use a generic one.

Lubomir Rintel (Fedora Astronomy) <lkundrak at v3.sk>

diff -up skychart-3.0.1.6/skychart/cdc.lpi.units skychart-3.0.1.6/skychart/cdc.lpi
--- skychart-3.0.1.6/skychart/cdc.lpi.units	2009-04-09 07:22:59.381788190 +0200
+++ skychart-3.0.1.6/skychart/cdc.lpi	2009-04-09 07:23:21.763790569 +0200
@@ -434,7 +434,7 @@
       <Filename Value="units/$(TargetCPU)-$(TargetOS)-$(LCLWidgetType)/skychart"/>
     </Target>
     <SearchPaths>
-      <UnitOutputDirectory Value="units/$(TargetCPU)-$(TargetOS)-$(LCLWidgetType)"/>
+      <UnitOutputDirectory Value="units"/>
       <SrcPath Value="$(LazarusDir)/lcl/;$(LazarusDir)/lcl/interfaces/$(LCLWidgetType)/"/>
     </SearchPaths>
     <Parsing>


Index: skychart.spec
===================================================================
RCS file: /cvs/pkgs/rpms/skychart/devel/skychart.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- skychart.spec	8 Apr 2009 19:27:32 -0000	1.14
+++ skychart.spec	9 Apr 2009 05:28:54 -0000	1.15
@@ -12,6 +12,7 @@
 Source0:        %{name}-%{version}.tar.lzma
 Source1:        skychart.desktop
 Patch1:         skychart-3.0.1.6-wl.patch
+Patch2:         skychart-3.0.1.6-units.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # FIXME: http://koji.fedoraproject.org/koji/taskinfo?taskID=918916
@@ -44,6 +45,7 @@
 %{__unzip} -q tools/doc/wiki_doc.zip -d tools/doc
 
 %patch1 -p1 -b .wl
+%patch2 -p1 -b .units
 find . -type f -print0 |xargs -0 chmod 644
 
 




More information about the fedora-extras-commits mailing list