Hello community,
here is the log from the commit of package include-what-you-use for
openSUSE:Factory checked in at 2018-03-19 23:40:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/include-what-you-use (Old)
and /work/SRC/openSUSE:Factory/.include-what-you-use.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "include-what-you-use"
Mon Mar 19 23:40:19 2018 rev:2 rq:588707 version:0.9
Changes:
--------
---
/work/SRC/openSUSE:Factory/include-what-you-use/include-what-you-use.changes
2018-02-24 16:38:49.962630249 +0100
+++
/work/SRC/openSUSE:Factory/.include-what-you-use.new/include-what-you-use.changes
2018-03-19 23:40:43.684267225 +0100
@@ -1,0 +2,11 @@
+Sat Mar 17 16:28:32 UTC 2018 - [email protected]
+
+- Make tools package "noarch", since it contains only scripts.
+
+-------------------------------------------------------------------
+Thu Mar 15 20:12:47 UTC 2018 - [email protected]
+
+- Use tarball from website, where it is now available.
+ There should be no functional change.
+
+-------------------------------------------------------------------
Old:
----
clang_5.0.tar.gz
New:
----
include-what-you-use-0.9.src.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ include-what-you-use.spec ++++++
--- /var/tmp/diff_new_pack.7AJhhu/_old 2018-03-19 23:40:44.968220908 +0100
+++ /var/tmp/diff_new_pack.7AJhhu/_new 2018-03-19 23:40:44.968220908 +0100
@@ -1,6 +1,7 @@
#
# spec file for package include-what-you-use
#
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 Aaron Puchert.
#
# All modifications and additions to the file contributed by third parties
@@ -15,8 +16,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-%define clang_ver clang_5.0
-%define commitshort 15b3f1d
Name: include-what-you-use
Version: 0.9
@@ -25,7 +24,7 @@
License: NCSA
Group: Development/Languages/C and C++
Url: https://include-what-you-use.org/
-Source0: https://github.com/%{name}/%{name}/archive/%{clang_ver}.tar.gz
+Source0:
https://include-what-you-use.org/downloads/%{name}-%{version}.src.tar.gz
Source1: %{name}.1.gz
Patch0: llvm-link.patch
Patch1: fix-shebang.patch
@@ -60,22 +59,20 @@
Summary: Additional tools to use %{name} effectively
Group: Development/Languages/C and C++
Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
%description tools
This package contains additional scripts for using %{name} as automated
refactoring tool.
%prep
-%setup -q -n %{name}-%{clang_ver}
+%setup -q -n %{name}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
-# Set git hash
-sed -i "s,\${IWYU_GIT_REV},%{commitshort},g" CMakeLists.txt
-
# Remove obsolete files - this is now hardcoded into iwyu_include_picker.cc.
rm gcc.libc.imp gcc.symbols.imp gcc.stl.headers.imp stl.c.headers.imp
# The includes from third_party.imp probably only make sense in some code
bases.