Changes of Revision 27

kodi-noX-raspberry-pi.changes Changed
x
 
1
@@ -1,4 +1,9 @@
2
 -------------------------------------------------------------------
3
+Thu Mar 31 13:23:41 UTC 2016 - obs@botter.cc
4
+
5
+- reintroduce fix __date__ macro in PythonSwig.cpp.template from Jan 16 2015
6
+
7
+-------------------------------------------------------------------
8
 Thu Mar 10 13:24:06 UTC 2016 - guillaume@opensuse.org
9
 
10
 - Add add_rpi2_support.patch to add raspberry pi2 platform support
11
kodi-noX-raspberry-pi2.changes Changed
11
 
1
@@ -1,4 +1,9 @@
2
 -------------------------------------------------------------------
3
+Thu Mar 31 13:23:41 UTC 2016 - obs@botter.cc
4
+
5
+- reintroduce fix __date__ macro in PythonSwig.cpp.template from Jan 16 2015
6
+
7
+-------------------------------------------------------------------
8
 Thu Mar 10 13:24:06 UTC 2016 - guillaume@opensuse.org
9
 
10
 - Add add_rpi2_support.patch to add raspberry pi2 platform support
11
kodi-noX.changes Changed
11
 
1
@@ -1,4 +1,9 @@
2
 -------------------------------------------------------------------
3
+Thu Mar 31 13:23:41 UTC 2016 - obs@botter.cc
4
+
5
+- reintroduce fix __date__ macro in PythonSwig.cpp.template from Jan 16 2015
6
+
7
+-------------------------------------------------------------------
8
 Thu Mar 10 13:24:06 UTC 2016 - guillaume@opensuse.org
9
 
10
 - Add add_rpi2_support.patch to add raspberry pi2 platform support
11
kodi.changes Changed
11
 
1
@@ -1,4 +1,9 @@
2
 -------------------------------------------------------------------
3
+Thu Mar 31 13:23:41 UTC 2016 - obs@botter.cc
4
+
5
+- reintroduce fix __date__ macro in PythonSwig.cpp.template from Jan 16 2015
6
+
7
+-------------------------------------------------------------------
8
 Thu Mar 10 13:24:06 UTC 2016 - guillaume@opensuse.org
9
 
10
 - Add add_rpi2_support.patch to add raspberry pi2 platform support
11
kodi-noX-raspberry-pi.spec Changed
16
 
1
@@ -251,9 +251,14 @@
2
 # Remove build time references so build-compare can do its work
3
 FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
4
 FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S')
5
+FAKE_BUILDDATETIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes)
6
 for file in xbmc/GUIInfoManager.cpp xbmc/Application.cpp xbmc/utils/SystemInfo.cpp; do
7
   sed -i -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -e "s/__TIME__/\"$FAKE_BUILDTIME\"/" $file
8
 done
9
+# remove the remaining occurencies in the source tree
10
+for file in xbmc/interfaces/python/PythonSwig.cpp.template ; do
11
+  sed -i -e "/PyModule_AddStringConstant.*__date__/ s/\${new Date()\.toString()}/$FAKE_BUILDDATETIME/"  $file
12
+done
13
 
14
 # Set the final version string 
15
 cp %{SOURCE3} VERSION
16
kodi-noX-raspberry-pi2.spec Changed
16
 
1
@@ -251,9 +251,14 @@
2
 # Remove build time references so build-compare can do its work
3
 FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
4
 FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S')
5
+FAKE_BUILDDATETIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes)
6
 for file in xbmc/GUIInfoManager.cpp xbmc/Application.cpp xbmc/utils/SystemInfo.cpp; do
7
   sed -i -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -e "s/__TIME__/\"$FAKE_BUILDTIME\"/" $file
8
 done
9
+# remove the remaining occurencies in the source tree
10
+for file in xbmc/interfaces/python/PythonSwig.cpp.template ; do
11
+  sed -i -e "/PyModule_AddStringConstant.*__date__/ s/\${new Date()\.toString()}/$FAKE_BUILDDATETIME/"  $file
12
+done
13
 
14
 # Set the final version string 
15
 cp %{SOURCE3} VERSION
16
kodi-noX.spec Changed
16
 
1
@@ -251,9 +251,14 @@
2
 # Remove build time references so build-compare can do its work
3
 FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
4
 FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S')
5
+FAKE_BUILDDATETIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes)
6
 for file in xbmc/GUIInfoManager.cpp xbmc/Application.cpp xbmc/utils/SystemInfo.cpp; do
7
   sed -i -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -e "s/__TIME__/\"$FAKE_BUILDTIME\"/" $file
8
 done
9
+# remove the remaining occurencies in the source tree
10
+for file in xbmc/interfaces/python/PythonSwig.cpp.template ; do
11
+  sed -i -e "/PyModule_AddStringConstant.*__date__/ s/\${new Date()\.toString()}/$FAKE_BUILDDATETIME/"  $file
12
+done
13
 
14
 # Set the final version string 
15
 cp %{SOURCE3} VERSION
16
kodi.spec Changed
16
 
1
@@ -251,9 +251,14 @@
2
 # Remove build time references so build-compare can do its work
3
 FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
4
 FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S')
5
+FAKE_BUILDDATETIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes)
6
 for file in xbmc/GUIInfoManager.cpp xbmc/Application.cpp xbmc/utils/SystemInfo.cpp; do
7
   sed -i -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -e "s/__TIME__/\"$FAKE_BUILDTIME\"/" $file
8
 done
9
+# remove the remaining occurencies in the source tree
10
+for file in xbmc/interfaces/python/PythonSwig.cpp.template ; do
11
+  sed -i -e "/PyModule_AddStringConstant.*__date__/ s/\${new Date()\.toString()}/$FAKE_BUILDDATETIME/"  $file
12
+done
13
 
14
 # Set the final version string 
15
 cp %{SOURCE3} VERSION
16