Hello community,

here is the log from the commit of package weechat for openSUSE:Factory checked 
in at 2016-03-26 15:24:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/weechat (Old)
 and      /work/SRC/openSUSE:Factory/.weechat.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "weechat"

Changes:
--------
--- /work/SRC/openSUSE:Factory/weechat/weechat.changes  2016-02-22 
08:57:46.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.weechat.new/weechat.changes     2016-03-26 
15:24:59.000000000 +0100
@@ -1,0 +2,6 @@
+Sun Mar 20 18:45:20 UTC 2016 - [email protected]
+
+- Fix build-compare
+- include .changes file as Source so that .src.rpm can be rebuilt
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ weechat.spec ++++++
--- /var/tmp/diff_new_pack.ekNVVJ/_old  2016-03-26 15:25:00.000000000 +0100
+++ /var/tmp/diff_new_pack.ekNVVJ/_new  2016-03-26 15:25:00.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package weechat
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
 #
 
 
-
 Name:           weechat
 Version:        1.4
 Release:        0
@@ -28,6 +27,7 @@
 Source1:        weechat.desktop
 Source2:        %{name}.keyring
 Source3:        %{name}-%{version}.tar.bz2.asc
+Source4:        %{name}.changes
 BuildRequires:  asciidoc
 BuildRequires:  ca-certificates
 BuildRequires:  cmake
@@ -151,10 +151,15 @@
 
 %prep
 %setup -q
-modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
+modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE4}")"
 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
 TIME="\"$(date -d "${modified}" "+%%R")\""
 find .  -name '*.[ch]' | xargs sed -i 
"s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g"
+DATEF="\"$(date -d "${modified}" "+%%F")\""
+sed -i "s/date=.*/date=$DATEF/" doc/asciidoc.conf
+sed -i "s/A2X_EXECUTABLE.*/& -a revdate=$DATEF/" doc/*/CMakeLists.txt
+YEAR=$(date -d "${modified}" +%%Y)
+sed -i "s/{sys:date \"+%%Y\"}/${YEAR}/" doc/*/weechat.1.*.asciidoc
 
 %build
 export CFLAGS="%{optflags}"




Reply via email to