-resolve wayland,mesa bug.
authorRonan Le Martret <ronan@fridu.net>
Tue, 16 Apr 2013 16:29:41 +0000 (18:29 +0200)
committerRonan Le Martret <ronan@fridu.net>
Tue, 16 Apr 2013 16:29:41 +0000 (18:29 +0200)
Tizen_TZ_package/TizenGroup-IVI-Wayland/rpm_tizen_macro/lib/tizen/macros
Tizen_TZ_package/spec2yocto.py

index 16bdce0..c6505c8 100644 (file)
@@ -70,7 +70,7 @@
        --program-prefix=%{?_program_prefix} \\\
        --prefix=%{_prefix} \\\
        --exec-prefix=%{_exec_prefix} \\\
-       --bindir=%{nil} \\\
+       --bindir=%{_bindir} \\\
        --sbindir=%{_sbindir} \\\
        --sysconfdir=%{_sysconfdir} \\\
        --datadir=%{_datadir} \\\
index 6987bd8..27354d6 100755 (executable)
@@ -632,7 +632,11 @@ class specParser:
                             id=splitedLine[i+1]
                         res+="#extracte source %s \n" % id
                         res+="pushd ${S}\n"
-                        res+="unp ${PACKAGING}/packaging/%s \n" %  (os.path.basename(patternSourceDico[id]))
+                        source=os.path.basename(patternSourceDico[id])
+                        if source.endswith("rpmlintrc"):
+                            res+="cp ${PACKAGING}/packaging/%s .\n" %  source
+                        else:
+                            res+="unp ${PACKAGING}/packaging/%s \n" %  (os.path.basename(patternSourceDico[id]))
                         res+="popd \n"
                         
                     elif splitedLine[i].startswith("-b"):
@@ -643,7 +647,11 @@ class specParser:
                         
                         res+="#extracte source %s \n" %  (id)
                         res+="pushd ${S}/../\n"
-                        res+="unp ${PACKAGING}/packaging/%s \n" %  (os.path.basename(patternSourceDico[id]))
+                        source=os.path.basename(patternSourceDico[id])
+                        if source.endswith("rpmlintrc"):
+                            res+="cp ${PACKAGING}/packaging/%s .\n" %  source
+                        else:
+                            res+="unp ${PACKAGING}/packaging/%s \n" %  source
                         res+="popd \n"
                         
                 res+="chmod -Rf a+rX,u+w,g-w,o-w ${PACKAGING}\n"