Hello community, here is the log from the commit of package taskwarrior for openSUSE:Factory checked in at 2015-01-15 15:58:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/taskwarrior (Old) and /work/SRC/openSUSE:Factory/.taskwarrior.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "taskwarrior" Changes: -------- --- /work/SRC/openSUSE:Factory/taskwarrior/taskwarrior.changes 2014-09-07 11:10:16.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.taskwarrior.new/taskwarrior.changes 2015-01-15 15:58:46.000000000 +0100 @@ -1,0 +2,25 @@ +Tue Jan 13 07:26:02 UTC 2015 - mvysko...@opensuse.org + +- add taskwarrior-no-return.patch to shut up gcc's complaining about + no return in non-void function +- replace __DATE__ and __TIME__ by values from source tarball + +------------------------------------------------------------------- +Mon Jan 12 14:59:16 UTC 2015 - mvysko...@opensuse.org + +- Update to 2.4.0 + - New dateformat space handling + - New date support: 'february', extensive support for ISO-8601 + - New column formats: description.truncated_count, uda.NAME.indicator, recur.short, tag sorting + - New color rules: color.uda.NAME.VALUE, color.label.sort, color.until + - New virtual tags: READY, YESTERDAY, TOMORROW, PENDING, DELETED, COMPLETED, TAGGED + - New verbosity tokens: new-uuid + - New command: calc, _zshattributes + - New theme: dark-gray-blue256.theme + - New report feature: listing breaks + - New Python testing framework for higher-level testing + - and many more, see http://taskwarrior.org/news/news.20150101.html +- Refresh task-skip-INSTALL.patch +- don't remove dir with bash scripts, it contains more tools + +------------------------------------------------------------------- Old: ---- task-2.3.0.tar.gz New: ---- task-2.4.0.tar.gz taskwarrior-no-return.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ taskwarrior.spec ++++++ --- /var/tmp/diff_new_pack.5gGcHQ/_old 2015-01-15 15:58:47.000000000 +0100 +++ /var/tmp/diff_new_pack.5gGcHQ/_new 2015-01-15 15:58:47.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package taskwarrior # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: taskwarrior -Version: 2.3.0 +Version: 2.4.0 Release: 0 Summary: Command-line todo list manager License: MIT @@ -26,9 +26,13 @@ Source0: http://www.taskwarrior.org/download/task-%{version}.tar.gz #PATCH-FIX-OPENSUSE: skip the INSTALL from files intended for the installation Patch0: task-skip-INSTALL.patch +#PATCH-FIX-OPENSUSE: shut up compiler +Patch1: taskwarrior-no-return.patch # PATCH-FIX-UPSTREAM taskwarrior-gcc47.patch dims...@opensuse.org -- Fix build with gcc 4.7 Patch2: taskwarrior-gcc47.patch +BuildRequires: awk BuildRequires: cmake >= 2.8 +BuildRequires: coreutils BuildRequires: gcc-c++ BuildRequires: libuuid-devel BuildRequires: lua-devel @@ -55,8 +59,16 @@ %prep %setup -q -n task-%{version} %patch0 -p1 +%patch1 -p1 %patch2 -p1 +# replace __TIME__/__DATE__ with values from source code tarball +DATE=$(/bin/date -r "%{SOURCE0}" | awk '{print $2" "$3" "$6}') +TIME=$(/bin/date -r "%{SOURCE0}" | awk '{print $4}') +sed -i src/commands/CmdDiagnostics.cpp \ + -e "s/__TIME__/\"${TIME}\"/" \ + -e "s/__DATE__/\"${DATE}\"/" + %build cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_C_FLAGS="%{optflags}" \ @@ -75,7 +87,6 @@ install -m 0755 -d %{buildroot}%{_sysconfdir}/bash_completion.d/ mv %{scriptsdir}bash/task.sh %{buildroot}%{_sysconfdir}/bash_completion.d/ -rmdir %{scriptsdir}bash install -m 0755 -d %{buildroot}%{_datadir}/zsh/site-functions/ mv %{scriptsdir}zsh/_task %{buildroot}%{_datadir}/zsh/site-functions/ ++++++ task-2.3.0.tar.gz -> task-2.4.0.tar.gz ++++++ ++++ 73723 lines of diff (skipped) ++++++ task-skip-INSTALL.patch ++++++ --- /var/tmp/diff_new_pack.5gGcHQ/_old 2015-01-15 15:58:48.000000000 +0100 +++ /var/tmp/diff_new_pack.5gGcHQ/_new 2015-01-15 15:58:48.000000000 +0100 @@ -1,13 +1,13 @@ -Index: task-2.3.0/CMakeLists.txt +Index: task-2.4.0/CMakeLists.txt =================================================================== ---- task-2.3.0.orig/CMakeLists.txt -+++ task-2.3.0/CMakeLists.txt -@@ -153,7 +153,7 @@ if (EXISTS performance) +--- task-2.4.0.orig/CMakeLists.txt ++++ task-2.4.0/CMakeLists.txt +@@ -148,7 +148,7 @@ if (EXISTS performance) add_subdirectory (performance EXCLUDE_FROM_ALL) endif (EXISTS performance) --set (doc_FILES NEWS ChangeLog README INSTALL AUTHORS COPYING) -+set (doc_FILES NEWS ChangeLog README AUTHORS COPYING) +-set (doc_FILES NEWS ChangeLog README.md INSTALL AUTHORS COPYING) ++set (doc_FILES NEWS ChangeLog README.md AUTHORS COPYING) foreach (doc_FILE ${doc_FILES}) install (FILES ${doc_FILE} DESTINATION ${TASK_DOCDIR}) endforeach (doc_FILE) ++++++ taskwarrior-no-return.patch ++++++ Index: task-2.4.0/src/Lexer.cpp =================================================================== --- task-2.4.0.orig/src/Lexer.cpp +++ task-2.4.0/src/Lexer.cpp @@ -585,6 +585,8 @@ const std::string Lexer::type_name (cons case Lexer::typeDuration: return "Duration"; case Lexer::typeTag: return "Tag"; } + //make gcc happy + return "CannotReachHere"; } //////////////////////////////////////////////////////////////////////////////// Index: task-2.4.0/src/Variant.cpp =================================================================== --- task-2.4.0.orig/src/Variant.cpp +++ task-2.4.0/src/Variant.cpp @@ -1963,6 +1963,8 @@ Variant::operator std::string () const case type_unknown: throw std::string (STRING_VARIANT_RENDER_UNK); } + //make gcc happy + return "CannotReachHere"; } //////////////////////////////////////////////////////////////////////////////// -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org