Hello community,

here is the log from the commit of package sigil for openSUSE:Factory checked 
in at 2018-09-24 13:13:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sigil (Old)
 and      /work/SRC/openSUSE:Factory/.sigil.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sigil"

Mon Sep 24 13:13:23 2018 rev:6 rq:637101 version:0.9.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/sigil/sigil.changes      2018-08-18 
00:04:37.875170210 +0200
+++ /work/SRC/openSUSE:Factory/.sigil.new/sigil.changes 2018-09-24 
13:13:24.789690984 +0200
@@ -1,0 +2,6 @@
+Fri Sep 21 18:47:29 UTC 2018 - Bernhard Wiedemann <[email protected]>
+
+- Drop build date from build output (boo#1047218)
+- Fix % escaping where %H:%M:%S turned into 17:53:56OURCE
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sigil.spec ++++++
--- /var/tmp/diff_new_pack.HKby60/_old  2018-09-24 13:13:25.381689953 +0200
+++ /var/tmp/diff_new_pack.HKby60/_new  2018-09-24 13:13:25.381689953 +0200
@@ -86,26 +86,27 @@
 
 %prep
 %setup -q -n Sigil-%{version}
-sed -i 's/\r//' ChangeLog.txt README.md COPYING.txt
 %patch0 -p 1
 cp -v %{S:1} .
 cp -v %{S:2} .
 # rpmlint
-dos2unix src/Resource_Files/python3lib/meta*.py
-dos2unix src/Resource_Files/python3lib/opf_*.py
-find . -type f -exec sed -i -e 's|#!\/usr\/bin\/env 
python|#!\/usr\/bin\/python3|g' {} +
 
 #FIXME MANUAL UPDATE OF DATE REQUIRED HERE!!!!
 # Fix "Your file uses  __DATE and __TIME__ this causes the package to rebuild 
 # when not needed warning"
 # 
http://sourceforge.net/tracker/?func=detail&atid=102439&aid=3314371&group_id=2439
 #
-# We use the current date
-_date=$(date +"%Y%m%d")
-_time=$(date +"%H:%M:%S")
+# We use the ChangeLog date
+_date=$(date -u -r ChangeLog.txt -I)
+_time=$(date -u -r ChangeLog.txt +%%T)
 # Change it:
 find . -type f -name About.cpp -exec sed -i 
"s/@DATE@/$_date/;s/@TIME@/$_time/g" {} +
 
+sed -i 's/\r//' ChangeLog.txt README.md COPYING.txt
+dos2unix src/Resource_Files/python3lib/meta*.py
+dos2unix src/Resource_Files/python3lib/opf_*.py
+find . -type f -exec sed -i -e 's|#!\/usr\/bin\/env 
python|#!\/usr\/bin\/python3|g' {} +
+
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"
 export CXXFLAGS="$CFLAGS"



Reply via email to