Architecture specific change in rpms/iwyu.git
by githook-noreply@fedoraproject.org
The package rpms/iwyu.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/iwyu.git/commit/?id=3cfc074af771c...
https://src.fedoraproject.org/cgit/rpms/iwyu.git/commit/?id=423431ccec339...
https://src.fedoraproject.org/cgit/rpms/iwyu.git/commit/?id=d1b9a4c378e55...
https://src.fedoraproject.org/cgit/rpms/iwyu.git/commit/?id=72ccb5880e99e...
https://src.fedoraproject.org/cgit/rpms/iwyu.git/commit/?id=2f519d1e93e85...
https://src.fedoraproject.org/cgit/rpms/iwyu.git/commit/?id=90f6f4162f2ec...
https://src.fedoraproject.org/cgit/rpms/iwyu.git/commit/?id=ec41659f7b09f....
Change:
-ExclusiveArch: %{ix86} x86_64
+ExclusiveArch: %{ix86} x86_64
-ExclusiveArch: %{ix86} x86_64
+ExclusiveArch: %{ix86} x86_64
-ExclusiveArch: %{ix86} x86_64
+ExclusiveArch: %{ix86} x86_64
+ExcludeArch: %{arm}
Thanks.
Full change:
============
commit 3cfc074af771c44e64759fc389f388a1110dde94
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Mon Mar 27 14:06:00 2023 +0200
Resurrected package and updated to version 0.19.
diff --git a/.gitignore b/.gitignore
index 7ec4b9a..5053225 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,11 +1 @@
-/include-what-you-use-3.4.src.tar.gz
-/include-what-you-use-3.5.src.tar.gz
-/include-what-you-use-0.4.src.tar.gz
-/include-what-you-use-98f3e62d371ae602061951115efc3b75ff255824.tar.gz
-/include-what-you-use-e1fc7722673fd665c105d0aaed1dab1aeefce8c1.tar.gz
-/include-what-you-use-f09b88aaa0b7bb88a7b36da2ba1cab233659df6e.tar.gz
-/include-what-you-use-136736fca90ad10e20b2ef728f0d52286e93ca46.tar.gz
-/iwyu-23253ec.tar.gz
-/include-what-you-use-953970c487b004050d44925bfcc5133be9fa0d7f.tar.gz
-/include-what-you-use-c6c4520c0b0a0ad2ba22218ef2aa3f0b81ecbc6f.tar.gz
-/include-what-you-use-576e80f7f37ce2daa59120c40f38735b3fbc7422.tar.gz
+/include-what-you-use-*.tar.gz
diff --git a/iwyu.spec b/iwyu.spec
index 20b0717..cac45c6 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,93 +1,78 @@
-%global longname include-what-you-use
-%global owner %{longname}
-%global commit 576e80f7f37ce2daa59120c40f38735b3fbc7422
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
-Name: iwyu
-Version: 0.9
-Release: 0.5.20171001git%{shortcommit}%{?dist}
-Summary: C/C++ source files #include analyzer based on clang
-
-License: NCSA
-URL: https://github.com/%{owner}/%{longname}
-Source0: https://github.com/%{owner}/%{longname}/archive/%{commit}.tar.gz#/%{longn...
-
-BuildRequires: cmake
-BuildRequires: clang-devel >= 4.0
-# NOTE: This should probably listed as a dependency for clang-devel but it's
-# not, so make it explicit here
-BuildRequires: llvm-devel
-# Some of the Clang libraries are only available statically and the use of the
-# static library was approved (see https://fedorahosted.org/fesco/ticket/1370 )
-BuildRequires: llvm-static
-BuildRequires: zlib-devel
-# Scripts are Python 2
-BuildRequires: python2-devel
-BuildRequires: ncurses-devel
-
-# Virtual provide the long name
-Provides: include-what-you-use = %{version}-%{release}
-Provides: include-what-you-use%{?_isa} = %{version}-%{release}
-
-# It isn't building on ARM, so just exclude it for now (see https://bugzilla.redhat.com/show_bug.cgi?id=1192713 )
-# Also, the tests use x86 assembly right now (see https://groups.google.com/forum/#!topic/include-what-you-use/lEuN5tr-0y0 )
-ExclusiveArch: %{ix86} x86_64
+%global appname include-what-you-use
+%global toolchain clang
+Name: iwyu
+Version: 0.19
+Release: 1%{?dist}
+
+License: NCSA
+Summary: C/C++ source files #include analyzer based on clang
+URL: https://github.com/%{appname}/%{appname}
+Source0: %{url}/archive/%{version}/%{appname}-%{version}.tar.gz
+
+BuildRequires: clang-devel
+BuildRequires: libcxx-devel
+BuildRequires: llvm-devel
+BuildRequires: llvm-static
+BuildRequires: ncurses-devel
+BuildRequires: python3-devel
+BuildRequires: zlib-devel
+
+BuildRequires: clang
+BuildRequires: cmake
+BuildRequires: ninja-build
+
+Provides: %{appname} = %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: %{appname}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description
"Include what you use" means this: for every symbol (type, function, variable,
-or macro) that you use in foo.cc (or foo.cpp), either foo.cc or foo.h
-should #include a .h file that exports the declaration of that symbol. The
-include-what-you-use tool is a program that can be built with the clang
-libraries in order to analyze #includes of source files to find
-include-what-you-use violations, and suggest fixes for them.
-
+or macro) that you use in foo.cc (or foo.cpp), either foo.cc or foo.h should
+include a .h file that exports the declaration of that symbol. (Similarly, for
+foo_test.cc, either foo_test.cc or foo.h should do the including.) Obviously
+symbols defined in foo.cc itself are excluded from this requirement.
+
+This puts us in a state where every file includes the headers it needs to
+declare the symbols that it uses. When every file includes what it uses,
+then it is possible to edit any file and remove unused headers, without fear
+of accidentally breaking the upwards dependencies of that file. It also
+becomes easy to automatically track and update dependencies in the source
+code.
%prep
-%autosetup -n %{longname}-%{commit}
-
+%autosetup -n %{appname}-%{version} -p1
+sed -e s@lib/@lib\${LLVM_LIBDIR_SUFFIX}/@g -i CMakeLists.txt
+%py3_shebang_fix *.py
%build
-mkdir build
-cd build
-# NOTE: Have to specify both lib and include dir for it to work
-%cmake -DIWYU_LLVM_LIB_PATH=%{_libdir}/llvm -DIWYU_LLVM_INCLUDE_PATH=%{_includedir} ..
-%make_build
-
+%cmake -G Ninja \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \
+ -DIWYU_LLVM_ROOT_PATH=%{_libdir}
+%cmake_build
%install
-%make_install -C build
-cd %{buildroot}%{_bindir}
-ln -s include-what-you-use iwyu
-ln -s fix_includes.py fix_includes
-ln -s iwyu_tool.py iwyu_tool
-
+%cmake_install
%check
-# Need to have the clang header's at the correct relative path (see https://github.com/include-what-you-use/include-what-you-use/issues/100 )
-ln -s %{_libdir} %{_lib}
-cd build
-PATH=$PWD:$PATH
-ln -s ../fix_includes.py
-ln -s ../fix_includes_test.py
-ln -s ../iwyu_test_util.py
-ln -s ../run_iwyu_tests.py
-ln -s ../tests
-%{__python2} run_iwyu_tests.py
-%{__python2} fix_includes_test.py
-
+%ctest --exclude-regex "cxx.test_(badinc|ms_inline_asm)"
%files
-%{_bindir}/include-what-you-use
-%{_bindir}/iwyu
-%{_bindir}/fix_includes
+%doc docs/* README.md
+%license LICENSE.TXT
+%{_bindir}/%{appname}
%{_bindir}/fix_includes.py
-%{_bindir}/iwyu_tool
%{_bindir}/iwyu_tool.py
-%dir %{_datadir}/include-what-you-use
-%{_datadir}/include-what-you-use/*.imp
+%{_datadir}/%{appname}/
+%{_mandir}/man1/%{appname}.1*
%changelog
+* Sun Mar 19 2023 Vitaly Zaitsev <vitaly(a)easycoding.org> - 0.19-1
+- Resurrected package.
+- Updated to version 0.19.
+- Performed major SPEC cleanup.
+- Fixed issues with tests.
+
* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.5.20171001git576e80f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
diff --git a/sources b/sources
index f0ba466..1979f41 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (include-what-you-use-576e80f7f37ce2daa59120c40f38735b3fbc7422.tar.gz) = 254f3f98aa40f2d7107d5cf06e6b783e8295d4c4b91751fcf0c998b16b1a330119b2c3e2d232e4c9083029b2c4ec5297c9ea0074e52726346385fb15f31c0e28
+SHA512 (include-what-you-use-0.19.tar.gz) = 0847ae898696b51540ab9f5715e69bae67db42409d60205227d543ba6597b12cc2ea5bf68a3315c31f22e7186e05c06a86f5ae5b893c23bfe4cd9ef6f06ccddc
commit 423431ccec339e4093f441b304ff8d2613f74826
Author: Tomas Hrcka <thrcka(a)redhat.com>
Date: Mon Mar 27 12:25:38 2023 +0200
Unretirement request: https://pagure.io/releng/issue/11348
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..7ec4b9a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,11 @@
+/include-what-you-use-3.4.src.tar.gz
+/include-what-you-use-3.5.src.tar.gz
+/include-what-you-use-0.4.src.tar.gz
+/include-what-you-use-98f3e62d371ae602061951115efc3b75ff255824.tar.gz
+/include-what-you-use-e1fc7722673fd665c105d0aaed1dab1aeefce8c1.tar.gz
+/include-what-you-use-f09b88aaa0b7bb88a7b36da2ba1cab233659df6e.tar.gz
+/include-what-you-use-136736fca90ad10e20b2ef728f0d52286e93ca46.tar.gz
+/iwyu-23253ec.tar.gz
+/include-what-you-use-953970c487b004050d44925bfcc5133be9fa0d7f.tar.gz
+/include-what-you-use-c6c4520c0b0a0ad2ba22218ef2aa3f0b81ecbc6f.tar.gz
+/include-what-you-use-576e80f7f37ce2daa59120c40f38735b3fbc7422.tar.gz
diff --git a/dead.package b/dead.package
deleted file mode 100644
index 9ca25d5..0000000
--- a/dead.package
+++ /dev/null
@@ -1 +0,0 @@
-iwyu fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1675163
diff --git a/iwyu.spec b/iwyu.spec
new file mode 100644
index 0000000..20b0717
--- /dev/null
+++ b/iwyu.spec
@@ -0,0 +1,158 @@
+%global longname include-what-you-use
+%global owner %{longname}
+%global commit 576e80f7f37ce2daa59120c40f38735b3fbc7422
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
+Name: iwyu
+Version: 0.9
+Release: 0.5.20171001git%{shortcommit}%{?dist}
+Summary: C/C++ source files #include analyzer based on clang
+
+License: NCSA
+URL: https://github.com/%{owner}/%{longname}
+Source0: https://github.com/%{owner}/%{longname}/archive/%{commit}.tar.gz#/%{longn...
+
+BuildRequires: cmake
+BuildRequires: clang-devel >= 4.0
+# NOTE: This should probably listed as a dependency for clang-devel but it's
+# not, so make it explicit here
+BuildRequires: llvm-devel
+# Some of the Clang libraries are only available statically and the use of the
+# static library was approved (see https://fedorahosted.org/fesco/ticket/1370 )
+BuildRequires: llvm-static
+BuildRequires: zlib-devel
+# Scripts are Python 2
+BuildRequires: python2-devel
+BuildRequires: ncurses-devel
+
+# Virtual provide the long name
+Provides: include-what-you-use = %{version}-%{release}
+Provides: include-what-you-use%{?_isa} = %{version}-%{release}
+
+# It isn't building on ARM, so just exclude it for now (see https://bugzilla.redhat.com/show_bug.cgi?id=1192713 )
+# Also, the tests use x86 assembly right now (see https://groups.google.com/forum/#!topic/include-what-you-use/lEuN5tr-0y0 )
+ExclusiveArch: %{ix86} x86_64
+
+
+%description
+"Include what you use" means this: for every symbol (type, function, variable,
+or macro) that you use in foo.cc (or foo.cpp), either foo.cc or foo.h
+should #include a .h file that exports the declaration of that symbol. The
+include-what-you-use tool is a program that can be built with the clang
+libraries in order to analyze #includes of source files to find
+include-what-you-use violations, and suggest fixes for them.
+
+
+%prep
+%autosetup -n %{longname}-%{commit}
+
+
+%build
+mkdir build
+cd build
+# NOTE: Have to specify both lib and include dir for it to work
+%cmake -DIWYU_LLVM_LIB_PATH=%{_libdir}/llvm -DIWYU_LLVM_INCLUDE_PATH=%{_includedir} ..
+%make_build
+
+
+%install
+%make_install -C build
+cd %{buildroot}%{_bindir}
+ln -s include-what-you-use iwyu
+ln -s fix_includes.py fix_includes
+ln -s iwyu_tool.py iwyu_tool
+
+
+%check
+# Need to have the clang header's at the correct relative path (see https://github.com/include-what-you-use/include-what-you-use/issues/100 )
+ln -s %{_libdir} %{_lib}
+cd build
+PATH=$PWD:$PATH
+ln -s ../fix_includes.py
+ln -s ../fix_includes_test.py
+ln -s ../iwyu_test_util.py
+ln -s ../run_iwyu_tests.py
+ln -s ../tests
+%{__python2} run_iwyu_tests.py
+%{__python2} fix_includes_test.py
+
+
+%files
+%{_bindir}/include-what-you-use
+%{_bindir}/iwyu
+%{_bindir}/fix_includes
+%{_bindir}/fix_includes.py
+%{_bindir}/iwyu_tool
+%{_bindir}/iwyu_tool.py
+%dir %{_datadir}/include-what-you-use
+%{_datadir}/include-what-you-use/*.imp
+
+%changelog
+* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.5.20171001git576e80f
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.4.20171001git576e80f
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.3.20171001git576e80f
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.2.20171001git576e80f
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Wed Oct 04 2017 Tom Stellard <tstellar(a)redhat.com> - 0.9-0.1.20171001git576e80f
+- Update to git snapshot that works with LLVM 5
+
+* Wed Aug 02 2017 Dave Johansen <davejohansen(a)gmail.com> - 0.8-4
+- Official 0.8/LLVM 4.0 release
+
+* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Sun Jul 02 2017 Dave Johansen <davejohansen(a)gmail.com> - 0.8-1
+- Use 0.8 to work with LLVM 4.0
+
+* Thu Mar 30 2017 Tom Stellard <tstellar(a)redhat.com> - 0.7-3.20130330git.23253ec
+- Update to git snapshot that works with LLVM4
+
+* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Mon Dec 05 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.7-1
+- Upstream release
+
+* Thu May 12 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-1
+- Upstream release
+
+* Wed Feb 24 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-0.2
+- Remove use of rand() in badinc test
+
+* Wed Feb 24 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-0.1
+- Test build against 3.8
+
+* Thu Feb 04 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.5-3
+- Changes for new llvm cmake build system
+
+* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Wed Sep 30 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.5-1
+- Upstream release
+
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.4-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Thu Jun 04 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.4-2
+- Added iwyu_tool
+
+* Mon Jun 01 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.4-1
+- Update to 0.4 based on clang 3.6.0
+
+* Tue Jan 27 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.3-1
+- Update to 0.3 based on clang 3.5.0
+
+* Fri Apr 25 2014 Dave Johansen <davejohansen(a)gmail.com> - 0.2-1
+- Initial RPM release
diff --git a/sources b/sources
new file mode 100644
index 0000000..f0ba466
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (include-what-you-use-576e80f7f37ce2daa59120c40f38735b3fbc7422.tar.gz) = 254f3f98aa40f2d7107d5cf06e6b783e8295d4c4b91751fcf0c998b16b1a330119b2c3e2d232e4c9083029b2c4ec5297c9ea0074e52726346385fb15f31c0e28
commit d1b9a4c378e557e91c7363b6900ad32ca84fb9df
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Thu Aug 8 13:55:20 2019 +0000
iwyu fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1675163
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 7ec4b9a..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,11 +0,0 @@
-/include-what-you-use-3.4.src.tar.gz
-/include-what-you-use-3.5.src.tar.gz
-/include-what-you-use-0.4.src.tar.gz
-/include-what-you-use-98f3e62d371ae602061951115efc3b75ff255824.tar.gz
-/include-what-you-use-e1fc7722673fd665c105d0aaed1dab1aeefce8c1.tar.gz
-/include-what-you-use-f09b88aaa0b7bb88a7b36da2ba1cab233659df6e.tar.gz
-/include-what-you-use-136736fca90ad10e20b2ef728f0d52286e93ca46.tar.gz
-/iwyu-23253ec.tar.gz
-/include-what-you-use-953970c487b004050d44925bfcc5133be9fa0d7f.tar.gz
-/include-what-you-use-c6c4520c0b0a0ad2ba22218ef2aa3f0b81ecbc6f.tar.gz
-/include-what-you-use-576e80f7f37ce2daa59120c40f38735b3fbc7422.tar.gz
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..9ca25d5
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+iwyu fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1675163
diff --git a/iwyu.spec b/iwyu.spec
deleted file mode 100644
index 20b0717..0000000
--- a/iwyu.spec
+++ /dev/null
@@ -1,158 +0,0 @@
-%global longname include-what-you-use
-%global owner %{longname}
-%global commit 576e80f7f37ce2daa59120c40f38735b3fbc7422
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
-Name: iwyu
-Version: 0.9
-Release: 0.5.20171001git%{shortcommit}%{?dist}
-Summary: C/C++ source files #include analyzer based on clang
-
-License: NCSA
-URL: https://github.com/%{owner}/%{longname}
-Source0: https://github.com/%{owner}/%{longname}/archive/%{commit}.tar.gz#/%{longn...
-
-BuildRequires: cmake
-BuildRequires: clang-devel >= 4.0
-# NOTE: This should probably listed as a dependency for clang-devel but it's
-# not, so make it explicit here
-BuildRequires: llvm-devel
-# Some of the Clang libraries are only available statically and the use of the
-# static library was approved (see https://fedorahosted.org/fesco/ticket/1370 )
-BuildRequires: llvm-static
-BuildRequires: zlib-devel
-# Scripts are Python 2
-BuildRequires: python2-devel
-BuildRequires: ncurses-devel
-
-# Virtual provide the long name
-Provides: include-what-you-use = %{version}-%{release}
-Provides: include-what-you-use%{?_isa} = %{version}-%{release}
-
-# It isn't building on ARM, so just exclude it for now (see https://bugzilla.redhat.com/show_bug.cgi?id=1192713 )
-# Also, the tests use x86 assembly right now (see https://groups.google.com/forum/#!topic/include-what-you-use/lEuN5tr-0y0 )
-ExclusiveArch: %{ix86} x86_64
-
-
-%description
-"Include what you use" means this: for every symbol (type, function, variable,
-or macro) that you use in foo.cc (or foo.cpp), either foo.cc or foo.h
-should #include a .h file that exports the declaration of that symbol. The
-include-what-you-use tool is a program that can be built with the clang
-libraries in order to analyze #includes of source files to find
-include-what-you-use violations, and suggest fixes for them.
-
-
-%prep
-%autosetup -n %{longname}-%{commit}
-
-
-%build
-mkdir build
-cd build
-# NOTE: Have to specify both lib and include dir for it to work
-%cmake -DIWYU_LLVM_LIB_PATH=%{_libdir}/llvm -DIWYU_LLVM_INCLUDE_PATH=%{_includedir} ..
-%make_build
-
-
-%install
-%make_install -C build
-cd %{buildroot}%{_bindir}
-ln -s include-what-you-use iwyu
-ln -s fix_includes.py fix_includes
-ln -s iwyu_tool.py iwyu_tool
-
-
-%check
-# Need to have the clang header's at the correct relative path (see https://github.com/include-what-you-use/include-what-you-use/issues/100 )
-ln -s %{_libdir} %{_lib}
-cd build
-PATH=$PWD:$PATH
-ln -s ../fix_includes.py
-ln -s ../fix_includes_test.py
-ln -s ../iwyu_test_util.py
-ln -s ../run_iwyu_tests.py
-ln -s ../tests
-%{__python2} run_iwyu_tests.py
-%{__python2} fix_includes_test.py
-
-
-%files
-%{_bindir}/include-what-you-use
-%{_bindir}/iwyu
-%{_bindir}/fix_includes
-%{_bindir}/fix_includes.py
-%{_bindir}/iwyu_tool
-%{_bindir}/iwyu_tool.py
-%dir %{_datadir}/include-what-you-use
-%{_datadir}/include-what-you-use/*.imp
-
-%changelog
-* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.5.20171001git576e80f
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.4.20171001git576e80f
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.3.20171001git576e80f
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.2.20171001git576e80f
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Wed Oct 04 2017 Tom Stellard <tstellar(a)redhat.com> - 0.9-0.1.20171001git576e80f
-- Update to git snapshot that works with LLVM 5
-
-* Wed Aug 02 2017 Dave Johansen <davejohansen(a)gmail.com> - 0.8-4
-- Official 0.8/LLVM 4.0 release
-
-* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
-
-* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Sun Jul 02 2017 Dave Johansen <davejohansen(a)gmail.com> - 0.8-1
-- Use 0.8 to work with LLVM 4.0
-
-* Thu Mar 30 2017 Tom Stellard <tstellar(a)redhat.com> - 0.7-3.20130330git.23253ec
-- Update to git snapshot that works with LLVM4
-
-* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Mon Dec 05 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.7-1
-- Upstream release
-
-* Thu May 12 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-1
-- Upstream release
-
-* Wed Feb 24 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-0.2
-- Remove use of rand() in badinc test
-
-* Wed Feb 24 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-0.1
-- Test build against 3.8
-
-* Thu Feb 04 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.5-3
-- Changes for new llvm cmake build system
-
-* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
-
-* Wed Sep 30 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.5-1
-- Upstream release
-
-* Wed Jun 17 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.4-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
-
-* Thu Jun 04 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.4-2
-- Added iwyu_tool
-
-* Mon Jun 01 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.4-1
-- Update to 0.4 based on clang 3.6.0
-
-* Tue Jan 27 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.3-1
-- Update to 0.3 based on clang 3.5.0
-
-* Fri Apr 25 2014 Dave Johansen <davejohansen(a)gmail.com> - 0.2-1
-- Initial RPM release
diff --git a/sources b/sources
deleted file mode 100644
index f0ba466..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (include-what-you-use-576e80f7f37ce2daa59120c40f38735b3fbc7422.tar.gz) = 254f3f98aa40f2d7107d5cf06e6b783e8295d4c4b91751fcf0c998b16b1a330119b2c3e2d232e4c9083029b2c4ec5297c9ea0074e52726346385fb15f31c0e28
commit e9102b24b0c40a3ff6f8d7e14b1df11b70ef54e1
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Thu Jul 25 09:49:52 2019 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/iwyu.spec b/iwyu.spec
index 2832368..20b0717 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -5,7 +5,7 @@
Name: iwyu
Version: 0.9
-Release: 0.4.20171001git%{shortcommit}%{?dist}
+Release: 0.5.20171001git%{shortcommit}%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -88,6 +88,9 @@ ln -s ../tests
%{_datadir}/include-what-you-use/*.imp
%changelog
+* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.5.20171001git576e80f
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.4.20171001git576e80f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
commit 84f95b416e6173436710ced8e36120d77f535dc3
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Feb 1 03:40:24 2019 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/iwyu.spec b/iwyu.spec
index 91b1e30..2832368 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -5,7 +5,7 @@
Name: iwyu
Version: 0.9
-Release: 0.3.20171001git%{shortcommit}%{?dist}
+Release: 0.4.20171001git%{shortcommit}%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -88,6 +88,9 @@ ln -s ../tests
%{_datadir}/include-what-you-use/*.imp
%changelog
+* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.4.20171001git576e80f
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.3.20171001git576e80f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
commit a4ab7ee8e05a72a560ad23828cdc40654c101ff5
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 13 05:55:33 2018 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/iwyu.spec b/iwyu.spec
index a6a3f1b..91b1e30 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -5,7 +5,7 @@
Name: iwyu
Version: 0.9
-Release: 0.2.20171001git%{shortcommit}%{?dist}
+Release: 0.3.20171001git%{shortcommit}%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -88,6 +88,9 @@ ln -s ../tests
%{_datadir}/include-what-you-use/*.imp
%changelog
+* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.3.20171001git576e80f
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.2.20171001git576e80f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit 9409116325a6eca391c794dcc0487b23cc474b0f
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 17:47:42 2018 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/iwyu.spec b/iwyu.spec
index d119dc5..a6a3f1b 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -5,7 +5,7 @@
Name: iwyu
Version: 0.9
-Release: 0.1.20171001git%{shortcommit}%{?dist}
+Release: 0.2.20171001git%{shortcommit}%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -88,6 +88,9 @@ ln -s ../tests
%{_datadir}/include-what-you-use/*.imp
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.2.20171001git576e80f
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Oct 04 2017 Tom Stellard <tstellar(a)redhat.com> - 0.9-0.1.20171001git576e80f
- Update to git snapshot that works with LLVM 5
commit 2f3668490637882c3428a9abd308372332704da6
Author: Tom Stellard <tstellar(a)redhat.com>
Date: Wed Oct 4 13:51:30 2017 +0000
Update to git snapshot that works with LLVM 5
diff --git a/.gitignore b/.gitignore
index 5682906..7ec4b9a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/iwyu-23253ec.tar.gz
/include-what-you-use-953970c487b004050d44925bfcc5133be9fa0d7f.tar.gz
/include-what-you-use-c6c4520c0b0a0ad2ba22218ef2aa3f0b81ecbc6f.tar.gz
+/include-what-you-use-576e80f7f37ce2daa59120c40f38735b3fbc7422.tar.gz
diff --git a/iwyu.spec b/iwyu.spec
index 80fdd75..d119dc5 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,11 +1,11 @@
%global longname include-what-you-use
%global owner %{longname}
-%global commit c6c4520c0b0a0ad2ba22218ef2aa3f0b81ecbc6f
+%global commit 576e80f7f37ce2daa59120c40f38735b3fbc7422
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: iwyu
-Version: 0.8
-Release: 4%{?dist}
+Version: 0.9
+Release: 0.1.20171001git%{shortcommit}%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -87,8 +87,10 @@ ln -s ../tests
%dir %{_datadir}/include-what-you-use
%{_datadir}/include-what-you-use/*.imp
-
%changelog
+* Wed Oct 04 2017 Tom Stellard <tstellar(a)redhat.com> - 0.9-0.1.20171001git576e80f
+- Update to git snapshot that works with LLVM 5
+
* Wed Aug 02 2017 Dave Johansen <davejohansen(a)gmail.com> - 0.8-4
- Official 0.8/LLVM 4.0 release
diff --git a/sources b/sources
index fdb8fb2..f0ba466 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (include-what-you-use-c6c4520c0b0a0ad2ba22218ef2aa3f0b81ecbc6f.tar.gz) = b75105317e791885be6052811a7410b25f6c4c3e0ca27759f26875aca8402b2fae4e5cb7b24557a58879dc154cf17e8d30e59d8952615928e76134ade73ee0c7
+SHA512 (include-what-you-use-576e80f7f37ce2daa59120c40f38735b3fbc7422.tar.gz) = 254f3f98aa40f2d7107d5cf06e6b783e8295d4c4b91751fcf0c998b16b1a330119b2c3e2d232e4c9083029b2c4ec5297c9ea0074e52726346385fb15f31c0e28
commit 03f1f10a5db907c3fe189d10372f3c6e939dffb7
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Sat Aug 5 07:40:06 2017 -0600
Update to official 0.8/clang 4.0 release
diff --git a/.gitignore b/.gitignore
index 0e9014e..5682906 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/include-what-you-use-136736fca90ad10e20b2ef728f0d52286e93ca46.tar.gz
/iwyu-23253ec.tar.gz
/include-what-you-use-953970c487b004050d44925bfcc5133be9fa0d7f.tar.gz
+/include-what-you-use-c6c4520c0b0a0ad2ba22218ef2aa3f0b81ecbc6f.tar.gz
diff --git a/iwyu.spec b/iwyu.spec
index 7134675..80fdd75 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,17 +1,16 @@
%global longname include-what-you-use
%global owner %{longname}
-%global commit 953970c487b004050d44925bfcc5133be9fa0d7f
+%global commit c6c4520c0b0a0ad2ba22218ef2aa3f0b81ecbc6f
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: iwyu
Version: 0.8
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
URL: https://github.com/%{owner}/%{longname}
Source0: https://github.com/%{owner}/%{longname}/archive/%{commit}.tar.gz#/%{longn...
-Patch0: iwyu_map_file_stdio.patch
BuildRequires: cmake
BuildRequires: clang-devel >= 4.0
@@ -90,6 +89,9 @@ ln -s ../tests
%changelog
+* Wed Aug 02 2017 Dave Johansen <davejohansen(a)gmail.com> - 0.8-4
+- Official 0.8/LLVM 4.0 release
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
diff --git a/iwyu_map_file_stdio.patch b/iwyu_map_file_stdio.patch
deleted file mode 100644
index 74a38be..0000000
--- a/iwyu_map_file_stdio.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 243a9ac5311de81041e599af1270cf4ade5e3430 Mon Sep 17 00:00:00 2001
-From: Kim Grasman <kim.grasman(a)gmail.com>
-Date: Mon, 26 Jun 2017 14:11:47 +0200
-Subject: [PATCH] Map FILE to <stdio.h>
-
-Newer glibc has FILE in a separate header.
-
-Fix for issue #447.
----
- gcc.symbols.imp | 1 +
- iwyu_include_picker.cc | 1 +
- 2 files changed, 2 insertions(+)
-
-diff --git a/gcc.symbols.imp b/gcc.symbols.imp
-index d3d3fa3..4ab9c57 100644
---- a/gcc.symbols.imp
-+++ b/gcc.symbols.imp
-@@ -104,6 +104,7 @@
- # add them in by hand as I discover them.
- { symbol: [ "EOF", private, "<stdio.h>", public ] },
- { symbol: [ "EOF", private, "<libio.h>", public ] },
-+ { symbol: [ "FILE", private, "<stdio.h>", public ] },
- { symbol: [ "va_list", private, "<stdarg.h>", public ] },
- # These are symbols that could be defined in either stdlib.h or
- # malloc.h, but we always want the stdlib location.
-diff --git a/iwyu_include_picker.cc b/iwyu_include_picker.cc
-index 2436076..840057f 100644
---- a/iwyu_include_picker.cc
-+++ b/iwyu_include_picker.cc
-@@ -186,6 +186,7 @@ const IncludeMapEntry libc_symbol_map[] = {
- // add them in by hand as I discover them.
- { "EOF", kPrivate, "<stdio.h>", kPublic },
- { "EOF", kPrivate, "<libio.h>", kPublic },
-+ { "FILE", kPrivate, "<stdio.h>", kPublic },
- { "va_list", kPrivate, "<stdarg.h>", kPublic },
- // These are symbols that could be defined in either stdlib.h or
- // malloc.h, but we always want the stdlib location.
diff --git a/sources b/sources
index e3f5928..fdb8fb2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (include-what-you-use-953970c487b004050d44925bfcc5133be9fa0d7f.tar.gz) = 5bb22e4aea1da533c1d6047068220a7c4cbfa82b86137679fa343a69cd014c072fd1b13d59c7b76f930c54246af243ee72926c070bc3228a970bd5190e08d1bf
+SHA512 (include-what-you-use-c6c4520c0b0a0ad2ba22218ef2aa3f0b81ecbc6f.tar.gz) = b75105317e791885be6052811a7410b25f6c4c3e0ca27759f26875aca8402b2fae4e5cb7b24557a58879dc154cf17e8d30e59d8952615928e76134ade73ee0c7
commit cc4e70ef87cf9005b3d55f9e6c7cb03d2bd809e3
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Aug 2 23:55:28 2017 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
diff --git a/iwyu.spec b/iwyu.spec
index 3a1b83f..7134675 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -5,7 +5,7 @@
Name: iwyu
Version: 0.8
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -90,6 +90,9 @@ ln -s ../tests
%changelog
+* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
commit 94ea3c53dbf9694d8af173873e1795ac9a33a9af
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Jul 26 13:49:04 2017 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
diff --git a/iwyu.spec b/iwyu.spec
index 84ffc62..3a1b83f 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -5,7 +5,7 @@
Name: iwyu
Version: 0.8
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -90,6 +90,9 @@ ln -s ../tests
%changelog
+* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
* Sun Jul 02 2017 Dave Johansen <davejohansen(a)gmail.com> - 0.8-1
- Use 0.8 to work with LLVM 4.0
commit 673fc4a63cdd3f96acf0acdff2940661fc1e10c7
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Sun Jul 2 21:35:34 2017 -0600
Use 0.8 to work with LLVM 4.0
diff --git a/.gitignore b/.gitignore
index aeadc74..0e9014e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
/include-what-you-use-f09b88aaa0b7bb88a7b36da2ba1cab233659df6e.tar.gz
/include-what-you-use-136736fca90ad10e20b2ef728f0d52286e93ca46.tar.gz
/iwyu-23253ec.tar.gz
+/include-what-you-use-953970c487b004050d44925bfcc5133be9fa0d7f.tar.gz
diff --git a/iwyu.spec b/iwyu.spec
index fb409fe..84ffc62 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,19 +1,20 @@
%global longname include-what-you-use
%global owner %{longname}
-%global commit 23253ec2e8c6b84a9b1a45329b7a1c1a81233fd8
+%global commit 953970c487b004050d44925bfcc5133be9fa0d7f
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: iwyu
-Version: 0.7
-Release: 3.20130330git.%{shortcommit}%{?dist}
+Version: 0.8
+Release: 1%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
-URL: https://github.com/include-what-you-use/include-what-you-use
-Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
+URL: https://github.com/%{owner}/%{longname}
+Source0: https://github.com/%{owner}/%{longname}/archive/%{commit}.tar.gz#/%{longn...
+Patch0: iwyu_map_file_stdio.patch
BuildRequires: cmake
-BuildRequires: clang-devel >= 3.8
+BuildRequires: clang-devel >= 4.0
# NOTE: This should probably listed as a dependency for clang-devel but it's
# not, so make it explicit here
BuildRequires: llvm-devel
@@ -89,6 +90,9 @@ ln -s ../tests
%changelog
+* Sun Jul 02 2017 Dave Johansen <davejohansen(a)gmail.com> - 0.8-1
+- Use 0.8 to work with LLVM 4.0
+
* Thu Mar 30 2017 Tom Stellard <tstellar(a)redhat.com> - 0.7-3.20130330git.23253ec
- Update to git snapshot that works with LLVM4
diff --git a/iwyu_map_file_stdio.patch b/iwyu_map_file_stdio.patch
new file mode 100644
index 0000000..74a38be
--- /dev/null
+++ b/iwyu_map_file_stdio.patch
@@ -0,0 +1,37 @@
+From 243a9ac5311de81041e599af1270cf4ade5e3430 Mon Sep 17 00:00:00 2001
+From: Kim Grasman <kim.grasman(a)gmail.com>
+Date: Mon, 26 Jun 2017 14:11:47 +0200
+Subject: [PATCH] Map FILE to <stdio.h>
+
+Newer glibc has FILE in a separate header.
+
+Fix for issue #447.
+---
+ gcc.symbols.imp | 1 +
+ iwyu_include_picker.cc | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/gcc.symbols.imp b/gcc.symbols.imp
+index d3d3fa3..4ab9c57 100644
+--- a/gcc.symbols.imp
++++ b/gcc.symbols.imp
+@@ -104,6 +104,7 @@
+ # add them in by hand as I discover them.
+ { symbol: [ "EOF", private, "<stdio.h>", public ] },
+ { symbol: [ "EOF", private, "<libio.h>", public ] },
++ { symbol: [ "FILE", private, "<stdio.h>", public ] },
+ { symbol: [ "va_list", private, "<stdarg.h>", public ] },
+ # These are symbols that could be defined in either stdlib.h or
+ # malloc.h, but we always want the stdlib location.
+diff --git a/iwyu_include_picker.cc b/iwyu_include_picker.cc
+index 2436076..840057f 100644
+--- a/iwyu_include_picker.cc
++++ b/iwyu_include_picker.cc
+@@ -186,6 +186,7 @@ const IncludeMapEntry libc_symbol_map[] = {
+ // add them in by hand as I discover them.
+ { "EOF", kPrivate, "<stdio.h>", kPublic },
+ { "EOF", kPrivate, "<libio.h>", kPublic },
++ { "FILE", kPrivate, "<stdio.h>", kPublic },
+ { "va_list", kPrivate, "<stdarg.h>", kPublic },
+ // These are symbols that could be defined in either stdlib.h or
+ // malloc.h, but we always want the stdlib location.
diff --git a/sources b/sources
index 32ed332..e3f5928 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (iwyu-23253ec.tar.gz) = 3df66c2c2cfabcc418b2a943faa0f8bdd32bb6dfc1c90b7117b87ca9a3b5521dcb9e55abc4ca8c4a8b69444f18097aa1659e986c5d0d9762f4afea6234dcfd6d
+SHA512 (include-what-you-use-953970c487b004050d44925bfcc5133be9fa0d7f.tar.gz) = 5bb22e4aea1da533c1d6047068220a7c4cbfa82b86137679fa343a69cd014c072fd1b13d59c7b76f930c54246af243ee72926c070bc3228a970bd5190e08d1bf
commit 5a1ec4449af93e890c3cd0f700e7f396c117ebe4
Author: Tom Stellard <tstellar(a)redhat.com>
Date: Thu Mar 30 16:53:08 2017 +0200
Update to git snapshot that works with LLVM4
Signed-off-by: Igor Gnatenko <ignatenko(a)redhat.com>
diff --git a/.gitignore b/.gitignore
index ad01ef2..aeadc74 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/include-what-you-use-e1fc7722673fd665c105d0aaed1dab1aeefce8c1.tar.gz
/include-what-you-use-f09b88aaa0b7bb88a7b36da2ba1cab233659df6e.tar.gz
/include-what-you-use-136736fca90ad10e20b2ef728f0d52286e93ca46.tar.gz
+/iwyu-23253ec.tar.gz
diff --git a/iwyu.spec b/iwyu.spec
index 3934b12..fb409fe 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,15 +1,16 @@
%global longname include-what-you-use
%global owner %{longname}
-%global commit0 136736fca90ad10e20b2ef728f0d52286e93ca46
+%global commit 23253ec2e8c6b84a9b1a45329b7a1c1a81233fd8
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: iwyu
Version: 0.7
-Release: 2%{?dist}
+Release: 3.20130330git.%{shortcommit}%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
-URL: https://github.com/%{owner}/%{longname}
-Source0: https://github.com/%{owner}/%{longname}/archive/%{commit0}.tar.gz#/%{long...
+URL: https://github.com/include-what-you-use/include-what-you-use
+Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
BuildRequires: cmake
BuildRequires: clang-devel >= 3.8
@@ -43,7 +44,7 @@ include-what-you-use violations, and suggest fixes for them.
%prep
-%setup -q -n %{longname}-%{commit0}
+%autosetup -n %{longname}-%{commit}
%build
@@ -51,11 +52,11 @@ mkdir build
cd build
# NOTE: Have to specify both lib and include dir for it to work
%cmake -DIWYU_LLVM_LIB_PATH=%{_libdir}/llvm -DIWYU_LLVM_INCLUDE_PATH=%{_includedir} ..
-make %{?_smp_mflags}
+%make_build
%install
-%make_install DESTDIR=%{buildroot} -C build
+%make_install -C build
cd %{buildroot}%{_bindir}
ln -s include-what-you-use iwyu
ln -s fix_includes.py fix_includes
@@ -83,10 +84,14 @@ ln -s ../tests
%{_bindir}/fix_includes.py
%{_bindir}/iwyu_tool
%{_bindir}/iwyu_tool.py
+%dir %{_datadir}/include-what-you-use
%{_datadir}/include-what-you-use/*.imp
%changelog
+* Thu Mar 30 2017 Tom Stellard <tstellar(a)redhat.com> - 0.7-3.20130330git.23253ec
+- Update to git snapshot that works with LLVM4
+
* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
diff --git a/sources b/sources
index c2fd5d5..32ed332 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ffa20d581f66f6e28c67dd62be18c8bd include-what-you-use-136736fca90ad10e20b2ef728f0d52286e93ca46.tar.gz
+SHA512 (iwyu-23253ec.tar.gz) = 3df66c2c2cfabcc418b2a943faa0f8bdd32bb6dfc1c90b7117b87ca9a3b5521dcb9e55abc4ca8c4a8b69444f18097aa1659e986c5d0d9762f4afea6234dcfd6d
commit e5bcb152f776589638bb9915635884964dc1f906
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Feb 10 16:38:39 2017 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
diff --git a/iwyu.spec b/iwyu.spec
index 9ffe012..3934b12 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -4,7 +4,7 @@
Name: iwyu
Version: 0.7
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -87,6 +87,9 @@ ln -s ../tests
%changelog
+* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
* Mon Dec 05 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.7-1
- Upstream release
commit 8b9cf2d5cc7b2901ac4560a75738a1b714585eee
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Mon Dec 5 21:01:13 2016 -0700
Update to 0.7
diff --git a/.gitignore b/.gitignore
index 0e484bd..ad01ef2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/include-what-you-use-98f3e62d371ae602061951115efc3b75ff255824.tar.gz
/include-what-you-use-e1fc7722673fd665c105d0aaed1dab1aeefce8c1.tar.gz
/include-what-you-use-f09b88aaa0b7bb88a7b36da2ba1cab233659df6e.tar.gz
+/include-what-you-use-136736fca90ad10e20b2ef728f0d52286e93ca46.tar.gz
diff --git a/iwyu.spec b/iwyu.spec
index d4d82f0..9ffe012 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,9 +1,9 @@
%global longname include-what-you-use
%global owner %{longname}
-%global commit0 f09b88aaa0b7bb88a7b36da2ba1cab233659df6e
+%global commit0 136736fca90ad10e20b2ef728f0d52286e93ca46
Name: iwyu
-Version: 0.6
+Version: 0.7
Release: 1%{?dist}
Summary: C/C++ source files #include analyzer based on clang
@@ -83,9 +83,13 @@ ln -s ../tests
%{_bindir}/fix_includes.py
%{_bindir}/iwyu_tool
%{_bindir}/iwyu_tool.py
+%{_datadir}/include-what-you-use/*.imp
%changelog
+* Mon Dec 05 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.7-1
+- Upstream release
+
* Thu May 12 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-1
- Upstream release
diff --git a/sources b/sources
index 0e755be..c2fd5d5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-cdd101f903b40488d43375f64dc9c99f include-what-you-use-f09b88aaa0b7bb88a7b36da2ba1cab233659df6e.tar.gz
+ffa20d581f66f6e28c67dd62be18c8bd include-what-you-use-136736fca90ad10e20b2ef728f0d52286e93ca46.tar.gz
commit 35c9839ca796491521200a98225df31a87e76011
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Thu May 12 18:27:27 2016 -0700
Upstream release of 0.6
diff --git a/.gitignore b/.gitignore
index 9ba5e14..0e484bd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/include-what-you-use-0.4.src.tar.gz
/include-what-you-use-98f3e62d371ae602061951115efc3b75ff255824.tar.gz
/include-what-you-use-e1fc7722673fd665c105d0aaed1dab1aeefce8c1.tar.gz
+/include-what-you-use-f09b88aaa0b7bb88a7b36da2ba1cab233659df6e.tar.gz
diff --git a/iwyu.spec b/iwyu.spec
index e2beed5..d4d82f0 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,16 +1,15 @@
%global longname include-what-you-use
%global owner %{longname}
-%global commit0 e1fc7722673fd665c105d0aaed1dab1aeefce8c1
+%global commit0 f09b88aaa0b7bb88a7b36da2ba1cab233659df6e
Name: iwyu
Version: 0.6
-Release: 0.2%{?dist}
+Release: 1%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
URL: https://github.com/%{owner}/%{longname}
Source0: https://github.com/%{owner}/%{longname}/archive/%{commit0}.tar.gz#/%{long...
-Patch0: iwyu_badinc_norand.patch
BuildRequires: cmake
BuildRequires: clang-devel >= 3.8
@@ -45,7 +44,6 @@ include-what-you-use violations, and suggest fixes for them.
%prep
%setup -q -n %{longname}-%{commit0}
-%patch0 -p1
%build
@@ -88,6 +86,9 @@ ln -s ../tests
%changelog
+* Thu May 12 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-1
+- Upstream release
+
* Wed Feb 24 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-0.2
- Remove use of rand() in badinc test
diff --git a/iwyu_badinc_norand.patch b/iwyu_badinc_norand.patch
deleted file mode 100644
index 482ab79..0000000
--- a/iwyu_badinc_norand.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From f6386d3d0e50dd124d34064c7b32eea6569b35eb Mon Sep 17 00:00:00 2001
-From: Kim Grasman <kim.grasman(a)gmail.com>
-Date: Tue, 23 Feb 2016 20:36:53 +0100
-Subject: [PATCH] Remove test dependency on <stdlib.h>
-
----
- tests/cxx/badinc.cc | 7 ++-----
- 1 file changed, 2 insertions(+), 5 deletions(-)
-
-diff --git a/tests/cxx/badinc.cc b/tests/cxx/badinc.cc
-index ce0b21a..de3fb18 100644
---- a/tests/cxx/badinc.cc
-+++ b/tests/cxx/badinc.cc
-@@ -1066,7 +1066,7 @@ class CC_TemplateClass {
- typedef I1_TemplateClass<A> i1_typedef;
-
- // Let's throw in per-class operator new/delete.
-- // IWYU: size_t is...*((<stddef.h>)|(stdio.h)|(stdlib.h)|(string.h)|(time.h)|(wchar.h))
-+ // IWYU: size_t is...*((<stddef.h>)|(stdio.h)|(string.h)|(time.h)|(wchar.h))
- void* operator new(size_t size) {
- B b;
- (void)b;
-@@ -1944,8 +1944,7 @@ int main() {
- int i2_macro_var = kI1ConstInt;
- #endif
-
-- // IWYU: rand is...*<stdlib.h>
-- return rand(); // use a function from stdlib.h
-+ return 0;
- }
-
- // TODO(csilvers): the delete of <locale> should be line 56, not 35
-@@ -1961,7 +1960,6 @@ tests/cxx/badinc.cc should add these lines:
- #include <ctype.h>
- #include <stdarg.h>
- #include <stddef.h>
--#include <stdlib.h>
- #include <list>
- #include <new>
- #include "tests/cxx/badinc-i1.h"
-@@ -1993,7 +1991,6 @@ The full include-list for tests/cxx/badinc.cc:
- #include <setjmp.h>
- #include <stdarg.h> // for va_list
- #include <stddef.h> // for offsetof
--#include <stdlib.h> // for rand
- #include <algorithm> // for find
- #include <fstream> // for fstream
- #include <list> // for list
diff --git a/sources b/sources
index 50601f3..0e755be 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-35c30f5ce910956e77639a5fe1a61d66 include-what-you-use-e1fc7722673fd665c105d0aaed1dab1aeefce8c1.tar.gz
+cdd101f903b40488d43375f64dc9c99f include-what-you-use-f09b88aaa0b7bb88a7b36da2ba1cab233659df6e.tar.gz
commit 4290eda6233b8a4187c270384d36a29d18e2e573
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Thu Feb 25 06:53:58 2016 -0700
Forgot to upload the source
diff --git a/.gitignore b/.gitignore
index 4cb8311..9ba5e14 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/include-what-you-use-3.5.src.tar.gz
/include-what-you-use-0.4.src.tar.gz
/include-what-you-use-98f3e62d371ae602061951115efc3b75ff255824.tar.gz
+/include-what-you-use-e1fc7722673fd665c105d0aaed1dab1aeefce8c1.tar.gz
diff --git a/sources b/sources
index 159c6cc..50601f3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6107250cd8614027b698900812d42b7e include-what-you-use-98f3e62d371ae602061951115efc3b75ff255824.tar.gz
+35c30f5ce910956e77639a5fe1a61d66 include-what-you-use-e1fc7722673fd665c105d0aaed1dab1aeefce8c1.tar.gz
commit db406ebedba5111c963a6356fa20cd14b7cbbb61
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Wed Feb 24 09:02:33 2016 -0700
Removing used of rand() in badinc test so tests will pass with gcc/glibc update
diff --git a/iwyu.spec b/iwyu.spec
index 616f8a0..e2beed5 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -4,12 +4,13 @@
Name: iwyu
Version: 0.6
-Release: 0.1%{?dist}
+Release: 0.2%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
URL: https://github.com/%{owner}/%{longname}
Source0: https://github.com/%{owner}/%{longname}/archive/%{commit0}.tar.gz#/%{long...
+Patch0: iwyu_badinc_norand.patch
BuildRequires: cmake
BuildRequires: clang-devel >= 3.8
@@ -44,6 +45,7 @@ include-what-you-use violations, and suggest fixes for them.
%prep
%setup -q -n %{longname}-%{commit0}
+%patch0 -p1
%build
@@ -86,6 +88,9 @@ ln -s ../tests
%changelog
+* Wed Feb 24 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-0.2
+- Remove use of rand() in badinc test
+
* Wed Feb 24 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-0.1
- Test build against 3.8
diff --git a/iwyu_badinc_norand.patch b/iwyu_badinc_norand.patch
new file mode 100644
index 0000000..482ab79
--- /dev/null
+++ b/iwyu_badinc_norand.patch
@@ -0,0 +1,48 @@
+From f6386d3d0e50dd124d34064c7b32eea6569b35eb Mon Sep 17 00:00:00 2001
+From: Kim Grasman <kim.grasman(a)gmail.com>
+Date: Tue, 23 Feb 2016 20:36:53 +0100
+Subject: [PATCH] Remove test dependency on <stdlib.h>
+
+---
+ tests/cxx/badinc.cc | 7 ++-----
+ 1 file changed, 2 insertions(+), 5 deletions(-)
+
+diff --git a/tests/cxx/badinc.cc b/tests/cxx/badinc.cc
+index ce0b21a..de3fb18 100644
+--- a/tests/cxx/badinc.cc
++++ b/tests/cxx/badinc.cc
+@@ -1066,7 +1066,7 @@ class CC_TemplateClass {
+ typedef I1_TemplateClass<A> i1_typedef;
+
+ // Let's throw in per-class operator new/delete.
+- // IWYU: size_t is...*((<stddef.h>)|(stdio.h)|(stdlib.h)|(string.h)|(time.h)|(wchar.h))
++ // IWYU: size_t is...*((<stddef.h>)|(stdio.h)|(string.h)|(time.h)|(wchar.h))
+ void* operator new(size_t size) {
+ B b;
+ (void)b;
+@@ -1944,8 +1944,7 @@ int main() {
+ int i2_macro_var = kI1ConstInt;
+ #endif
+
+- // IWYU: rand is...*<stdlib.h>
+- return rand(); // use a function from stdlib.h
++ return 0;
+ }
+
+ // TODO(csilvers): the delete of <locale> should be line 56, not 35
+@@ -1961,7 +1960,6 @@ tests/cxx/badinc.cc should add these lines:
+ #include <ctype.h>
+ #include <stdarg.h>
+ #include <stddef.h>
+-#include <stdlib.h>
+ #include <list>
+ #include <new>
+ #include "tests/cxx/badinc-i1.h"
+@@ -1993,7 +1991,6 @@ The full include-list for tests/cxx/badinc.cc:
+ #include <setjmp.h>
+ #include <stdarg.h> // for va_list
+ #include <stddef.h> // for offsetof
+-#include <stdlib.h> // for rand
+ #include <algorithm> // for find
+ #include <fstream> // for fstream
+ #include <list> // for list
commit 97127951980471f0e676d44408043e4262564363
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Wed Feb 24 08:51:47 2016 -0700
Using trunk to build since llvm was updated to 3.8
diff --git a/iwyu.spec b/iwyu.spec
index 3a96d94..616f8a0 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,10 +1,10 @@
%global longname include-what-you-use
%global owner %{longname}
-%global commit0 98f3e62d371ae602061951115efc3b75ff255824
+%global commit0 e1fc7722673fd665c105d0aaed1dab1aeefce8c1
Name: iwyu
-Version: 0.5
-Release: 3%{?dist}
+Version: 0.6
+Release: 0.1%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -12,7 +12,7 @@ URL: https://github.com/%{owner}/%{longname}
Source0: https://github.com/%{owner}/%{longname}/archive/%{commit0}.tar.gz#/%{long...
BuildRequires: cmake
-BuildRequires: clang-devel >= 3.7
+BuildRequires: clang-devel >= 3.8
# NOTE: This should probably listed as a dependency for clang-devel but it's
# not, so make it explicit here
BuildRequires: llvm-devel
@@ -86,6 +86,9 @@ ln -s ../tests
%changelog
+* Wed Feb 24 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-0.1
+- Test build against 3.8
+
* Thu Feb 04 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.5-3
- Changes for new llvm cmake build system
commit ae023bcfffe81cfbceae80a383d81c14749b0259
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Wed Feb 24 08:50:19 2016 -0700
Building against llvm-static again because of the changes made to llvm's use of cmake
diff --git a/iwyu.spec b/iwyu.spec
index 5bee715..3a96d94 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -16,6 +16,9 @@ BuildRequires: clang-devel >= 3.7
# NOTE: This should probably listed as a dependency for clang-devel but it's
# not, so make it explicit here
BuildRequires: llvm-devel
+# Some of the Clang libraries are only available statically and the use of the
+# static library was approved (see https://fedorahosted.org/fesco/ticket/1370 )
+BuildRequires: llvm-static
BuildRequires: zlib-devel
# Scripts are Python 2
BuildRequires: python2-devel
commit 14ddafb7dbae0fadf94664bd43e1b38dbd6d41a3
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Thu Feb 4 18:33:58 2016 -0700
Changes for new llvm cmake build system
diff --git a/iwyu.spec b/iwyu.spec
index 59abc8a..5bee715 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -4,7 +4,7 @@
Name: iwyu
Version: 0.5
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -16,9 +16,6 @@ BuildRequires: clang-devel >= 3.7
# NOTE: This should probably listed as a dependency for clang-devel but it's
# not, so make it explicit here
BuildRequires: llvm-devel
-# Some of the Clang libraries are only available statically and the use of the
-# static library was approved (see https://fedorahosted.org/fesco/ticket/1370 )
-BuildRequires: llvm-static
BuildRequires: zlib-devel
# Scripts are Python 2
BuildRequires: python2-devel
@@ -64,7 +61,7 @@ ln -s iwyu_tool.py iwyu_tool
%check
# Need to have the clang header's at the correct relative path (see https://github.com/include-what-you-use/include-what-you-use/issues/100 )
-ln -s /usr/lib lib
+ln -s %{_libdir} %{_lib}
cd build
PATH=$PWD:$PATH
ln -s ../fix_includes.py
@@ -86,6 +83,9 @@ ln -s ../tests
%changelog
+* Thu Feb 04 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.5-3
+- Changes for new llvm cmake build system
+
* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
commit 92b867196b7be3fdb83389d2e11d5d3030a5cb68
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Thu Feb 4 00:44:05 2016 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
diff --git a/iwyu.spec b/iwyu.spec
index baa3732..59abc8a 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -4,7 +4,7 @@
Name: iwyu
Version: 0.5
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -86,6 +86,9 @@ ln -s ../tests
%changelog
+* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
* Wed Sep 30 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.5-1
- Upstream release
commit b101d83a8eaa15e494cb8eb4c6295680ede4217e
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Sat Jan 23 20:38:21 2016 -0700
Adding BuildRequires for ncurses-devel
diff --git a/iwyu.spec b/iwyu.spec
index f129984..baa3732 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -22,6 +22,7 @@ BuildRequires: llvm-static
BuildRequires: zlib-devel
# Scripts are Python 2
BuildRequires: python2-devel
+BuildRequires: ncurses-devel
# Virtual provide the long name
Provides: include-what-you-use = %{version}-%{release}
commit d3da081466b844c86d0a522bc80ad4bf63db5bab
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Sat Jan 23 14:41:39 2016 -0700
Simplifying the symlinking to the clang system headers
diff --git a/iwyu.spec b/iwyu.spec
index e0a05e5..f129984 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -63,9 +63,7 @@ ln -s iwyu_tool.py iwyu_tool
%check
# Need to have the clang header's at the correct relative path (see https://github.com/include-what-you-use/include-what-you-use/issues/100 )
-%global clang_version %(ls -t /usr/lib/clang/ | head -n 1 || echo "666")
-mkdir -p lib/clang/%{clang_version}/
-ln -s /usr/lib/clang/%{clang_version}/include lib/clang/%{clang_version}
+ln -s /usr/lib lib
cd build
PATH=$PWD:$PATH
ln -s ../fix_includes.py
commit 1c9f706820ffaacb73a77440cf82e71372ea0978
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Thu Dec 10 20:09:32 2015 -0700
Updating to 0.5 (for clang 3.7)
diff --git a/.gitignore b/.gitignore
index 3d6b510..4cb8311 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/include-what-you-use-3.4.src.tar.gz
/include-what-you-use-3.5.src.tar.gz
/include-what-you-use-0.4.src.tar.gz
+/include-what-you-use-98f3e62d371ae602061951115efc3b75ff255824.tar.gz
diff --git a/iwyu.spec b/iwyu.spec
index 88daa8a..e0a05e5 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,10 +1,10 @@
%global longname include-what-you-use
%global owner %{longname}
-%global commit0 a18b71320eaa6ca620558b87e0503cd2895efbcc
+%global commit0 98f3e62d371ae602061951115efc3b75ff255824
Name: iwyu
-Version: 0.4
-Release: 3%{?dist}
+Version: 0.5
+Release: 1%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -12,7 +12,7 @@ URL: https://github.com/%{owner}/%{longname}
Source0: https://github.com/%{owner}/%{longname}/archive/%{commit0}.tar.gz#/%{long...
BuildRequires: cmake
-BuildRequires: clang-devel >= 3.6
+BuildRequires: clang-devel >= 3.7
# NOTE: This should probably listed as a dependency for clang-devel but it's
# not, so make it explicit here
BuildRequires: llvm-devel
@@ -55,13 +55,17 @@ make %{?_smp_mflags}
%install
%make_install DESTDIR=%{buildroot} -C build
-install -pDm755 fix_includes.py %{buildroot}%{_bindir}/fix_includes
-install -pDm755 iwyu_tool.py %{buildroot}%{_bindir}/iwyu_tool
cd %{buildroot}%{_bindir}
ln -s include-what-you-use iwyu
+ln -s fix_includes.py fix_includes
+ln -s iwyu_tool.py iwyu_tool
%check
+# Need to have the clang header's at the correct relative path (see https://github.com/include-what-you-use/include-what-you-use/issues/100 )
+%global clang_version %(ls -t /usr/lib/clang/ | head -n 1 || echo "666")
+mkdir -p lib/clang/%{clang_version}/
+ln -s /usr/lib/clang/%{clang_version}/include lib/clang/%{clang_version}
cd build
PATH=$PWD:$PATH
ln -s ../fix_includes.py
@@ -77,10 +81,15 @@ ln -s ../tests
%{_bindir}/include-what-you-use
%{_bindir}/iwyu
%{_bindir}/fix_includes
+%{_bindir}/fix_includes.py
%{_bindir}/iwyu_tool
+%{_bindir}/iwyu_tool.py
%changelog
+* Wed Sep 30 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.5-1
+- Upstream release
+
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
diff --git a/sources b/sources
index 87b64e9..159c6cc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0140dcc30f5b4117381fb6f5948bee6f include-what-you-use-0.4.src.tar.gz
+6107250cd8614027b698900812d42b7e include-what-you-use-98f3e62d371ae602061951115efc3b75ff255824.tar.gz
commit e9c0f036a9952f2e1936c30bb1c57c66e85daf26
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Thu Dec 10 19:57:51 2015 -0700
Moving things over to github
diff --git a/iwyu.spec b/iwyu.spec
index cdc67fb..88daa8a 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,11 +1,15 @@
+%global longname include-what-you-use
+%global owner %{longname}
+%global commit0 a18b71320eaa6ca620558b87e0503cd2895efbcc
+
Name: iwyu
Version: 0.4
Release: 3%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
-URL: https://code.google.com/p/include-what-you-use/
-Source0: http://include-what-you-use.org/downloads/include-what-you-use-%{version}...
+URL: https://github.com/%{owner}/%{longname}
+Source0: https://github.com/%{owner}/%{longname}/archive/%{commit0}.tar.gz#/%{long...
BuildRequires: cmake
BuildRequires: clang-devel >= 3.6
@@ -38,7 +42,7 @@ include-what-you-use violations, and suggest fixes for them.
%prep
-%setup -q -n include-what-you-use
+%setup -q -n %{longname}-%{commit0}
%build
commit b1924804c8601c502cb41f4035823b680905b2af
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Wed Jun 17 11:40:29 2015 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
diff --git a/iwyu.spec b/iwyu.spec
index e8c8401..cdc67fb 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,6 +1,6 @@
Name: iwyu
Version: 0.4
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -77,6 +77,9 @@ ln -s ../tests
%changelog
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.4-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
* Thu Jun 04 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.4-2
- Added iwyu_tool
commit f2cfbc8863b0409c0f2fdbe738aaa231ef937b09
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Thu Jun 4 19:34:44 2015 -0700
Added iwyu_tool
diff --git a/iwyu.spec b/iwyu.spec
index 396c84d..e8c8401 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,6 +1,6 @@
Name: iwyu
Version: 0.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -52,6 +52,7 @@ make %{?_smp_mflags}
%install
%make_install DESTDIR=%{buildroot} -C build
install -pDm755 fix_includes.py %{buildroot}%{_bindir}/fix_includes
+install -pDm755 iwyu_tool.py %{buildroot}%{_bindir}/iwyu_tool
cd %{buildroot}%{_bindir}
ln -s include-what-you-use iwyu
@@ -72,9 +73,13 @@ ln -s ../tests
%{_bindir}/include-what-you-use
%{_bindir}/iwyu
%{_bindir}/fix_includes
+%{_bindir}/iwyu_tool
%changelog
+* Thu Jun 04 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.4-2
+- Added iwyu_tool
+
* Mon Jun 01 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.4-1
- Update to 0.4 based on clang 3.6.0
commit ab8c3b65674a4b3cb46fa122bc53c3d9bfba4894
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Thu Jun 4 19:33:46 2015 -0700
Fixing Source0 URL
diff --git a/iwyu.spec b/iwyu.spec
index 1e98d9e..396c84d 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -5,7 +5,7 @@ Summary: C/C++ source files #include analyzer based on clang
License: NCSA
URL: https://code.google.com/p/include-what-you-use/
-Source0: http://include-what-you-use.com/downloads/include-what-you-use-%{version}...
+Source0: http://include-what-you-use.org/downloads/include-what-you-use-%{version}...
BuildRequires: cmake
BuildRequires: clang-devel >= 3.6
commit 9d23be13c38c1cb49aa8d5aaecfa0c6cd79ae28e
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Thu Jun 4 19:32:05 2015 -0700
Removing patch that's no longer used
diff --git a/iwyu-link_dir.patch b/iwyu-link_dir.patch
deleted file mode 100644
index 4e495a4..0000000
--- a/iwyu-link_dir.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -5,12 +5,11 @@
- if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
- message(STATUS "IWYU out-of-tree configuration")
-
-- if( NOT DEFINED LLVM_PATH )
-- message(FATAL_ERROR "LLVM_PATH must be provided using -DLLVM_PATH=<path to llvm package root>")
-+ if( NOT DEFINED LLVM_LIB_PATH )
-+ message(FATAL_ERROR "LLVM_LIB_PATH must be provided using -DLLVM_LIB_PATH=<path to llvm package root>")
- endif()
-
-- link_directories(${LLVM_PATH}/lib)
-- include_directories(${LLVM_PATH}/include)
-+ link_directories(${LLVM_LIB_PATH})
-
- add_definitions(
- -D__STDC_LIMIT_MACROS
commit 72ccb5880e99e0ffcd72d2a9835069604f97b1ef
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Tue Jun 2 19:18:04 2015 -0700
Putting back the ExclusiveArch that was accidentally removed during the update to 0.4
diff --git a/iwyu.spec b/iwyu.spec
index 3ac4766..1e98d9e 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -23,6 +23,10 @@ BuildRequires: python2-devel
Provides: include-what-you-use = %{version}-%{release}
Provides: include-what-you-use%{?_isa} = %{version}-%{release}
+# It isn't building on ARM, so just exclude it for now (see https://bugzilla.redhat.com/show_bug.cgi?id=1192713 )
+# Also, the tests use x86 assembly right now (see https://groups.google.com/forum/#!topic/include-what-you-use/lEuN5tr-0y0 )
+ExclusiveArch: %{ix86} x86_64
+
%description
"Include what you use" means this: for every symbol (type, function, variable,
commit faddf85af84eec90c0539974c3695cffb4f73308
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Mon Jun 1 22:09:06 2015 -0700
Adding source tarball
diff --git a/.gitignore b/.gitignore
index 5f0bab2..3d6b510 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/include-what-you-use-3.4.src.tar.gz
/include-what-you-use-3.5.src.tar.gz
+/include-what-you-use-0.4.src.tar.gz
diff --git a/sources b/sources
index 2f8cfa9..87b64e9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-27e8a18a91b45df8b99eb78057f2bba5 include-what-you-use-3.5.src.tar.gz
+0140dcc30f5b4117381fb6f5948bee6f include-what-you-use-0.4.src.tar.gz
commit 2f519d1e93e85538a583c6a85ee30587d380df0b
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Mon Jun 1 22:02:02 2015 -0700
Updating to 0.4 based on clang 3.6.0
diff --git a/iwyu.spec b/iwyu.spec
index d1b9450..3ac4766 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,19 +1,14 @@
-# The base version of clang being built against
-%global clang_base_version 3.5
-
Name: iwyu
-Version: 0.3
+Version: 0.4
Release: 1%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
URL: https://code.google.com/p/include-what-you-use/
-Source0: http://include-what-you-use.com/downloads/include-what-you-use-%{clang_ba...
-
-Patch1: iwyu-link_dir.patch
+Source0: http://include-what-you-use.com/downloads/include-what-you-use-%{version}...
BuildRequires: cmake
-BuildRequires: clang-devel
+BuildRequires: clang-devel >= 3.6
# NOTE: This should probably listed as a dependency for clang-devel but it's
# not, so make it explicit here
BuildRequires: llvm-devel
@@ -28,10 +23,6 @@ BuildRequires: python2-devel
Provides: include-what-you-use = %{version}-%{release}
Provides: include-what-you-use%{?_isa} = %{version}-%{release}
-# It isn't building on ARM, so just exclude it for now (see https://bugzilla.redhat.com/show_bug.cgi?id=1192713 )
-# Also, the tests use x86 assembly right now (see https://groups.google.com/forum/#!topic/include-what-you-use/lEuN5tr-0y0 )
-ExclusiveArch: %{ix86} x86_64
-
%description
"Include what you use" means this: for every symbol (type, function, variable,
@@ -44,20 +35,18 @@ include-what-you-use violations, and suggest fixes for them.
%prep
%setup -q -n include-what-you-use
-%patch1 -p1
%build
mkdir build
cd build
-%cmake -DLLVM_LIB_PATH=%{_libdir}/llvm ..
+# NOTE: Have to specify both lib and include dir for it to work
+%cmake -DIWYU_LLVM_LIB_PATH=%{_libdir}/llvm -DIWYU_LLVM_INCLUDE_PATH=%{_includedir} ..
make %{?_smp_mflags}
%install
%make_install DESTDIR=%{buildroot} -C build
-grep -m 1 '^#!/usr/bin/python\b' fix_includes.py || exit -1
-sed -i '1 s|^#!/usr/bin/python\b|#!%{__python2}|' fix_includes.py
install -pDm755 fix_includes.py %{buildroot}%{_bindir}/fix_includes
cd %{buildroot}%{_bindir}
ln -s include-what-you-use iwyu
@@ -82,6 +71,9 @@ ln -s ../tests
%changelog
+* Mon Jun 01 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.4-1
+- Update to 0.4 based on clang 3.6.0
+
* Tue Jan 27 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.3-1
- Update to 0.3 based on clang 3.5.0
commit 90f6f4162f2ec89483adbdff66c5d9fbc1053b37
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Wed Feb 25 20:30:47 2015 -0700
Making it exclusive x86 since the tests use x86 assembly right now
diff --git a/iwyu.spec b/iwyu.spec
index 10b1e24..d1b9450 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -29,7 +29,8 @@ Provides: include-what-you-use = %{version}-%{release}
Provides: include-what-you-use%{?_isa} = %{version}-%{release}
# It isn't building on ARM, so just exclude it for now (see https://bugzilla.redhat.com/show_bug.cgi?id=1192713 )
-ExcludeArch: %{arm}
+# Also, the tests use x86 assembly right now (see https://groups.google.com/forum/#!topic/include-what-you-use/lEuN5tr-0y0 )
+ExclusiveArch: %{ix86} x86_64
%description
commit ec41659f7b09f9c5b18b9bd6e8045590351bbf8c
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Sat Feb 14 08:48:48 2015 -0700
Exclude ARM since it's failing to build there
diff --git a/iwyu.spec b/iwyu.spec
index 9d9cd12..10b1e24 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -28,6 +28,9 @@ BuildRequires: python2-devel
Provides: include-what-you-use = %{version}-%{release}
Provides: include-what-you-use%{?_isa} = %{version}-%{release}
+# It isn't building on ARM, so just exclude it for now (see https://bugzilla.redhat.com/show_bug.cgi?id=1192713 )
+ExcludeArch: %{arm}
+
%description
"Include what you use" means this: for every symbol (type, function, variable,
commit 4ae256d2b6e1e0b500056bb9e95e573b0759c27e
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Sat Feb 14 08:06:17 2015 -0700
Update to 0.3 based on clang 3.5.0
diff --git a/.gitignore b/.gitignore
index 87d35b3..5f0bab2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/include-what-you-use-3.4.src.tar.gz
+/include-what-you-use-3.5.src.tar.gz
diff --git a/iwyu.spec b/iwyu.spec
index 7a02cf1..9d9cd12 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,12 +1,11 @@
# The base version of clang being built against
-%global clang_base_version 3.4
+%global clang_base_version 3.5
Name: iwyu
-Version: 0.2
+Version: 0.3
Release: 1%{?dist}
Summary: C/C++ source files #include analyzer based on clang
-Group: Development/Languages
License: NCSA
URL: https://code.google.com/p/include-what-you-use/
Source0: http://include-what-you-use.com/downloads/include-what-you-use-%{clang_ba...
@@ -29,11 +28,6 @@ BuildRequires: python2-devel
Provides: include-what-you-use = %{version}-%{release}
Provides: include-what-you-use%{?_isa} = %{version}-%{release}
-# Make sure the python macro is available
-%if 0%{?rhel} && 0%{?rhel} <= 6
-%{!?__python2: %global __python2 /usr/bin/python2}
-%endif
-
%description
"Include what you use" means this: for every symbol (type, function, variable,
@@ -66,10 +60,6 @@ ln -s include-what-you-use iwyu
%check
-# Need to have the clang header's at the correct relative path (see https://code.google.com/p/include-what-you-use/issues/detail?id=100)
-%global clang_version %{clang_base_version}.2
-mkdir -p lib/clang/%{clang_version}/
-ln -s /usr/lib/clang/%{clang_version}/include lib/clang/%{clang_version}
cd build
PATH=$PWD:$PATH
ln -s ../fix_includes.py
@@ -88,5 +78,8 @@ ln -s ../tests
%changelog
+* Tue Jan 27 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.3-1
+- Update to 0.3 based on clang 3.5.0
+
* Fri Apr 25 2014 Dave Johansen <davejohansen(a)gmail.com> - 0.2-1
- Initial RPM release
diff --git a/sources b/sources
index 9f6e7f8..2f8cfa9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-50e4548862c4295fc971c9aa84a610e5 include-what-you-use-3.4.src.tar.gz
+27e8a18a91b45df8b99eb78057f2bba5 include-what-you-use-3.5.src.tar.gz
commit 0c758bd34eadd138bbab2eb00e1afde3ce0f5ae3
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Sat Feb 14 08:02:26 2015 -0700
Initial RPM release
diff --git a/.gitignore b/.gitignore
index e69de29..87d35b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/include-what-you-use-3.4.src.tar.gz
diff --git a/iwyu-link_dir.patch b/iwyu-link_dir.patch
new file mode 100644
index 0000000..4e495a4
--- /dev/null
+++ b/iwyu-link_dir.patch
@@ -0,0 +1,18 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -5,12 +5,11 @@
+ if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
+ message(STATUS "IWYU out-of-tree configuration")
+
+- if( NOT DEFINED LLVM_PATH )
+- message(FATAL_ERROR "LLVM_PATH must be provided using -DLLVM_PATH=<path to llvm package root>")
++ if( NOT DEFINED LLVM_LIB_PATH )
++ message(FATAL_ERROR "LLVM_LIB_PATH must be provided using -DLLVM_LIB_PATH=<path to llvm package root>")
+ endif()
+
+- link_directories(${LLVM_PATH}/lib)
+- include_directories(${LLVM_PATH}/include)
++ link_directories(${LLVM_LIB_PATH})
+
+ add_definitions(
+ -D__STDC_LIMIT_MACROS
diff --git a/iwyu.spec b/iwyu.spec
new file mode 100644
index 0000000..7a02cf1
--- /dev/null
+++ b/iwyu.spec
@@ -0,0 +1,92 @@
+# The base version of clang being built against
+%global clang_base_version 3.4
+
+Name: iwyu
+Version: 0.2
+Release: 1%{?dist}
+Summary: C/C++ source files #include analyzer based on clang
+
+Group: Development/Languages
+License: NCSA
+URL: https://code.google.com/p/include-what-you-use/
+Source0: http://include-what-you-use.com/downloads/include-what-you-use-%{clang_ba...
+
+Patch1: iwyu-link_dir.patch
+
+BuildRequires: cmake
+BuildRequires: clang-devel
+# NOTE: This should probably listed as a dependency for clang-devel but it's
+# not, so make it explicit here
+BuildRequires: llvm-devel
+# Some of the Clang libraries are only available statically and the use of the
+# static library was approved (see https://fedorahosted.org/fesco/ticket/1370 )
+BuildRequires: llvm-static
+BuildRequires: zlib-devel
+# Scripts are Python 2
+BuildRequires: python2-devel
+
+# Virtual provide the long name
+Provides: include-what-you-use = %{version}-%{release}
+Provides: include-what-you-use%{?_isa} = %{version}-%{release}
+
+# Make sure the python macro is available
+%if 0%{?rhel} && 0%{?rhel} <= 6
+%{!?__python2: %global __python2 /usr/bin/python2}
+%endif
+
+
+%description
+"Include what you use" means this: for every symbol (type, function, variable,
+or macro) that you use in foo.cc (or foo.cpp), either foo.cc or foo.h
+should #include a .h file that exports the declaration of that symbol. The
+include-what-you-use tool is a program that can be built with the clang
+libraries in order to analyze #includes of source files to find
+include-what-you-use violations, and suggest fixes for them.
+
+
+%prep
+%setup -q -n include-what-you-use
+%patch1 -p1
+
+
+%build
+mkdir build
+cd build
+%cmake -DLLVM_LIB_PATH=%{_libdir}/llvm ..
+make %{?_smp_mflags}
+
+
+%install
+%make_install DESTDIR=%{buildroot} -C build
+grep -m 1 '^#!/usr/bin/python\b' fix_includes.py || exit -1
+sed -i '1 s|^#!/usr/bin/python\b|#!%{__python2}|' fix_includes.py
+install -pDm755 fix_includes.py %{buildroot}%{_bindir}/fix_includes
+cd %{buildroot}%{_bindir}
+ln -s include-what-you-use iwyu
+
+
+%check
+# Need to have the clang header's at the correct relative path (see https://code.google.com/p/include-what-you-use/issues/detail?id=100)
+%global clang_version %{clang_base_version}.2
+mkdir -p lib/clang/%{clang_version}/
+ln -s /usr/lib/clang/%{clang_version}/include lib/clang/%{clang_version}
+cd build
+PATH=$PWD:$PATH
+ln -s ../fix_includes.py
+ln -s ../fix_includes_test.py
+ln -s ../iwyu_test_util.py
+ln -s ../run_iwyu_tests.py
+ln -s ../tests
+%{__python2} run_iwyu_tests.py
+%{__python2} fix_includes_test.py
+
+
+%files
+%{_bindir}/include-what-you-use
+%{_bindir}/iwyu
+%{_bindir}/fix_includes
+
+
+%changelog
+* Fri Apr 25 2014 Dave Johansen <davejohansen(a)gmail.com> - 0.2-1
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..9f6e7f8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+50e4548862c4295fc971c9aa84a610e5 include-what-you-use-3.4.src.tar.gz
1 year, 2 months
Architecture specific change in rpms/iwyu.git
by githook-noreply@fedoraproject.org
The package rpms/iwyu.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/iwyu.git/commit/?id=3cfc074af771c...
https://src.fedoraproject.org/cgit/rpms/iwyu.git/commit/?id=423431ccec339...
https://src.fedoraproject.org/cgit/rpms/iwyu.git/commit/?id=d1b9a4c378e55...
https://src.fedoraproject.org/cgit/rpms/iwyu.git/commit/?id=72ccb5880e99e...
https://src.fedoraproject.org/cgit/rpms/iwyu.git/commit/?id=2f519d1e93e85...
https://src.fedoraproject.org/cgit/rpms/iwyu.git/commit/?id=90f6f4162f2ec...
https://src.fedoraproject.org/cgit/rpms/iwyu.git/commit/?id=ec41659f7b09f....
Change:
-ExclusiveArch: %{ix86} x86_64
+ExclusiveArch: %{ix86} x86_64
-ExclusiveArch: %{ix86} x86_64
+ExclusiveArch: %{ix86} x86_64
-ExclusiveArch: %{ix86} x86_64
+ExclusiveArch: %{ix86} x86_64
+ExcludeArch: %{arm}
Thanks.
Full change:
============
commit 3cfc074af771c44e64759fc389f388a1110dde94
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Mon Mar 27 14:06:00 2023 +0200
Resurrected package and updated to version 0.19.
diff --git a/.gitignore b/.gitignore
index 7ec4b9a..5053225 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,11 +1 @@
-/include-what-you-use-3.4.src.tar.gz
-/include-what-you-use-3.5.src.tar.gz
-/include-what-you-use-0.4.src.tar.gz
-/include-what-you-use-98f3e62d371ae602061951115efc3b75ff255824.tar.gz
-/include-what-you-use-e1fc7722673fd665c105d0aaed1dab1aeefce8c1.tar.gz
-/include-what-you-use-f09b88aaa0b7bb88a7b36da2ba1cab233659df6e.tar.gz
-/include-what-you-use-136736fca90ad10e20b2ef728f0d52286e93ca46.tar.gz
-/iwyu-23253ec.tar.gz
-/include-what-you-use-953970c487b004050d44925bfcc5133be9fa0d7f.tar.gz
-/include-what-you-use-c6c4520c0b0a0ad2ba22218ef2aa3f0b81ecbc6f.tar.gz
-/include-what-you-use-576e80f7f37ce2daa59120c40f38735b3fbc7422.tar.gz
+/include-what-you-use-*.tar.gz
diff --git a/iwyu.spec b/iwyu.spec
index 20b0717..cac45c6 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,93 +1,78 @@
-%global longname include-what-you-use
-%global owner %{longname}
-%global commit 576e80f7f37ce2daa59120c40f38735b3fbc7422
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
-Name: iwyu
-Version: 0.9
-Release: 0.5.20171001git%{shortcommit}%{?dist}
-Summary: C/C++ source files #include analyzer based on clang
-
-License: NCSA
-URL: https://github.com/%{owner}/%{longname}
-Source0: https://github.com/%{owner}/%{longname}/archive/%{commit}.tar.gz#/%{longn...
-
-BuildRequires: cmake
-BuildRequires: clang-devel >= 4.0
-# NOTE: This should probably listed as a dependency for clang-devel but it's
-# not, so make it explicit here
-BuildRequires: llvm-devel
-# Some of the Clang libraries are only available statically and the use of the
-# static library was approved (see https://fedorahosted.org/fesco/ticket/1370 )
-BuildRequires: llvm-static
-BuildRequires: zlib-devel
-# Scripts are Python 2
-BuildRequires: python2-devel
-BuildRequires: ncurses-devel
-
-# Virtual provide the long name
-Provides: include-what-you-use = %{version}-%{release}
-Provides: include-what-you-use%{?_isa} = %{version}-%{release}
-
-# It isn't building on ARM, so just exclude it for now (see https://bugzilla.redhat.com/show_bug.cgi?id=1192713 )
-# Also, the tests use x86 assembly right now (see https://groups.google.com/forum/#!topic/include-what-you-use/lEuN5tr-0y0 )
-ExclusiveArch: %{ix86} x86_64
+%global appname include-what-you-use
+%global toolchain clang
+Name: iwyu
+Version: 0.19
+Release: 1%{?dist}
+
+License: NCSA
+Summary: C/C++ source files #include analyzer based on clang
+URL: https://github.com/%{appname}/%{appname}
+Source0: %{url}/archive/%{version}/%{appname}-%{version}.tar.gz
+
+BuildRequires: clang-devel
+BuildRequires: libcxx-devel
+BuildRequires: llvm-devel
+BuildRequires: llvm-static
+BuildRequires: ncurses-devel
+BuildRequires: python3-devel
+BuildRequires: zlib-devel
+
+BuildRequires: clang
+BuildRequires: cmake
+BuildRequires: ninja-build
+
+Provides: %{appname} = %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: %{appname}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description
"Include what you use" means this: for every symbol (type, function, variable,
-or macro) that you use in foo.cc (or foo.cpp), either foo.cc or foo.h
-should #include a .h file that exports the declaration of that symbol. The
-include-what-you-use tool is a program that can be built with the clang
-libraries in order to analyze #includes of source files to find
-include-what-you-use violations, and suggest fixes for them.
-
+or macro) that you use in foo.cc (or foo.cpp), either foo.cc or foo.h should
+include a .h file that exports the declaration of that symbol. (Similarly, for
+foo_test.cc, either foo_test.cc or foo.h should do the including.) Obviously
+symbols defined in foo.cc itself are excluded from this requirement.
+
+This puts us in a state where every file includes the headers it needs to
+declare the symbols that it uses. When every file includes what it uses,
+then it is possible to edit any file and remove unused headers, without fear
+of accidentally breaking the upwards dependencies of that file. It also
+becomes easy to automatically track and update dependencies in the source
+code.
%prep
-%autosetup -n %{longname}-%{commit}
-
+%autosetup -n %{appname}-%{version} -p1
+sed -e s@lib/@lib\${LLVM_LIBDIR_SUFFIX}/@g -i CMakeLists.txt
+%py3_shebang_fix *.py
%build
-mkdir build
-cd build
-# NOTE: Have to specify both lib and include dir for it to work
-%cmake -DIWYU_LLVM_LIB_PATH=%{_libdir}/llvm -DIWYU_LLVM_INCLUDE_PATH=%{_includedir} ..
-%make_build
-
+%cmake -G Ninja \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \
+ -DIWYU_LLVM_ROOT_PATH=%{_libdir}
+%cmake_build
%install
-%make_install -C build
-cd %{buildroot}%{_bindir}
-ln -s include-what-you-use iwyu
-ln -s fix_includes.py fix_includes
-ln -s iwyu_tool.py iwyu_tool
-
+%cmake_install
%check
-# Need to have the clang header's at the correct relative path (see https://github.com/include-what-you-use/include-what-you-use/issues/100 )
-ln -s %{_libdir} %{_lib}
-cd build
-PATH=$PWD:$PATH
-ln -s ../fix_includes.py
-ln -s ../fix_includes_test.py
-ln -s ../iwyu_test_util.py
-ln -s ../run_iwyu_tests.py
-ln -s ../tests
-%{__python2} run_iwyu_tests.py
-%{__python2} fix_includes_test.py
-
+%ctest --exclude-regex "cxx.test_(badinc|ms_inline_asm)"
%files
-%{_bindir}/include-what-you-use
-%{_bindir}/iwyu
-%{_bindir}/fix_includes
+%doc docs/* README.md
+%license LICENSE.TXT
+%{_bindir}/%{appname}
%{_bindir}/fix_includes.py
-%{_bindir}/iwyu_tool
%{_bindir}/iwyu_tool.py
-%dir %{_datadir}/include-what-you-use
-%{_datadir}/include-what-you-use/*.imp
+%{_datadir}/%{appname}/
+%{_mandir}/man1/%{appname}.1*
%changelog
+* Sun Mar 19 2023 Vitaly Zaitsev <vitaly(a)easycoding.org> - 0.19-1
+- Resurrected package.
+- Updated to version 0.19.
+- Performed major SPEC cleanup.
+- Fixed issues with tests.
+
* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.5.20171001git576e80f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
diff --git a/sources b/sources
index f0ba466..1979f41 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (include-what-you-use-576e80f7f37ce2daa59120c40f38735b3fbc7422.tar.gz) = 254f3f98aa40f2d7107d5cf06e6b783e8295d4c4b91751fcf0c998b16b1a330119b2c3e2d232e4c9083029b2c4ec5297c9ea0074e52726346385fb15f31c0e28
+SHA512 (include-what-you-use-0.19.tar.gz) = 0847ae898696b51540ab9f5715e69bae67db42409d60205227d543ba6597b12cc2ea5bf68a3315c31f22e7186e05c06a86f5ae5b893c23bfe4cd9ef6f06ccddc
commit 423431ccec339e4093f441b304ff8d2613f74826
Author: Tomas Hrcka <thrcka(a)redhat.com>
Date: Mon Mar 27 12:25:38 2023 +0200
Unretirement request: https://pagure.io/releng/issue/11348
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..7ec4b9a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,11 @@
+/include-what-you-use-3.4.src.tar.gz
+/include-what-you-use-3.5.src.tar.gz
+/include-what-you-use-0.4.src.tar.gz
+/include-what-you-use-98f3e62d371ae602061951115efc3b75ff255824.tar.gz
+/include-what-you-use-e1fc7722673fd665c105d0aaed1dab1aeefce8c1.tar.gz
+/include-what-you-use-f09b88aaa0b7bb88a7b36da2ba1cab233659df6e.tar.gz
+/include-what-you-use-136736fca90ad10e20b2ef728f0d52286e93ca46.tar.gz
+/iwyu-23253ec.tar.gz
+/include-what-you-use-953970c487b004050d44925bfcc5133be9fa0d7f.tar.gz
+/include-what-you-use-c6c4520c0b0a0ad2ba22218ef2aa3f0b81ecbc6f.tar.gz
+/include-what-you-use-576e80f7f37ce2daa59120c40f38735b3fbc7422.tar.gz
diff --git a/dead.package b/dead.package
deleted file mode 100644
index 9ca25d5..0000000
--- a/dead.package
+++ /dev/null
@@ -1 +0,0 @@
-iwyu fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1675163
diff --git a/iwyu.spec b/iwyu.spec
new file mode 100644
index 0000000..20b0717
--- /dev/null
+++ b/iwyu.spec
@@ -0,0 +1,158 @@
+%global longname include-what-you-use
+%global owner %{longname}
+%global commit 576e80f7f37ce2daa59120c40f38735b3fbc7422
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
+Name: iwyu
+Version: 0.9
+Release: 0.5.20171001git%{shortcommit}%{?dist}
+Summary: C/C++ source files #include analyzer based on clang
+
+License: NCSA
+URL: https://github.com/%{owner}/%{longname}
+Source0: https://github.com/%{owner}/%{longname}/archive/%{commit}.tar.gz#/%{longn...
+
+BuildRequires: cmake
+BuildRequires: clang-devel >= 4.0
+# NOTE: This should probably listed as a dependency for clang-devel but it's
+# not, so make it explicit here
+BuildRequires: llvm-devel
+# Some of the Clang libraries are only available statically and the use of the
+# static library was approved (see https://fedorahosted.org/fesco/ticket/1370 )
+BuildRequires: llvm-static
+BuildRequires: zlib-devel
+# Scripts are Python 2
+BuildRequires: python2-devel
+BuildRequires: ncurses-devel
+
+# Virtual provide the long name
+Provides: include-what-you-use = %{version}-%{release}
+Provides: include-what-you-use%{?_isa} = %{version}-%{release}
+
+# It isn't building on ARM, so just exclude it for now (see https://bugzilla.redhat.com/show_bug.cgi?id=1192713 )
+# Also, the tests use x86 assembly right now (see https://groups.google.com/forum/#!topic/include-what-you-use/lEuN5tr-0y0 )
+ExclusiveArch: %{ix86} x86_64
+
+
+%description
+"Include what you use" means this: for every symbol (type, function, variable,
+or macro) that you use in foo.cc (or foo.cpp), either foo.cc or foo.h
+should #include a .h file that exports the declaration of that symbol. The
+include-what-you-use tool is a program that can be built with the clang
+libraries in order to analyze #includes of source files to find
+include-what-you-use violations, and suggest fixes for them.
+
+
+%prep
+%autosetup -n %{longname}-%{commit}
+
+
+%build
+mkdir build
+cd build
+# NOTE: Have to specify both lib and include dir for it to work
+%cmake -DIWYU_LLVM_LIB_PATH=%{_libdir}/llvm -DIWYU_LLVM_INCLUDE_PATH=%{_includedir} ..
+%make_build
+
+
+%install
+%make_install -C build
+cd %{buildroot}%{_bindir}
+ln -s include-what-you-use iwyu
+ln -s fix_includes.py fix_includes
+ln -s iwyu_tool.py iwyu_tool
+
+
+%check
+# Need to have the clang header's at the correct relative path (see https://github.com/include-what-you-use/include-what-you-use/issues/100 )
+ln -s %{_libdir} %{_lib}
+cd build
+PATH=$PWD:$PATH
+ln -s ../fix_includes.py
+ln -s ../fix_includes_test.py
+ln -s ../iwyu_test_util.py
+ln -s ../run_iwyu_tests.py
+ln -s ../tests
+%{__python2} run_iwyu_tests.py
+%{__python2} fix_includes_test.py
+
+
+%files
+%{_bindir}/include-what-you-use
+%{_bindir}/iwyu
+%{_bindir}/fix_includes
+%{_bindir}/fix_includes.py
+%{_bindir}/iwyu_tool
+%{_bindir}/iwyu_tool.py
+%dir %{_datadir}/include-what-you-use
+%{_datadir}/include-what-you-use/*.imp
+
+%changelog
+* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.5.20171001git576e80f
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.4.20171001git576e80f
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.3.20171001git576e80f
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.2.20171001git576e80f
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Wed Oct 04 2017 Tom Stellard <tstellar(a)redhat.com> - 0.9-0.1.20171001git576e80f
+- Update to git snapshot that works with LLVM 5
+
+* Wed Aug 02 2017 Dave Johansen <davejohansen(a)gmail.com> - 0.8-4
+- Official 0.8/LLVM 4.0 release
+
+* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Sun Jul 02 2017 Dave Johansen <davejohansen(a)gmail.com> - 0.8-1
+- Use 0.8 to work with LLVM 4.0
+
+* Thu Mar 30 2017 Tom Stellard <tstellar(a)redhat.com> - 0.7-3.20130330git.23253ec
+- Update to git snapshot that works with LLVM4
+
+* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Mon Dec 05 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.7-1
+- Upstream release
+
+* Thu May 12 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-1
+- Upstream release
+
+* Wed Feb 24 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-0.2
+- Remove use of rand() in badinc test
+
+* Wed Feb 24 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-0.1
+- Test build against 3.8
+
+* Thu Feb 04 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.5-3
+- Changes for new llvm cmake build system
+
+* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Wed Sep 30 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.5-1
+- Upstream release
+
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.4-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Thu Jun 04 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.4-2
+- Added iwyu_tool
+
+* Mon Jun 01 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.4-1
+- Update to 0.4 based on clang 3.6.0
+
+* Tue Jan 27 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.3-1
+- Update to 0.3 based on clang 3.5.0
+
+* Fri Apr 25 2014 Dave Johansen <davejohansen(a)gmail.com> - 0.2-1
+- Initial RPM release
diff --git a/sources b/sources
new file mode 100644
index 0000000..f0ba466
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (include-what-you-use-576e80f7f37ce2daa59120c40f38735b3fbc7422.tar.gz) = 254f3f98aa40f2d7107d5cf06e6b783e8295d4c4b91751fcf0c998b16b1a330119b2c3e2d232e4c9083029b2c4ec5297c9ea0074e52726346385fb15f31c0e28
commit d1b9a4c378e557e91c7363b6900ad32ca84fb9df
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Thu Aug 8 13:55:20 2019 +0000
iwyu fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1675163
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 7ec4b9a..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,11 +0,0 @@
-/include-what-you-use-3.4.src.tar.gz
-/include-what-you-use-3.5.src.tar.gz
-/include-what-you-use-0.4.src.tar.gz
-/include-what-you-use-98f3e62d371ae602061951115efc3b75ff255824.tar.gz
-/include-what-you-use-e1fc7722673fd665c105d0aaed1dab1aeefce8c1.tar.gz
-/include-what-you-use-f09b88aaa0b7bb88a7b36da2ba1cab233659df6e.tar.gz
-/include-what-you-use-136736fca90ad10e20b2ef728f0d52286e93ca46.tar.gz
-/iwyu-23253ec.tar.gz
-/include-what-you-use-953970c487b004050d44925bfcc5133be9fa0d7f.tar.gz
-/include-what-you-use-c6c4520c0b0a0ad2ba22218ef2aa3f0b81ecbc6f.tar.gz
-/include-what-you-use-576e80f7f37ce2daa59120c40f38735b3fbc7422.tar.gz
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..9ca25d5
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+iwyu fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1675163
diff --git a/iwyu.spec b/iwyu.spec
deleted file mode 100644
index 20b0717..0000000
--- a/iwyu.spec
+++ /dev/null
@@ -1,158 +0,0 @@
-%global longname include-what-you-use
-%global owner %{longname}
-%global commit 576e80f7f37ce2daa59120c40f38735b3fbc7422
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
-Name: iwyu
-Version: 0.9
-Release: 0.5.20171001git%{shortcommit}%{?dist}
-Summary: C/C++ source files #include analyzer based on clang
-
-License: NCSA
-URL: https://github.com/%{owner}/%{longname}
-Source0: https://github.com/%{owner}/%{longname}/archive/%{commit}.tar.gz#/%{longn...
-
-BuildRequires: cmake
-BuildRequires: clang-devel >= 4.0
-# NOTE: This should probably listed as a dependency for clang-devel but it's
-# not, so make it explicit here
-BuildRequires: llvm-devel
-# Some of the Clang libraries are only available statically and the use of the
-# static library was approved (see https://fedorahosted.org/fesco/ticket/1370 )
-BuildRequires: llvm-static
-BuildRequires: zlib-devel
-# Scripts are Python 2
-BuildRequires: python2-devel
-BuildRequires: ncurses-devel
-
-# Virtual provide the long name
-Provides: include-what-you-use = %{version}-%{release}
-Provides: include-what-you-use%{?_isa} = %{version}-%{release}
-
-# It isn't building on ARM, so just exclude it for now (see https://bugzilla.redhat.com/show_bug.cgi?id=1192713 )
-# Also, the tests use x86 assembly right now (see https://groups.google.com/forum/#!topic/include-what-you-use/lEuN5tr-0y0 )
-ExclusiveArch: %{ix86} x86_64
-
-
-%description
-"Include what you use" means this: for every symbol (type, function, variable,
-or macro) that you use in foo.cc (or foo.cpp), either foo.cc or foo.h
-should #include a .h file that exports the declaration of that symbol. The
-include-what-you-use tool is a program that can be built with the clang
-libraries in order to analyze #includes of source files to find
-include-what-you-use violations, and suggest fixes for them.
-
-
-%prep
-%autosetup -n %{longname}-%{commit}
-
-
-%build
-mkdir build
-cd build
-# NOTE: Have to specify both lib and include dir for it to work
-%cmake -DIWYU_LLVM_LIB_PATH=%{_libdir}/llvm -DIWYU_LLVM_INCLUDE_PATH=%{_includedir} ..
-%make_build
-
-
-%install
-%make_install -C build
-cd %{buildroot}%{_bindir}
-ln -s include-what-you-use iwyu
-ln -s fix_includes.py fix_includes
-ln -s iwyu_tool.py iwyu_tool
-
-
-%check
-# Need to have the clang header's at the correct relative path (see https://github.com/include-what-you-use/include-what-you-use/issues/100 )
-ln -s %{_libdir} %{_lib}
-cd build
-PATH=$PWD:$PATH
-ln -s ../fix_includes.py
-ln -s ../fix_includes_test.py
-ln -s ../iwyu_test_util.py
-ln -s ../run_iwyu_tests.py
-ln -s ../tests
-%{__python2} run_iwyu_tests.py
-%{__python2} fix_includes_test.py
-
-
-%files
-%{_bindir}/include-what-you-use
-%{_bindir}/iwyu
-%{_bindir}/fix_includes
-%{_bindir}/fix_includes.py
-%{_bindir}/iwyu_tool
-%{_bindir}/iwyu_tool.py
-%dir %{_datadir}/include-what-you-use
-%{_datadir}/include-what-you-use/*.imp
-
-%changelog
-* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.5.20171001git576e80f
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.4.20171001git576e80f
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.3.20171001git576e80f
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.2.20171001git576e80f
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Wed Oct 04 2017 Tom Stellard <tstellar(a)redhat.com> - 0.9-0.1.20171001git576e80f
-- Update to git snapshot that works with LLVM 5
-
-* Wed Aug 02 2017 Dave Johansen <davejohansen(a)gmail.com> - 0.8-4
-- Official 0.8/LLVM 4.0 release
-
-* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
-
-* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Sun Jul 02 2017 Dave Johansen <davejohansen(a)gmail.com> - 0.8-1
-- Use 0.8 to work with LLVM 4.0
-
-* Thu Mar 30 2017 Tom Stellard <tstellar(a)redhat.com> - 0.7-3.20130330git.23253ec
-- Update to git snapshot that works with LLVM4
-
-* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Mon Dec 05 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.7-1
-- Upstream release
-
-* Thu May 12 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-1
-- Upstream release
-
-* Wed Feb 24 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-0.2
-- Remove use of rand() in badinc test
-
-* Wed Feb 24 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-0.1
-- Test build against 3.8
-
-* Thu Feb 04 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.5-3
-- Changes for new llvm cmake build system
-
-* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
-
-* Wed Sep 30 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.5-1
-- Upstream release
-
-* Wed Jun 17 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.4-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
-
-* Thu Jun 04 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.4-2
-- Added iwyu_tool
-
-* Mon Jun 01 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.4-1
-- Update to 0.4 based on clang 3.6.0
-
-* Tue Jan 27 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.3-1
-- Update to 0.3 based on clang 3.5.0
-
-* Fri Apr 25 2014 Dave Johansen <davejohansen(a)gmail.com> - 0.2-1
-- Initial RPM release
diff --git a/sources b/sources
deleted file mode 100644
index f0ba466..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (include-what-you-use-576e80f7f37ce2daa59120c40f38735b3fbc7422.tar.gz) = 254f3f98aa40f2d7107d5cf06e6b783e8295d4c4b91751fcf0c998b16b1a330119b2c3e2d232e4c9083029b2c4ec5297c9ea0074e52726346385fb15f31c0e28
commit e9102b24b0c40a3ff6f8d7e14b1df11b70ef54e1
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Thu Jul 25 09:49:52 2019 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/iwyu.spec b/iwyu.spec
index 2832368..20b0717 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -5,7 +5,7 @@
Name: iwyu
Version: 0.9
-Release: 0.4.20171001git%{shortcommit}%{?dist}
+Release: 0.5.20171001git%{shortcommit}%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -88,6 +88,9 @@ ln -s ../tests
%{_datadir}/include-what-you-use/*.imp
%changelog
+* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.5.20171001git576e80f
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.4.20171001git576e80f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
commit 84f95b416e6173436710ced8e36120d77f535dc3
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Feb 1 03:40:24 2019 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/iwyu.spec b/iwyu.spec
index 91b1e30..2832368 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -5,7 +5,7 @@
Name: iwyu
Version: 0.9
-Release: 0.3.20171001git%{shortcommit}%{?dist}
+Release: 0.4.20171001git%{shortcommit}%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -88,6 +88,9 @@ ln -s ../tests
%{_datadir}/include-what-you-use/*.imp
%changelog
+* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.4.20171001git576e80f
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.3.20171001git576e80f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
commit a4ab7ee8e05a72a560ad23828cdc40654c101ff5
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 13 05:55:33 2018 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/iwyu.spec b/iwyu.spec
index a6a3f1b..91b1e30 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -5,7 +5,7 @@
Name: iwyu
Version: 0.9
-Release: 0.2.20171001git%{shortcommit}%{?dist}
+Release: 0.3.20171001git%{shortcommit}%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -88,6 +88,9 @@ ln -s ../tests
%{_datadir}/include-what-you-use/*.imp
%changelog
+* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.3.20171001git576e80f
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.2.20171001git576e80f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit 9409116325a6eca391c794dcc0487b23cc474b0f
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 17:47:42 2018 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/iwyu.spec b/iwyu.spec
index d119dc5..a6a3f1b 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -5,7 +5,7 @@
Name: iwyu
Version: 0.9
-Release: 0.1.20171001git%{shortcommit}%{?dist}
+Release: 0.2.20171001git%{shortcommit}%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -88,6 +88,9 @@ ln -s ../tests
%{_datadir}/include-what-you-use/*.imp
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9-0.2.20171001git576e80f
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Oct 04 2017 Tom Stellard <tstellar(a)redhat.com> - 0.9-0.1.20171001git576e80f
- Update to git snapshot that works with LLVM 5
commit 2f3668490637882c3428a9abd308372332704da6
Author: Tom Stellard <tstellar(a)redhat.com>
Date: Wed Oct 4 13:51:30 2017 +0000
Update to git snapshot that works with LLVM 5
diff --git a/.gitignore b/.gitignore
index 5682906..7ec4b9a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/iwyu-23253ec.tar.gz
/include-what-you-use-953970c487b004050d44925bfcc5133be9fa0d7f.tar.gz
/include-what-you-use-c6c4520c0b0a0ad2ba22218ef2aa3f0b81ecbc6f.tar.gz
+/include-what-you-use-576e80f7f37ce2daa59120c40f38735b3fbc7422.tar.gz
diff --git a/iwyu.spec b/iwyu.spec
index 80fdd75..d119dc5 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,11 +1,11 @@
%global longname include-what-you-use
%global owner %{longname}
-%global commit c6c4520c0b0a0ad2ba22218ef2aa3f0b81ecbc6f
+%global commit 576e80f7f37ce2daa59120c40f38735b3fbc7422
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: iwyu
-Version: 0.8
-Release: 4%{?dist}
+Version: 0.9
+Release: 0.1.20171001git%{shortcommit}%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -87,8 +87,10 @@ ln -s ../tests
%dir %{_datadir}/include-what-you-use
%{_datadir}/include-what-you-use/*.imp
-
%changelog
+* Wed Oct 04 2017 Tom Stellard <tstellar(a)redhat.com> - 0.9-0.1.20171001git576e80f
+- Update to git snapshot that works with LLVM 5
+
* Wed Aug 02 2017 Dave Johansen <davejohansen(a)gmail.com> - 0.8-4
- Official 0.8/LLVM 4.0 release
diff --git a/sources b/sources
index fdb8fb2..f0ba466 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (include-what-you-use-c6c4520c0b0a0ad2ba22218ef2aa3f0b81ecbc6f.tar.gz) = b75105317e791885be6052811a7410b25f6c4c3e0ca27759f26875aca8402b2fae4e5cb7b24557a58879dc154cf17e8d30e59d8952615928e76134ade73ee0c7
+SHA512 (include-what-you-use-576e80f7f37ce2daa59120c40f38735b3fbc7422.tar.gz) = 254f3f98aa40f2d7107d5cf06e6b783e8295d4c4b91751fcf0c998b16b1a330119b2c3e2d232e4c9083029b2c4ec5297c9ea0074e52726346385fb15f31c0e28
commit 03f1f10a5db907c3fe189d10372f3c6e939dffb7
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Sat Aug 5 07:40:06 2017 -0600
Update to official 0.8/clang 4.0 release
diff --git a/.gitignore b/.gitignore
index 0e9014e..5682906 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/include-what-you-use-136736fca90ad10e20b2ef728f0d52286e93ca46.tar.gz
/iwyu-23253ec.tar.gz
/include-what-you-use-953970c487b004050d44925bfcc5133be9fa0d7f.tar.gz
+/include-what-you-use-c6c4520c0b0a0ad2ba22218ef2aa3f0b81ecbc6f.tar.gz
diff --git a/iwyu.spec b/iwyu.spec
index 7134675..80fdd75 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,17 +1,16 @@
%global longname include-what-you-use
%global owner %{longname}
-%global commit 953970c487b004050d44925bfcc5133be9fa0d7f
+%global commit c6c4520c0b0a0ad2ba22218ef2aa3f0b81ecbc6f
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: iwyu
Version: 0.8
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
URL: https://github.com/%{owner}/%{longname}
Source0: https://github.com/%{owner}/%{longname}/archive/%{commit}.tar.gz#/%{longn...
-Patch0: iwyu_map_file_stdio.patch
BuildRequires: cmake
BuildRequires: clang-devel >= 4.0
@@ -90,6 +89,9 @@ ln -s ../tests
%changelog
+* Wed Aug 02 2017 Dave Johansen <davejohansen(a)gmail.com> - 0.8-4
+- Official 0.8/LLVM 4.0 release
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
diff --git a/iwyu_map_file_stdio.patch b/iwyu_map_file_stdio.patch
deleted file mode 100644
index 74a38be..0000000
--- a/iwyu_map_file_stdio.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 243a9ac5311de81041e599af1270cf4ade5e3430 Mon Sep 17 00:00:00 2001
-From: Kim Grasman <kim.grasman(a)gmail.com>
-Date: Mon, 26 Jun 2017 14:11:47 +0200
-Subject: [PATCH] Map FILE to <stdio.h>
-
-Newer glibc has FILE in a separate header.
-
-Fix for issue #447.
----
- gcc.symbols.imp | 1 +
- iwyu_include_picker.cc | 1 +
- 2 files changed, 2 insertions(+)
-
-diff --git a/gcc.symbols.imp b/gcc.symbols.imp
-index d3d3fa3..4ab9c57 100644
---- a/gcc.symbols.imp
-+++ b/gcc.symbols.imp
-@@ -104,6 +104,7 @@
- # add them in by hand as I discover them.
- { symbol: [ "EOF", private, "<stdio.h>", public ] },
- { symbol: [ "EOF", private, "<libio.h>", public ] },
-+ { symbol: [ "FILE", private, "<stdio.h>", public ] },
- { symbol: [ "va_list", private, "<stdarg.h>", public ] },
- # These are symbols that could be defined in either stdlib.h or
- # malloc.h, but we always want the stdlib location.
-diff --git a/iwyu_include_picker.cc b/iwyu_include_picker.cc
-index 2436076..840057f 100644
---- a/iwyu_include_picker.cc
-+++ b/iwyu_include_picker.cc
-@@ -186,6 +186,7 @@ const IncludeMapEntry libc_symbol_map[] = {
- // add them in by hand as I discover them.
- { "EOF", kPrivate, "<stdio.h>", kPublic },
- { "EOF", kPrivate, "<libio.h>", kPublic },
-+ { "FILE", kPrivate, "<stdio.h>", kPublic },
- { "va_list", kPrivate, "<stdarg.h>", kPublic },
- // These are symbols that could be defined in either stdlib.h or
- // malloc.h, but we always want the stdlib location.
diff --git a/sources b/sources
index e3f5928..fdb8fb2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (include-what-you-use-953970c487b004050d44925bfcc5133be9fa0d7f.tar.gz) = 5bb22e4aea1da533c1d6047068220a7c4cbfa82b86137679fa343a69cd014c072fd1b13d59c7b76f930c54246af243ee72926c070bc3228a970bd5190e08d1bf
+SHA512 (include-what-you-use-c6c4520c0b0a0ad2ba22218ef2aa3f0b81ecbc6f.tar.gz) = b75105317e791885be6052811a7410b25f6c4c3e0ca27759f26875aca8402b2fae4e5cb7b24557a58879dc154cf17e8d30e59d8952615928e76134ade73ee0c7
commit cc4e70ef87cf9005b3d55f9e6c7cb03d2bd809e3
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Aug 2 23:55:28 2017 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
diff --git a/iwyu.spec b/iwyu.spec
index 3a1b83f..7134675 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -5,7 +5,7 @@
Name: iwyu
Version: 0.8
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -90,6 +90,9 @@ ln -s ../tests
%changelog
+* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
commit 94ea3c53dbf9694d8af173873e1795ac9a33a9af
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Jul 26 13:49:04 2017 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
diff --git a/iwyu.spec b/iwyu.spec
index 84ffc62..3a1b83f 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -5,7 +5,7 @@
Name: iwyu
Version: 0.8
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -90,6 +90,9 @@ ln -s ../tests
%changelog
+* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
* Sun Jul 02 2017 Dave Johansen <davejohansen(a)gmail.com> - 0.8-1
- Use 0.8 to work with LLVM 4.0
commit 673fc4a63cdd3f96acf0acdff2940661fc1e10c7
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Sun Jul 2 21:35:34 2017 -0600
Use 0.8 to work with LLVM 4.0
diff --git a/.gitignore b/.gitignore
index aeadc74..0e9014e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
/include-what-you-use-f09b88aaa0b7bb88a7b36da2ba1cab233659df6e.tar.gz
/include-what-you-use-136736fca90ad10e20b2ef728f0d52286e93ca46.tar.gz
/iwyu-23253ec.tar.gz
+/include-what-you-use-953970c487b004050d44925bfcc5133be9fa0d7f.tar.gz
diff --git a/iwyu.spec b/iwyu.spec
index fb409fe..84ffc62 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,19 +1,20 @@
%global longname include-what-you-use
%global owner %{longname}
-%global commit 23253ec2e8c6b84a9b1a45329b7a1c1a81233fd8
+%global commit 953970c487b004050d44925bfcc5133be9fa0d7f
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: iwyu
-Version: 0.7
-Release: 3.20130330git.%{shortcommit}%{?dist}
+Version: 0.8
+Release: 1%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
-URL: https://github.com/include-what-you-use/include-what-you-use
-Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
+URL: https://github.com/%{owner}/%{longname}
+Source0: https://github.com/%{owner}/%{longname}/archive/%{commit}.tar.gz#/%{longn...
+Patch0: iwyu_map_file_stdio.patch
BuildRequires: cmake
-BuildRequires: clang-devel >= 3.8
+BuildRequires: clang-devel >= 4.0
# NOTE: This should probably listed as a dependency for clang-devel but it's
# not, so make it explicit here
BuildRequires: llvm-devel
@@ -89,6 +90,9 @@ ln -s ../tests
%changelog
+* Sun Jul 02 2017 Dave Johansen <davejohansen(a)gmail.com> - 0.8-1
+- Use 0.8 to work with LLVM 4.0
+
* Thu Mar 30 2017 Tom Stellard <tstellar(a)redhat.com> - 0.7-3.20130330git.23253ec
- Update to git snapshot that works with LLVM4
diff --git a/iwyu_map_file_stdio.patch b/iwyu_map_file_stdio.patch
new file mode 100644
index 0000000..74a38be
--- /dev/null
+++ b/iwyu_map_file_stdio.patch
@@ -0,0 +1,37 @@
+From 243a9ac5311de81041e599af1270cf4ade5e3430 Mon Sep 17 00:00:00 2001
+From: Kim Grasman <kim.grasman(a)gmail.com>
+Date: Mon, 26 Jun 2017 14:11:47 +0200
+Subject: [PATCH] Map FILE to <stdio.h>
+
+Newer glibc has FILE in a separate header.
+
+Fix for issue #447.
+---
+ gcc.symbols.imp | 1 +
+ iwyu_include_picker.cc | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/gcc.symbols.imp b/gcc.symbols.imp
+index d3d3fa3..4ab9c57 100644
+--- a/gcc.symbols.imp
++++ b/gcc.symbols.imp
+@@ -104,6 +104,7 @@
+ # add them in by hand as I discover them.
+ { symbol: [ "EOF", private, "<stdio.h>", public ] },
+ { symbol: [ "EOF", private, "<libio.h>", public ] },
++ { symbol: [ "FILE", private, "<stdio.h>", public ] },
+ { symbol: [ "va_list", private, "<stdarg.h>", public ] },
+ # These are symbols that could be defined in either stdlib.h or
+ # malloc.h, but we always want the stdlib location.
+diff --git a/iwyu_include_picker.cc b/iwyu_include_picker.cc
+index 2436076..840057f 100644
+--- a/iwyu_include_picker.cc
++++ b/iwyu_include_picker.cc
+@@ -186,6 +186,7 @@ const IncludeMapEntry libc_symbol_map[] = {
+ // add them in by hand as I discover them.
+ { "EOF", kPrivate, "<stdio.h>", kPublic },
+ { "EOF", kPrivate, "<libio.h>", kPublic },
++ { "FILE", kPrivate, "<stdio.h>", kPublic },
+ { "va_list", kPrivate, "<stdarg.h>", kPublic },
+ // These are symbols that could be defined in either stdlib.h or
+ // malloc.h, but we always want the stdlib location.
diff --git a/sources b/sources
index 32ed332..e3f5928 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (iwyu-23253ec.tar.gz) = 3df66c2c2cfabcc418b2a943faa0f8bdd32bb6dfc1c90b7117b87ca9a3b5521dcb9e55abc4ca8c4a8b69444f18097aa1659e986c5d0d9762f4afea6234dcfd6d
+SHA512 (include-what-you-use-953970c487b004050d44925bfcc5133be9fa0d7f.tar.gz) = 5bb22e4aea1da533c1d6047068220a7c4cbfa82b86137679fa343a69cd014c072fd1b13d59c7b76f930c54246af243ee72926c070bc3228a970bd5190e08d1bf
commit 5a1ec4449af93e890c3cd0f700e7f396c117ebe4
Author: Tom Stellard <tstellar(a)redhat.com>
Date: Thu Mar 30 16:53:08 2017 +0200
Update to git snapshot that works with LLVM4
Signed-off-by: Igor Gnatenko <ignatenko(a)redhat.com>
diff --git a/.gitignore b/.gitignore
index ad01ef2..aeadc74 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/include-what-you-use-e1fc7722673fd665c105d0aaed1dab1aeefce8c1.tar.gz
/include-what-you-use-f09b88aaa0b7bb88a7b36da2ba1cab233659df6e.tar.gz
/include-what-you-use-136736fca90ad10e20b2ef728f0d52286e93ca46.tar.gz
+/iwyu-23253ec.tar.gz
diff --git a/iwyu.spec b/iwyu.spec
index 3934b12..fb409fe 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,15 +1,16 @@
%global longname include-what-you-use
%global owner %{longname}
-%global commit0 136736fca90ad10e20b2ef728f0d52286e93ca46
+%global commit 23253ec2e8c6b84a9b1a45329b7a1c1a81233fd8
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: iwyu
Version: 0.7
-Release: 2%{?dist}
+Release: 3.20130330git.%{shortcommit}%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
-URL: https://github.com/%{owner}/%{longname}
-Source0: https://github.com/%{owner}/%{longname}/archive/%{commit0}.tar.gz#/%{long...
+URL: https://github.com/include-what-you-use/include-what-you-use
+Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
BuildRequires: cmake
BuildRequires: clang-devel >= 3.8
@@ -43,7 +44,7 @@ include-what-you-use violations, and suggest fixes for them.
%prep
-%setup -q -n %{longname}-%{commit0}
+%autosetup -n %{longname}-%{commit}
%build
@@ -51,11 +52,11 @@ mkdir build
cd build
# NOTE: Have to specify both lib and include dir for it to work
%cmake -DIWYU_LLVM_LIB_PATH=%{_libdir}/llvm -DIWYU_LLVM_INCLUDE_PATH=%{_includedir} ..
-make %{?_smp_mflags}
+%make_build
%install
-%make_install DESTDIR=%{buildroot} -C build
+%make_install -C build
cd %{buildroot}%{_bindir}
ln -s include-what-you-use iwyu
ln -s fix_includes.py fix_includes
@@ -83,10 +84,14 @@ ln -s ../tests
%{_bindir}/fix_includes.py
%{_bindir}/iwyu_tool
%{_bindir}/iwyu_tool.py
+%dir %{_datadir}/include-what-you-use
%{_datadir}/include-what-you-use/*.imp
%changelog
+* Thu Mar 30 2017 Tom Stellard <tstellar(a)redhat.com> - 0.7-3.20130330git.23253ec
+- Update to git snapshot that works with LLVM4
+
* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
diff --git a/sources b/sources
index c2fd5d5..32ed332 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ffa20d581f66f6e28c67dd62be18c8bd include-what-you-use-136736fca90ad10e20b2ef728f0d52286e93ca46.tar.gz
+SHA512 (iwyu-23253ec.tar.gz) = 3df66c2c2cfabcc418b2a943faa0f8bdd32bb6dfc1c90b7117b87ca9a3b5521dcb9e55abc4ca8c4a8b69444f18097aa1659e986c5d0d9762f4afea6234dcfd6d
commit e5bcb152f776589638bb9915635884964dc1f906
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Feb 10 16:38:39 2017 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
diff --git a/iwyu.spec b/iwyu.spec
index 9ffe012..3934b12 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -4,7 +4,7 @@
Name: iwyu
Version: 0.7
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -87,6 +87,9 @@ ln -s ../tests
%changelog
+* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
* Mon Dec 05 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.7-1
- Upstream release
commit 8b9cf2d5cc7b2901ac4560a75738a1b714585eee
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Mon Dec 5 21:01:13 2016 -0700
Update to 0.7
diff --git a/.gitignore b/.gitignore
index 0e484bd..ad01ef2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/include-what-you-use-98f3e62d371ae602061951115efc3b75ff255824.tar.gz
/include-what-you-use-e1fc7722673fd665c105d0aaed1dab1aeefce8c1.tar.gz
/include-what-you-use-f09b88aaa0b7bb88a7b36da2ba1cab233659df6e.tar.gz
+/include-what-you-use-136736fca90ad10e20b2ef728f0d52286e93ca46.tar.gz
diff --git a/iwyu.spec b/iwyu.spec
index d4d82f0..9ffe012 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,9 +1,9 @@
%global longname include-what-you-use
%global owner %{longname}
-%global commit0 f09b88aaa0b7bb88a7b36da2ba1cab233659df6e
+%global commit0 136736fca90ad10e20b2ef728f0d52286e93ca46
Name: iwyu
-Version: 0.6
+Version: 0.7
Release: 1%{?dist}
Summary: C/C++ source files #include analyzer based on clang
@@ -83,9 +83,13 @@ ln -s ../tests
%{_bindir}/fix_includes.py
%{_bindir}/iwyu_tool
%{_bindir}/iwyu_tool.py
+%{_datadir}/include-what-you-use/*.imp
%changelog
+* Mon Dec 05 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.7-1
+- Upstream release
+
* Thu May 12 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-1
- Upstream release
diff --git a/sources b/sources
index 0e755be..c2fd5d5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-cdd101f903b40488d43375f64dc9c99f include-what-you-use-f09b88aaa0b7bb88a7b36da2ba1cab233659df6e.tar.gz
+ffa20d581f66f6e28c67dd62be18c8bd include-what-you-use-136736fca90ad10e20b2ef728f0d52286e93ca46.tar.gz
commit 35c9839ca796491521200a98225df31a87e76011
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Thu May 12 18:27:27 2016 -0700
Upstream release of 0.6
diff --git a/.gitignore b/.gitignore
index 9ba5e14..0e484bd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/include-what-you-use-0.4.src.tar.gz
/include-what-you-use-98f3e62d371ae602061951115efc3b75ff255824.tar.gz
/include-what-you-use-e1fc7722673fd665c105d0aaed1dab1aeefce8c1.tar.gz
+/include-what-you-use-f09b88aaa0b7bb88a7b36da2ba1cab233659df6e.tar.gz
diff --git a/iwyu.spec b/iwyu.spec
index e2beed5..d4d82f0 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,16 +1,15 @@
%global longname include-what-you-use
%global owner %{longname}
-%global commit0 e1fc7722673fd665c105d0aaed1dab1aeefce8c1
+%global commit0 f09b88aaa0b7bb88a7b36da2ba1cab233659df6e
Name: iwyu
Version: 0.6
-Release: 0.2%{?dist}
+Release: 1%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
URL: https://github.com/%{owner}/%{longname}
Source0: https://github.com/%{owner}/%{longname}/archive/%{commit0}.tar.gz#/%{long...
-Patch0: iwyu_badinc_norand.patch
BuildRequires: cmake
BuildRequires: clang-devel >= 3.8
@@ -45,7 +44,6 @@ include-what-you-use violations, and suggest fixes for them.
%prep
%setup -q -n %{longname}-%{commit0}
-%patch0 -p1
%build
@@ -88,6 +86,9 @@ ln -s ../tests
%changelog
+* Thu May 12 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-1
+- Upstream release
+
* Wed Feb 24 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-0.2
- Remove use of rand() in badinc test
diff --git a/iwyu_badinc_norand.patch b/iwyu_badinc_norand.patch
deleted file mode 100644
index 482ab79..0000000
--- a/iwyu_badinc_norand.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From f6386d3d0e50dd124d34064c7b32eea6569b35eb Mon Sep 17 00:00:00 2001
-From: Kim Grasman <kim.grasman(a)gmail.com>
-Date: Tue, 23 Feb 2016 20:36:53 +0100
-Subject: [PATCH] Remove test dependency on <stdlib.h>
-
----
- tests/cxx/badinc.cc | 7 ++-----
- 1 file changed, 2 insertions(+), 5 deletions(-)
-
-diff --git a/tests/cxx/badinc.cc b/tests/cxx/badinc.cc
-index ce0b21a..de3fb18 100644
---- a/tests/cxx/badinc.cc
-+++ b/tests/cxx/badinc.cc
-@@ -1066,7 +1066,7 @@ class CC_TemplateClass {
- typedef I1_TemplateClass<A> i1_typedef;
-
- // Let's throw in per-class operator new/delete.
-- // IWYU: size_t is...*((<stddef.h>)|(stdio.h)|(stdlib.h)|(string.h)|(time.h)|(wchar.h))
-+ // IWYU: size_t is...*((<stddef.h>)|(stdio.h)|(string.h)|(time.h)|(wchar.h))
- void* operator new(size_t size) {
- B b;
- (void)b;
-@@ -1944,8 +1944,7 @@ int main() {
- int i2_macro_var = kI1ConstInt;
- #endif
-
-- // IWYU: rand is...*<stdlib.h>
-- return rand(); // use a function from stdlib.h
-+ return 0;
- }
-
- // TODO(csilvers): the delete of <locale> should be line 56, not 35
-@@ -1961,7 +1960,6 @@ tests/cxx/badinc.cc should add these lines:
- #include <ctype.h>
- #include <stdarg.h>
- #include <stddef.h>
--#include <stdlib.h>
- #include <list>
- #include <new>
- #include "tests/cxx/badinc-i1.h"
-@@ -1993,7 +1991,6 @@ The full include-list for tests/cxx/badinc.cc:
- #include <setjmp.h>
- #include <stdarg.h> // for va_list
- #include <stddef.h> // for offsetof
--#include <stdlib.h> // for rand
- #include <algorithm> // for find
- #include <fstream> // for fstream
- #include <list> // for list
diff --git a/sources b/sources
index 50601f3..0e755be 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-35c30f5ce910956e77639a5fe1a61d66 include-what-you-use-e1fc7722673fd665c105d0aaed1dab1aeefce8c1.tar.gz
+cdd101f903b40488d43375f64dc9c99f include-what-you-use-f09b88aaa0b7bb88a7b36da2ba1cab233659df6e.tar.gz
commit 4290eda6233b8a4187c270384d36a29d18e2e573
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Thu Feb 25 06:53:58 2016 -0700
Forgot to upload the source
diff --git a/.gitignore b/.gitignore
index 4cb8311..9ba5e14 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/include-what-you-use-3.5.src.tar.gz
/include-what-you-use-0.4.src.tar.gz
/include-what-you-use-98f3e62d371ae602061951115efc3b75ff255824.tar.gz
+/include-what-you-use-e1fc7722673fd665c105d0aaed1dab1aeefce8c1.tar.gz
diff --git a/sources b/sources
index 159c6cc..50601f3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6107250cd8614027b698900812d42b7e include-what-you-use-98f3e62d371ae602061951115efc3b75ff255824.tar.gz
+35c30f5ce910956e77639a5fe1a61d66 include-what-you-use-e1fc7722673fd665c105d0aaed1dab1aeefce8c1.tar.gz
commit db406ebedba5111c963a6356fa20cd14b7cbbb61
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Wed Feb 24 09:02:33 2016 -0700
Removing used of rand() in badinc test so tests will pass with gcc/glibc update
diff --git a/iwyu.spec b/iwyu.spec
index 616f8a0..e2beed5 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -4,12 +4,13 @@
Name: iwyu
Version: 0.6
-Release: 0.1%{?dist}
+Release: 0.2%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
URL: https://github.com/%{owner}/%{longname}
Source0: https://github.com/%{owner}/%{longname}/archive/%{commit0}.tar.gz#/%{long...
+Patch0: iwyu_badinc_norand.patch
BuildRequires: cmake
BuildRequires: clang-devel >= 3.8
@@ -44,6 +45,7 @@ include-what-you-use violations, and suggest fixes for them.
%prep
%setup -q -n %{longname}-%{commit0}
+%patch0 -p1
%build
@@ -86,6 +88,9 @@ ln -s ../tests
%changelog
+* Wed Feb 24 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-0.2
+- Remove use of rand() in badinc test
+
* Wed Feb 24 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-0.1
- Test build against 3.8
diff --git a/iwyu_badinc_norand.patch b/iwyu_badinc_norand.patch
new file mode 100644
index 0000000..482ab79
--- /dev/null
+++ b/iwyu_badinc_norand.patch
@@ -0,0 +1,48 @@
+From f6386d3d0e50dd124d34064c7b32eea6569b35eb Mon Sep 17 00:00:00 2001
+From: Kim Grasman <kim.grasman(a)gmail.com>
+Date: Tue, 23 Feb 2016 20:36:53 +0100
+Subject: [PATCH] Remove test dependency on <stdlib.h>
+
+---
+ tests/cxx/badinc.cc | 7 ++-----
+ 1 file changed, 2 insertions(+), 5 deletions(-)
+
+diff --git a/tests/cxx/badinc.cc b/tests/cxx/badinc.cc
+index ce0b21a..de3fb18 100644
+--- a/tests/cxx/badinc.cc
++++ b/tests/cxx/badinc.cc
+@@ -1066,7 +1066,7 @@ class CC_TemplateClass {
+ typedef I1_TemplateClass<A> i1_typedef;
+
+ // Let's throw in per-class operator new/delete.
+- // IWYU: size_t is...*((<stddef.h>)|(stdio.h)|(stdlib.h)|(string.h)|(time.h)|(wchar.h))
++ // IWYU: size_t is...*((<stddef.h>)|(stdio.h)|(string.h)|(time.h)|(wchar.h))
+ void* operator new(size_t size) {
+ B b;
+ (void)b;
+@@ -1944,8 +1944,7 @@ int main() {
+ int i2_macro_var = kI1ConstInt;
+ #endif
+
+- // IWYU: rand is...*<stdlib.h>
+- return rand(); // use a function from stdlib.h
++ return 0;
+ }
+
+ // TODO(csilvers): the delete of <locale> should be line 56, not 35
+@@ -1961,7 +1960,6 @@ tests/cxx/badinc.cc should add these lines:
+ #include <ctype.h>
+ #include <stdarg.h>
+ #include <stddef.h>
+-#include <stdlib.h>
+ #include <list>
+ #include <new>
+ #include "tests/cxx/badinc-i1.h"
+@@ -1993,7 +1991,6 @@ The full include-list for tests/cxx/badinc.cc:
+ #include <setjmp.h>
+ #include <stdarg.h> // for va_list
+ #include <stddef.h> // for offsetof
+-#include <stdlib.h> // for rand
+ #include <algorithm> // for find
+ #include <fstream> // for fstream
+ #include <list> // for list
commit 97127951980471f0e676d44408043e4262564363
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Wed Feb 24 08:51:47 2016 -0700
Using trunk to build since llvm was updated to 3.8
diff --git a/iwyu.spec b/iwyu.spec
index 3a96d94..616f8a0 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,10 +1,10 @@
%global longname include-what-you-use
%global owner %{longname}
-%global commit0 98f3e62d371ae602061951115efc3b75ff255824
+%global commit0 e1fc7722673fd665c105d0aaed1dab1aeefce8c1
Name: iwyu
-Version: 0.5
-Release: 3%{?dist}
+Version: 0.6
+Release: 0.1%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -12,7 +12,7 @@ URL: https://github.com/%{owner}/%{longname}
Source0: https://github.com/%{owner}/%{longname}/archive/%{commit0}.tar.gz#/%{long...
BuildRequires: cmake
-BuildRequires: clang-devel >= 3.7
+BuildRequires: clang-devel >= 3.8
# NOTE: This should probably listed as a dependency for clang-devel but it's
# not, so make it explicit here
BuildRequires: llvm-devel
@@ -86,6 +86,9 @@ ln -s ../tests
%changelog
+* Wed Feb 24 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.6-0.1
+- Test build against 3.8
+
* Thu Feb 04 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.5-3
- Changes for new llvm cmake build system
commit ae023bcfffe81cfbceae80a383d81c14749b0259
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Wed Feb 24 08:50:19 2016 -0700
Building against llvm-static again because of the changes made to llvm's use of cmake
diff --git a/iwyu.spec b/iwyu.spec
index 5bee715..3a96d94 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -16,6 +16,9 @@ BuildRequires: clang-devel >= 3.7
# NOTE: This should probably listed as a dependency for clang-devel but it's
# not, so make it explicit here
BuildRequires: llvm-devel
+# Some of the Clang libraries are only available statically and the use of the
+# static library was approved (see https://fedorahosted.org/fesco/ticket/1370 )
+BuildRequires: llvm-static
BuildRequires: zlib-devel
# Scripts are Python 2
BuildRequires: python2-devel
commit 14ddafb7dbae0fadf94664bd43e1b38dbd6d41a3
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Thu Feb 4 18:33:58 2016 -0700
Changes for new llvm cmake build system
diff --git a/iwyu.spec b/iwyu.spec
index 59abc8a..5bee715 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -4,7 +4,7 @@
Name: iwyu
Version: 0.5
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -16,9 +16,6 @@ BuildRequires: clang-devel >= 3.7
# NOTE: This should probably listed as a dependency for clang-devel but it's
# not, so make it explicit here
BuildRequires: llvm-devel
-# Some of the Clang libraries are only available statically and the use of the
-# static library was approved (see https://fedorahosted.org/fesco/ticket/1370 )
-BuildRequires: llvm-static
BuildRequires: zlib-devel
# Scripts are Python 2
BuildRequires: python2-devel
@@ -64,7 +61,7 @@ ln -s iwyu_tool.py iwyu_tool
%check
# Need to have the clang header's at the correct relative path (see https://github.com/include-what-you-use/include-what-you-use/issues/100 )
-ln -s /usr/lib lib
+ln -s %{_libdir} %{_lib}
cd build
PATH=$PWD:$PATH
ln -s ../fix_includes.py
@@ -86,6 +83,9 @@ ln -s ../tests
%changelog
+* Thu Feb 04 2016 Dave Johansen <davejohansen(a)gmail.com> - 0.5-3
+- Changes for new llvm cmake build system
+
* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
commit 92b867196b7be3fdb83389d2e11d5d3030a5cb68
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Thu Feb 4 00:44:05 2016 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
diff --git a/iwyu.spec b/iwyu.spec
index baa3732..59abc8a 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -4,7 +4,7 @@
Name: iwyu
Version: 0.5
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -86,6 +86,9 @@ ln -s ../tests
%changelog
+* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
* Wed Sep 30 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.5-1
- Upstream release
commit b101d83a8eaa15e494cb8eb4c6295680ede4217e
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Sat Jan 23 20:38:21 2016 -0700
Adding BuildRequires for ncurses-devel
diff --git a/iwyu.spec b/iwyu.spec
index f129984..baa3732 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -22,6 +22,7 @@ BuildRequires: llvm-static
BuildRequires: zlib-devel
# Scripts are Python 2
BuildRequires: python2-devel
+BuildRequires: ncurses-devel
# Virtual provide the long name
Provides: include-what-you-use = %{version}-%{release}
commit d3da081466b844c86d0a522bc80ad4bf63db5bab
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Sat Jan 23 14:41:39 2016 -0700
Simplifying the symlinking to the clang system headers
diff --git a/iwyu.spec b/iwyu.spec
index e0a05e5..f129984 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -63,9 +63,7 @@ ln -s iwyu_tool.py iwyu_tool
%check
# Need to have the clang header's at the correct relative path (see https://github.com/include-what-you-use/include-what-you-use/issues/100 )
-%global clang_version %(ls -t /usr/lib/clang/ | head -n 1 || echo "666")
-mkdir -p lib/clang/%{clang_version}/
-ln -s /usr/lib/clang/%{clang_version}/include lib/clang/%{clang_version}
+ln -s /usr/lib lib
cd build
PATH=$PWD:$PATH
ln -s ../fix_includes.py
commit 1c9f706820ffaacb73a77440cf82e71372ea0978
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Thu Dec 10 20:09:32 2015 -0700
Updating to 0.5 (for clang 3.7)
diff --git a/.gitignore b/.gitignore
index 3d6b510..4cb8311 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/include-what-you-use-3.4.src.tar.gz
/include-what-you-use-3.5.src.tar.gz
/include-what-you-use-0.4.src.tar.gz
+/include-what-you-use-98f3e62d371ae602061951115efc3b75ff255824.tar.gz
diff --git a/iwyu.spec b/iwyu.spec
index 88daa8a..e0a05e5 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,10 +1,10 @@
%global longname include-what-you-use
%global owner %{longname}
-%global commit0 a18b71320eaa6ca620558b87e0503cd2895efbcc
+%global commit0 98f3e62d371ae602061951115efc3b75ff255824
Name: iwyu
-Version: 0.4
-Release: 3%{?dist}
+Version: 0.5
+Release: 1%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -12,7 +12,7 @@ URL: https://github.com/%{owner}/%{longname}
Source0: https://github.com/%{owner}/%{longname}/archive/%{commit0}.tar.gz#/%{long...
BuildRequires: cmake
-BuildRequires: clang-devel >= 3.6
+BuildRequires: clang-devel >= 3.7
# NOTE: This should probably listed as a dependency for clang-devel but it's
# not, so make it explicit here
BuildRequires: llvm-devel
@@ -55,13 +55,17 @@ make %{?_smp_mflags}
%install
%make_install DESTDIR=%{buildroot} -C build
-install -pDm755 fix_includes.py %{buildroot}%{_bindir}/fix_includes
-install -pDm755 iwyu_tool.py %{buildroot}%{_bindir}/iwyu_tool
cd %{buildroot}%{_bindir}
ln -s include-what-you-use iwyu
+ln -s fix_includes.py fix_includes
+ln -s iwyu_tool.py iwyu_tool
%check
+# Need to have the clang header's at the correct relative path (see https://github.com/include-what-you-use/include-what-you-use/issues/100 )
+%global clang_version %(ls -t /usr/lib/clang/ | head -n 1 || echo "666")
+mkdir -p lib/clang/%{clang_version}/
+ln -s /usr/lib/clang/%{clang_version}/include lib/clang/%{clang_version}
cd build
PATH=$PWD:$PATH
ln -s ../fix_includes.py
@@ -77,10 +81,15 @@ ln -s ../tests
%{_bindir}/include-what-you-use
%{_bindir}/iwyu
%{_bindir}/fix_includes
+%{_bindir}/fix_includes.py
%{_bindir}/iwyu_tool
+%{_bindir}/iwyu_tool.py
%changelog
+* Wed Sep 30 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.5-1
+- Upstream release
+
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
diff --git a/sources b/sources
index 87b64e9..159c6cc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0140dcc30f5b4117381fb6f5948bee6f include-what-you-use-0.4.src.tar.gz
+6107250cd8614027b698900812d42b7e include-what-you-use-98f3e62d371ae602061951115efc3b75ff255824.tar.gz
commit e9c0f036a9952f2e1936c30bb1c57c66e85daf26
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Thu Dec 10 19:57:51 2015 -0700
Moving things over to github
diff --git a/iwyu.spec b/iwyu.spec
index cdc67fb..88daa8a 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,11 +1,15 @@
+%global longname include-what-you-use
+%global owner %{longname}
+%global commit0 a18b71320eaa6ca620558b87e0503cd2895efbcc
+
Name: iwyu
Version: 0.4
Release: 3%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
-URL: https://code.google.com/p/include-what-you-use/
-Source0: http://include-what-you-use.org/downloads/include-what-you-use-%{version}...
+URL: https://github.com/%{owner}/%{longname}
+Source0: https://github.com/%{owner}/%{longname}/archive/%{commit0}.tar.gz#/%{long...
BuildRequires: cmake
BuildRequires: clang-devel >= 3.6
@@ -38,7 +42,7 @@ include-what-you-use violations, and suggest fixes for them.
%prep
-%setup -q -n include-what-you-use
+%setup -q -n %{longname}-%{commit0}
%build
commit b1924804c8601c502cb41f4035823b680905b2af
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Wed Jun 17 11:40:29 2015 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
diff --git a/iwyu.spec b/iwyu.spec
index e8c8401..cdc67fb 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,6 +1,6 @@
Name: iwyu
Version: 0.4
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -77,6 +77,9 @@ ln -s ../tests
%changelog
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.4-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
* Thu Jun 04 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.4-2
- Added iwyu_tool
commit f2cfbc8863b0409c0f2fdbe738aaa231ef937b09
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Thu Jun 4 19:34:44 2015 -0700
Added iwyu_tool
diff --git a/iwyu.spec b/iwyu.spec
index 396c84d..e8c8401 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,6 +1,6 @@
Name: iwyu
Version: 0.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
@@ -52,6 +52,7 @@ make %{?_smp_mflags}
%install
%make_install DESTDIR=%{buildroot} -C build
install -pDm755 fix_includes.py %{buildroot}%{_bindir}/fix_includes
+install -pDm755 iwyu_tool.py %{buildroot}%{_bindir}/iwyu_tool
cd %{buildroot}%{_bindir}
ln -s include-what-you-use iwyu
@@ -72,9 +73,13 @@ ln -s ../tests
%{_bindir}/include-what-you-use
%{_bindir}/iwyu
%{_bindir}/fix_includes
+%{_bindir}/iwyu_tool
%changelog
+* Thu Jun 04 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.4-2
+- Added iwyu_tool
+
* Mon Jun 01 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.4-1
- Update to 0.4 based on clang 3.6.0
commit ab8c3b65674a4b3cb46fa122bc53c3d9bfba4894
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Thu Jun 4 19:33:46 2015 -0700
Fixing Source0 URL
diff --git a/iwyu.spec b/iwyu.spec
index 1e98d9e..396c84d 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -5,7 +5,7 @@ Summary: C/C++ source files #include analyzer based on clang
License: NCSA
URL: https://code.google.com/p/include-what-you-use/
-Source0: http://include-what-you-use.com/downloads/include-what-you-use-%{version}...
+Source0: http://include-what-you-use.org/downloads/include-what-you-use-%{version}...
BuildRequires: cmake
BuildRequires: clang-devel >= 3.6
commit 9d23be13c38c1cb49aa8d5aaecfa0c6cd79ae28e
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Thu Jun 4 19:32:05 2015 -0700
Removing patch that's no longer used
diff --git a/iwyu-link_dir.patch b/iwyu-link_dir.patch
deleted file mode 100644
index 4e495a4..0000000
--- a/iwyu-link_dir.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -5,12 +5,11 @@
- if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
- message(STATUS "IWYU out-of-tree configuration")
-
-- if( NOT DEFINED LLVM_PATH )
-- message(FATAL_ERROR "LLVM_PATH must be provided using -DLLVM_PATH=<path to llvm package root>")
-+ if( NOT DEFINED LLVM_LIB_PATH )
-+ message(FATAL_ERROR "LLVM_LIB_PATH must be provided using -DLLVM_LIB_PATH=<path to llvm package root>")
- endif()
-
-- link_directories(${LLVM_PATH}/lib)
-- include_directories(${LLVM_PATH}/include)
-+ link_directories(${LLVM_LIB_PATH})
-
- add_definitions(
- -D__STDC_LIMIT_MACROS
commit 72ccb5880e99e0ffcd72d2a9835069604f97b1ef
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Tue Jun 2 19:18:04 2015 -0700
Putting back the ExclusiveArch that was accidentally removed during the update to 0.4
diff --git a/iwyu.spec b/iwyu.spec
index 3ac4766..1e98d9e 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -23,6 +23,10 @@ BuildRequires: python2-devel
Provides: include-what-you-use = %{version}-%{release}
Provides: include-what-you-use%{?_isa} = %{version}-%{release}
+# It isn't building on ARM, so just exclude it for now (see https://bugzilla.redhat.com/show_bug.cgi?id=1192713 )
+# Also, the tests use x86 assembly right now (see https://groups.google.com/forum/#!topic/include-what-you-use/lEuN5tr-0y0 )
+ExclusiveArch: %{ix86} x86_64
+
%description
"Include what you use" means this: for every symbol (type, function, variable,
commit faddf85af84eec90c0539974c3695cffb4f73308
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Mon Jun 1 22:09:06 2015 -0700
Adding source tarball
diff --git a/.gitignore b/.gitignore
index 5f0bab2..3d6b510 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/include-what-you-use-3.4.src.tar.gz
/include-what-you-use-3.5.src.tar.gz
+/include-what-you-use-0.4.src.tar.gz
diff --git a/sources b/sources
index 2f8cfa9..87b64e9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-27e8a18a91b45df8b99eb78057f2bba5 include-what-you-use-3.5.src.tar.gz
+0140dcc30f5b4117381fb6f5948bee6f include-what-you-use-0.4.src.tar.gz
commit 2f519d1e93e85538a583c6a85ee30587d380df0b
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Mon Jun 1 22:02:02 2015 -0700
Updating to 0.4 based on clang 3.6.0
diff --git a/iwyu.spec b/iwyu.spec
index d1b9450..3ac4766 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,19 +1,14 @@
-# The base version of clang being built against
-%global clang_base_version 3.5
-
Name: iwyu
-Version: 0.3
+Version: 0.4
Release: 1%{?dist}
Summary: C/C++ source files #include analyzer based on clang
License: NCSA
URL: https://code.google.com/p/include-what-you-use/
-Source0: http://include-what-you-use.com/downloads/include-what-you-use-%{clang_ba...
-
-Patch1: iwyu-link_dir.patch
+Source0: http://include-what-you-use.com/downloads/include-what-you-use-%{version}...
BuildRequires: cmake
-BuildRequires: clang-devel
+BuildRequires: clang-devel >= 3.6
# NOTE: This should probably listed as a dependency for clang-devel but it's
# not, so make it explicit here
BuildRequires: llvm-devel
@@ -28,10 +23,6 @@ BuildRequires: python2-devel
Provides: include-what-you-use = %{version}-%{release}
Provides: include-what-you-use%{?_isa} = %{version}-%{release}
-# It isn't building on ARM, so just exclude it for now (see https://bugzilla.redhat.com/show_bug.cgi?id=1192713 )
-# Also, the tests use x86 assembly right now (see https://groups.google.com/forum/#!topic/include-what-you-use/lEuN5tr-0y0 )
-ExclusiveArch: %{ix86} x86_64
-
%description
"Include what you use" means this: for every symbol (type, function, variable,
@@ -44,20 +35,18 @@ include-what-you-use violations, and suggest fixes for them.
%prep
%setup -q -n include-what-you-use
-%patch1 -p1
%build
mkdir build
cd build
-%cmake -DLLVM_LIB_PATH=%{_libdir}/llvm ..
+# NOTE: Have to specify both lib and include dir for it to work
+%cmake -DIWYU_LLVM_LIB_PATH=%{_libdir}/llvm -DIWYU_LLVM_INCLUDE_PATH=%{_includedir} ..
make %{?_smp_mflags}
%install
%make_install DESTDIR=%{buildroot} -C build
-grep -m 1 '^#!/usr/bin/python\b' fix_includes.py || exit -1
-sed -i '1 s|^#!/usr/bin/python\b|#!%{__python2}|' fix_includes.py
install -pDm755 fix_includes.py %{buildroot}%{_bindir}/fix_includes
cd %{buildroot}%{_bindir}
ln -s include-what-you-use iwyu
@@ -82,6 +71,9 @@ ln -s ../tests
%changelog
+* Mon Jun 01 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.4-1
+- Update to 0.4 based on clang 3.6.0
+
* Tue Jan 27 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.3-1
- Update to 0.3 based on clang 3.5.0
commit 90f6f4162f2ec89483adbdff66c5d9fbc1053b37
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Wed Feb 25 20:30:47 2015 -0700
Making it exclusive x86 since the tests use x86 assembly right now
diff --git a/iwyu.spec b/iwyu.spec
index 10b1e24..d1b9450 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -29,7 +29,8 @@ Provides: include-what-you-use = %{version}-%{release}
Provides: include-what-you-use%{?_isa} = %{version}-%{release}
# It isn't building on ARM, so just exclude it for now (see https://bugzilla.redhat.com/show_bug.cgi?id=1192713 )
-ExcludeArch: %{arm}
+# Also, the tests use x86 assembly right now (see https://groups.google.com/forum/#!topic/include-what-you-use/lEuN5tr-0y0 )
+ExclusiveArch: %{ix86} x86_64
%description
commit ec41659f7b09f9c5b18b9bd6e8045590351bbf8c
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Sat Feb 14 08:48:48 2015 -0700
Exclude ARM since it's failing to build there
diff --git a/iwyu.spec b/iwyu.spec
index 9d9cd12..10b1e24 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -28,6 +28,9 @@ BuildRequires: python2-devel
Provides: include-what-you-use = %{version}-%{release}
Provides: include-what-you-use%{?_isa} = %{version}-%{release}
+# It isn't building on ARM, so just exclude it for now (see https://bugzilla.redhat.com/show_bug.cgi?id=1192713 )
+ExcludeArch: %{arm}
+
%description
"Include what you use" means this: for every symbol (type, function, variable,
commit 4ae256d2b6e1e0b500056bb9e95e573b0759c27e
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Sat Feb 14 08:06:17 2015 -0700
Update to 0.3 based on clang 3.5.0
diff --git a/.gitignore b/.gitignore
index 87d35b3..5f0bab2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/include-what-you-use-3.4.src.tar.gz
+/include-what-you-use-3.5.src.tar.gz
diff --git a/iwyu.spec b/iwyu.spec
index 7a02cf1..9d9cd12 100644
--- a/iwyu.spec
+++ b/iwyu.spec
@@ -1,12 +1,11 @@
# The base version of clang being built against
-%global clang_base_version 3.4
+%global clang_base_version 3.5
Name: iwyu
-Version: 0.2
+Version: 0.3
Release: 1%{?dist}
Summary: C/C++ source files #include analyzer based on clang
-Group: Development/Languages
License: NCSA
URL: https://code.google.com/p/include-what-you-use/
Source0: http://include-what-you-use.com/downloads/include-what-you-use-%{clang_ba...
@@ -29,11 +28,6 @@ BuildRequires: python2-devel
Provides: include-what-you-use = %{version}-%{release}
Provides: include-what-you-use%{?_isa} = %{version}-%{release}
-# Make sure the python macro is available
-%if 0%{?rhel} && 0%{?rhel} <= 6
-%{!?__python2: %global __python2 /usr/bin/python2}
-%endif
-
%description
"Include what you use" means this: for every symbol (type, function, variable,
@@ -66,10 +60,6 @@ ln -s include-what-you-use iwyu
%check
-# Need to have the clang header's at the correct relative path (see https://code.google.com/p/include-what-you-use/issues/detail?id=100)
-%global clang_version %{clang_base_version}.2
-mkdir -p lib/clang/%{clang_version}/
-ln -s /usr/lib/clang/%{clang_version}/include lib/clang/%{clang_version}
cd build
PATH=$PWD:$PATH
ln -s ../fix_includes.py
@@ -88,5 +78,8 @@ ln -s ../tests
%changelog
+* Tue Jan 27 2015 Dave Johansen <davejohansen(a)gmail.com> - 0.3-1
+- Update to 0.3 based on clang 3.5.0
+
* Fri Apr 25 2014 Dave Johansen <davejohansen(a)gmail.com> - 0.2-1
- Initial RPM release
diff --git a/sources b/sources
index 9f6e7f8..2f8cfa9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-50e4548862c4295fc971c9aa84a610e5 include-what-you-use-3.4.src.tar.gz
+27e8a18a91b45df8b99eb78057f2bba5 include-what-you-use-3.5.src.tar.gz
commit 0c758bd34eadd138bbab2eb00e1afde3ce0f5ae3
Author: Dave Johansen <davejohansen(a)gmail.com>
Date: Sat Feb 14 08:02:26 2015 -0700
Initial RPM release
diff --git a/.gitignore b/.gitignore
index e69de29..87d35b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/include-what-you-use-3.4.src.tar.gz
diff --git a/iwyu-link_dir.patch b/iwyu-link_dir.patch
new file mode 100644
index 0000000..4e495a4
--- /dev/null
+++ b/iwyu-link_dir.patch
@@ -0,0 +1,18 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -5,12 +5,11 @@
+ if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
+ message(STATUS "IWYU out-of-tree configuration")
+
+- if( NOT DEFINED LLVM_PATH )
+- message(FATAL_ERROR "LLVM_PATH must be provided using -DLLVM_PATH=<path to llvm package root>")
++ if( NOT DEFINED LLVM_LIB_PATH )
++ message(FATAL_ERROR "LLVM_LIB_PATH must be provided using -DLLVM_LIB_PATH=<path to llvm package root>")
+ endif()
+
+- link_directories(${LLVM_PATH}/lib)
+- include_directories(${LLVM_PATH}/include)
++ link_directories(${LLVM_LIB_PATH})
+
+ add_definitions(
+ -D__STDC_LIMIT_MACROS
diff --git a/iwyu.spec b/iwyu.spec
new file mode 100644
index 0000000..7a02cf1
--- /dev/null
+++ b/iwyu.spec
@@ -0,0 +1,92 @@
+# The base version of clang being built against
+%global clang_base_version 3.4
+
+Name: iwyu
+Version: 0.2
+Release: 1%{?dist}
+Summary: C/C++ source files #include analyzer based on clang
+
+Group: Development/Languages
+License: NCSA
+URL: https://code.google.com/p/include-what-you-use/
+Source0: http://include-what-you-use.com/downloads/include-what-you-use-%{clang_ba...
+
+Patch1: iwyu-link_dir.patch
+
+BuildRequires: cmake
+BuildRequires: clang-devel
+# NOTE: This should probably listed as a dependency for clang-devel but it's
+# not, so make it explicit here
+BuildRequires: llvm-devel
+# Some of the Clang libraries are only available statically and the use of the
+# static library was approved (see https://fedorahosted.org/fesco/ticket/1370 )
+BuildRequires: llvm-static
+BuildRequires: zlib-devel
+# Scripts are Python 2
+BuildRequires: python2-devel
+
+# Virtual provide the long name
+Provides: include-what-you-use = %{version}-%{release}
+Provides: include-what-you-use%{?_isa} = %{version}-%{release}
+
+# Make sure the python macro is available
+%if 0%{?rhel} && 0%{?rhel} <= 6
+%{!?__python2: %global __python2 /usr/bin/python2}
+%endif
+
+
+%description
+"Include what you use" means this: for every symbol (type, function, variable,
+or macro) that you use in foo.cc (or foo.cpp), either foo.cc or foo.h
+should #include a .h file that exports the declaration of that symbol. The
+include-what-you-use tool is a program that can be built with the clang
+libraries in order to analyze #includes of source files to find
+include-what-you-use violations, and suggest fixes for them.
+
+
+%prep
+%setup -q -n include-what-you-use
+%patch1 -p1
+
+
+%build
+mkdir build
+cd build
+%cmake -DLLVM_LIB_PATH=%{_libdir}/llvm ..
+make %{?_smp_mflags}
+
+
+%install
+%make_install DESTDIR=%{buildroot} -C build
+grep -m 1 '^#!/usr/bin/python\b' fix_includes.py || exit -1
+sed -i '1 s|^#!/usr/bin/python\b|#!%{__python2}|' fix_includes.py
+install -pDm755 fix_includes.py %{buildroot}%{_bindir}/fix_includes
+cd %{buildroot}%{_bindir}
+ln -s include-what-you-use iwyu
+
+
+%check
+# Need to have the clang header's at the correct relative path (see https://code.google.com/p/include-what-you-use/issues/detail?id=100)
+%global clang_version %{clang_base_version}.2
+mkdir -p lib/clang/%{clang_version}/
+ln -s /usr/lib/clang/%{clang_version}/include lib/clang/%{clang_version}
+cd build
+PATH=$PWD:$PATH
+ln -s ../fix_includes.py
+ln -s ../fix_includes_test.py
+ln -s ../iwyu_test_util.py
+ln -s ../run_iwyu_tests.py
+ln -s ../tests
+%{__python2} run_iwyu_tests.py
+%{__python2} fix_includes_test.py
+
+
+%files
+%{_bindir}/include-what-you-use
+%{_bindir}/iwyu
+%{_bindir}/fix_includes
+
+
+%changelog
+* Fri Apr 25 2014 Dave Johansen <davejohansen(a)gmail.com> - 0.2-1
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..9f6e7f8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+50e4548862c4295fc971c9aa84a610e5 include-what-you-use-3.4.src.tar.gz
1 year, 2 months
Architecture specific change in rpms/rust-hyperfine.git
by githook-noreply@fedoraproject.org
The package rpms/rust-hyperfine.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-hyperfine.git/commit/?id=085....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 0852fce1e087067414a8d62798a884085bf67091
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Mar 27 11:41:06 2023 +0200
Update to version 1.16.1; Fixes RHBZ#2124811
diff --git a/.gitignore b/.gitignore
index 48938c1..3bd639c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/hyperfine-1.11.0.crate
/hyperfine-1.12.0.crate
/hyperfine-1.14.0.crate
+/hyperfine-1.16.1.crate
diff --git a/LICENSE.dependencies b/LICENSE.dependencies
deleted file mode 100644
index a953222..0000000
--- a/LICENSE.dependencies
+++ /dev/null
@@ -1,63 +0,0 @@
-Apache-2.0 OR BSL-1.0: ryu v1.0.11
-Apache-2.0 OR MIT: indexmap v1.9.1
-MIT OR Apache-2.0: anyhow v1.0.59
-MIT OR Apache-2.0: arrayvec v0.7.2
-MIT OR Apache-2.0: bitflags v1.3.2
-MIT OR Apache-2.0: bstr v0.2.17
-MIT OR Apache-2.0: cfg-if v1.0.0
-MIT OR Apache-2.0: clap v3.2.16
-MIT OR Apache-2.0: clap_lex v0.2.4
-MIT OR Apache-2.0: getrandom v0.2.7
-MIT OR Apache-2.0: hashbrown v0.12.3
-MIT OR Apache-2.0: hyperfine v1.14.0
-MIT OR Apache-2.0: itoa v0.4.8
-MIT OR Apache-2.0: itoa v1.0.3
-MIT OR Apache-2.0: lazy_static v1.4.0
-MIT OR Apache-2.0: libc v0.2.127
-MIT OR Apache-2.0: num v0.3.1
-MIT OR Apache-2.0: num-bigint v0.3.3
-MIT OR Apache-2.0: num-complex v0.3.1
-MIT OR Apache-2.0: num-integer v0.1.45
-MIT OR Apache-2.0: num-iter v0.1.43
-MIT OR Apache-2.0: num-rational v0.3.2
-MIT OR Apache-2.0: num-traits v0.2.15
-MIT OR Apache-2.0: once_cell v1.13.0
-MIT OR Apache-2.0: os_str_bytes v6.2.0
-MIT OR Apache-2.0: ppv-lite86 v0.2.16
-MIT OR Apache-2.0: rand v0.6.5
-MIT OR Apache-2.0: rand v0.8.5
-MIT OR Apache-2.0: rand_chacha v0.1.1
-MIT OR Apache-2.0: rand_chacha v0.3.1
-MIT OR Apache-2.0: rand_core v0.3.1
-MIT OR Apache-2.0: rand_core v0.4.2
-MIT OR Apache-2.0: rand_core v0.6.3
-MIT OR Apache-2.0: rand_hc v0.1.0
-MIT OR Apache-2.0: rand_isaac v0.1.1
-MIT OR Apache-2.0: rand_jitter v0.1.4
-MIT OR Apache-2.0: rand_os v0.1.3
-MIT OR Apache-2.0: rand_pcg v0.1.2
-MIT OR Apache-2.0: rand_xorshift v0.1.1
-MIT OR Apache-2.0: regex v1.6.0
-MIT OR Apache-2.0: regex-syntax v0.6.27
-MIT OR Apache-2.0: serde v1.0.141
-MIT OR Apache-2.0: serde_json v1.0.83
-MIT OR Apache-2.0: shell-words v1.1.0
-MIT OR Apache-2.0: terminal_size v0.1.17
-MIT OR Apache-2.0: thiserror v1.0.32
-MIT: atty v0.2.14
-MIT: console v0.15.1
-MIT: indicatif v0.16.2
-MIT: memoffset v0.6.5
-MIT: nix v0.24.2
-MIT: number_prefix v0.4.0
-MIT: rust_decimal v1.26.1
-MIT: statistical v1.0.0
-MIT: strsim v0.10.0
-MIT: textwrap v0.15.0
-MPL-2.0: colored v2.0.0
-Unlicense OR MIT: aho-corasick v0.7.18
-Unlicense OR MIT: csv v1.1.6
-Unlicense OR MIT: csv-core v0.1.10
-Unlicense OR MIT: memchr v2.5.0
-Unlicense OR MIT: regex-automata v0.1.10
-Unlicense OR MIT: termcolor v1.1.3
diff --git a/README.md b/README.md
deleted file mode 100644
index 3f3d666..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-hyperfine
-
-The rust-hyperfine package
\ No newline at end of file
diff --git a/hyperfine-fix-metadata-auto.diff b/hyperfine-fix-metadata-auto.diff
index b41fcf5..cecf81e 100644
--- a/hyperfine-fix-metadata-auto.diff
+++ b/hyperfine-fix-metadata-auto.diff
@@ -1,7 +1,17 @@
---- hyperfine-1.14.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ hyperfine-1.14.0/Cargo.toml 1970-01-01T00:00:01+00:00
-@@ -100,10 +100,3 @@
- version = "0.24.1"
+--- hyperfine-1.16.1/Cargo.toml 1970-01-01T00:00:01+00:00
++++ hyperfine-1.16.1/Cargo.toml 2023-03-27T09:24:23.791230+00:00
+@@ -100,9 +100,6 @@
+ [features]
+ windows_process_extensions_main_thread_handle = []
+
+-[target."cfg(all(windows, not(windows_process_extensions_main_thread_handle)))".dependencies.once_cell]
+-version = "1.17"
+-
+ [target."cfg(not(windows))".dependencies.libc]
+ version = "0.2"
+
+@@ -110,13 +107,3 @@
+ version = "0.26.2"
features = ["zerocopy"]
-[target."cfg(windows)".dependencies.winapi]
@@ -10,4 +20,7 @@
- "processthreadsapi",
- "minwindef",
- "winnt",
+- "jobapi2",
+- "tlhelp32",
+- "handleapi",
-]
diff --git a/rust-hyperfine.spec b/rust-hyperfine.spec
index ccb95b9..de9a0ef 100644
--- a/rust-hyperfine.spec
+++ b/rust-hyperfine.spec
@@ -1,27 +1,24 @@
-# Generated by rust2rpm 22
+# Generated by rust2rpm 24
%bcond_without check
%global crate hyperfine
Name: rust-hyperfine
-Version: 1.14.0
+Version: 1.16.1
Release: %autorelease
Summary: Command-line benchmarking tool
# Upstream license specification: MIT/Apache-2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/hyperfine
-Source0: %{crates_source}
-Source1: LICENSE.dependencies
+Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
Patch: hyperfine-fix-metadata-auto.diff
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging >= 21
+BuildRequires: rust-packaging >= 23
%global _description %{expand:
-Command-line benchmarking tool.}
+A command-line benchmarking tool.}
%description %{_description}
@@ -29,6 +26,7 @@ Command-line benchmarking tool.}
Summary: %{summary}
# Apache-2.0 OR BSL-1.0
# Apache-2.0 OR MIT
+# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
# MIT
# MIT OR Apache-2.0
# MPL-2.0
@@ -46,19 +44,12 @@ License: MIT AND MPL-2.0 AND (Apache-2.0 OR BSL-1.0)
%doc README.md
%{_bindir}/hyperfine
%{_mandir}/man1/hyperfine.1*
-%dir %{_datadir}/bash-completion
-%dir %{_datadir}/bash-completion/completions
-%{_datadir}/bash-completion/completions/hyperfine.bash
-%dir %{_datadir}/fish
-%dir %{_datadir}/fish/vendor_completions.d
-%{_datadir}/fish/vendor_completions.d/hyperfine.fish
-%dir %{_datadir}/zsh
-%dir %{_datadir}/zsh/site-functions
-%{_datadir}/zsh/site-functions/_hyperfine
+%{bash_completions_dir}/hyperfine.bash
+%{fish_completions_dir}/hyperfine.fish
+%{zsh_completions_dir}/_hyperfine
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
-cp %{SOURCE1} .
%cargo_prep
%generate_buildrequires
@@ -66,17 +57,20 @@ cp %{SOURCE1} .
%build
%cargo_build
+%cargo_license_summary
+%{cargo_license} > LICENSE.dependencies
%install
%cargo_install
-install -Dpm0644 -t %{buildroot}%{_mandir}/man1 \
- doc/hyperfine.1
-install -Dpm0644 -t %{buildroot}%{_datadir}/bash-completion/completions \
- target/release/build/%{crate}-*/out/hyperfine.bash
-install -Dpm0644 -t %{buildroot}%{_datadir}/fish/vendor_completions.d \
- target/release/build/%{crate}-*/out/hyperfine.fish
-install -Dpm0644 -t %{buildroot}%{_datadir}/zsh/site-functions \
- target/release/build/%{crate}-*/out/_hyperfine
+# install manpage
+install -Dpm 0644 doc/hyperfine.1 -t %{buildroot}/%{_mandir}/man1
+# install shell completions
+install -Dpm 0644 target/release/build/%{crate}-*/out/hyperfine.bash \
+ -t %{buildroot}/%{bash_completions_dir}
+install -Dpm 0644 target/release/build/%{crate}-*/out/hyperfine.fish \
+ -t %{buildroot}/%{fish_completions_dir}
+install -Dpm 0644 target/release/build/%{crate}-*/out/_hyperfine \
+ -t %{buildroot}/%{zsh_completions_dir}
%if %{with check}
%check
diff --git a/sources b/sources
index 20fb6b5..6473fc6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hyperfine-1.14.0.crate) = e82a0c516663b6d78183d13606a18eed98bbb05f8145c3e93361510303991a34cfd27e1d570621ead61684bde9bc0fd7c472111c2c974f330fc06f27d83de169
+SHA512 (hyperfine-1.16.1.crate) = 9540b4e1270132f04837cccf8d7f94da457758b9d328b254dbe963d3b5b609c1928db2331d8bc3ba728603b1e293928e2610154d13e9f4ffc8b50b874765bb88
commit c23aab66d58946b680139495b552b240db3ed3ae
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sun Feb 5 00:03:43 2023 +0100
Rebuild for fixed frame pointer compiler flags in Rust RPM macros
commit e2cfd0d6ffd94ec3df0ef5e4442ce27bfae74c3a
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 20 23:24:29 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
1 year, 2 months
Architecture specific change in rpms/rust-hyperfine.git
by githook-noreply@fedoraproject.org
The package rpms/rust-hyperfine.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-hyperfine.git/commit/?id=085....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 0852fce1e087067414a8d62798a884085bf67091
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Mar 27 11:41:06 2023 +0200
Update to version 1.16.1; Fixes RHBZ#2124811
diff --git a/.gitignore b/.gitignore
index 48938c1..3bd639c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/hyperfine-1.11.0.crate
/hyperfine-1.12.0.crate
/hyperfine-1.14.0.crate
+/hyperfine-1.16.1.crate
diff --git a/LICENSE.dependencies b/LICENSE.dependencies
deleted file mode 100644
index a953222..0000000
--- a/LICENSE.dependencies
+++ /dev/null
@@ -1,63 +0,0 @@
-Apache-2.0 OR BSL-1.0: ryu v1.0.11
-Apache-2.0 OR MIT: indexmap v1.9.1
-MIT OR Apache-2.0: anyhow v1.0.59
-MIT OR Apache-2.0: arrayvec v0.7.2
-MIT OR Apache-2.0: bitflags v1.3.2
-MIT OR Apache-2.0: bstr v0.2.17
-MIT OR Apache-2.0: cfg-if v1.0.0
-MIT OR Apache-2.0: clap v3.2.16
-MIT OR Apache-2.0: clap_lex v0.2.4
-MIT OR Apache-2.0: getrandom v0.2.7
-MIT OR Apache-2.0: hashbrown v0.12.3
-MIT OR Apache-2.0: hyperfine v1.14.0
-MIT OR Apache-2.0: itoa v0.4.8
-MIT OR Apache-2.0: itoa v1.0.3
-MIT OR Apache-2.0: lazy_static v1.4.0
-MIT OR Apache-2.0: libc v0.2.127
-MIT OR Apache-2.0: num v0.3.1
-MIT OR Apache-2.0: num-bigint v0.3.3
-MIT OR Apache-2.0: num-complex v0.3.1
-MIT OR Apache-2.0: num-integer v0.1.45
-MIT OR Apache-2.0: num-iter v0.1.43
-MIT OR Apache-2.0: num-rational v0.3.2
-MIT OR Apache-2.0: num-traits v0.2.15
-MIT OR Apache-2.0: once_cell v1.13.0
-MIT OR Apache-2.0: os_str_bytes v6.2.0
-MIT OR Apache-2.0: ppv-lite86 v0.2.16
-MIT OR Apache-2.0: rand v0.6.5
-MIT OR Apache-2.0: rand v0.8.5
-MIT OR Apache-2.0: rand_chacha v0.1.1
-MIT OR Apache-2.0: rand_chacha v0.3.1
-MIT OR Apache-2.0: rand_core v0.3.1
-MIT OR Apache-2.0: rand_core v0.4.2
-MIT OR Apache-2.0: rand_core v0.6.3
-MIT OR Apache-2.0: rand_hc v0.1.0
-MIT OR Apache-2.0: rand_isaac v0.1.1
-MIT OR Apache-2.0: rand_jitter v0.1.4
-MIT OR Apache-2.0: rand_os v0.1.3
-MIT OR Apache-2.0: rand_pcg v0.1.2
-MIT OR Apache-2.0: rand_xorshift v0.1.1
-MIT OR Apache-2.0: regex v1.6.0
-MIT OR Apache-2.0: regex-syntax v0.6.27
-MIT OR Apache-2.0: serde v1.0.141
-MIT OR Apache-2.0: serde_json v1.0.83
-MIT OR Apache-2.0: shell-words v1.1.0
-MIT OR Apache-2.0: terminal_size v0.1.17
-MIT OR Apache-2.0: thiserror v1.0.32
-MIT: atty v0.2.14
-MIT: console v0.15.1
-MIT: indicatif v0.16.2
-MIT: memoffset v0.6.5
-MIT: nix v0.24.2
-MIT: number_prefix v0.4.0
-MIT: rust_decimal v1.26.1
-MIT: statistical v1.0.0
-MIT: strsim v0.10.0
-MIT: textwrap v0.15.0
-MPL-2.0: colored v2.0.0
-Unlicense OR MIT: aho-corasick v0.7.18
-Unlicense OR MIT: csv v1.1.6
-Unlicense OR MIT: csv-core v0.1.10
-Unlicense OR MIT: memchr v2.5.0
-Unlicense OR MIT: regex-automata v0.1.10
-Unlicense OR MIT: termcolor v1.1.3
diff --git a/README.md b/README.md
deleted file mode 100644
index 3f3d666..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-hyperfine
-
-The rust-hyperfine package
\ No newline at end of file
diff --git a/hyperfine-fix-metadata-auto.diff b/hyperfine-fix-metadata-auto.diff
index b41fcf5..cecf81e 100644
--- a/hyperfine-fix-metadata-auto.diff
+++ b/hyperfine-fix-metadata-auto.diff
@@ -1,7 +1,17 @@
---- hyperfine-1.14.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ hyperfine-1.14.0/Cargo.toml 1970-01-01T00:00:01+00:00
-@@ -100,10 +100,3 @@
- version = "0.24.1"
+--- hyperfine-1.16.1/Cargo.toml 1970-01-01T00:00:01+00:00
++++ hyperfine-1.16.1/Cargo.toml 2023-03-27T09:24:23.791230+00:00
+@@ -100,9 +100,6 @@
+ [features]
+ windows_process_extensions_main_thread_handle = []
+
+-[target."cfg(all(windows, not(windows_process_extensions_main_thread_handle)))".dependencies.once_cell]
+-version = "1.17"
+-
+ [target."cfg(not(windows))".dependencies.libc]
+ version = "0.2"
+
+@@ -110,13 +107,3 @@
+ version = "0.26.2"
features = ["zerocopy"]
-[target."cfg(windows)".dependencies.winapi]
@@ -10,4 +20,7 @@
- "processthreadsapi",
- "minwindef",
- "winnt",
+- "jobapi2",
+- "tlhelp32",
+- "handleapi",
-]
diff --git a/rust-hyperfine.spec b/rust-hyperfine.spec
index ccb95b9..de9a0ef 100644
--- a/rust-hyperfine.spec
+++ b/rust-hyperfine.spec
@@ -1,27 +1,24 @@
-# Generated by rust2rpm 22
+# Generated by rust2rpm 24
%bcond_without check
%global crate hyperfine
Name: rust-hyperfine
-Version: 1.14.0
+Version: 1.16.1
Release: %autorelease
Summary: Command-line benchmarking tool
# Upstream license specification: MIT/Apache-2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/hyperfine
-Source0: %{crates_source}
-Source1: LICENSE.dependencies
+Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
Patch: hyperfine-fix-metadata-auto.diff
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging >= 21
+BuildRequires: rust-packaging >= 23
%global _description %{expand:
-Command-line benchmarking tool.}
+A command-line benchmarking tool.}
%description %{_description}
@@ -29,6 +26,7 @@ Command-line benchmarking tool.}
Summary: %{summary}
# Apache-2.0 OR BSL-1.0
# Apache-2.0 OR MIT
+# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
# MIT
# MIT OR Apache-2.0
# MPL-2.0
@@ -46,19 +44,12 @@ License: MIT AND MPL-2.0 AND (Apache-2.0 OR BSL-1.0)
%doc README.md
%{_bindir}/hyperfine
%{_mandir}/man1/hyperfine.1*
-%dir %{_datadir}/bash-completion
-%dir %{_datadir}/bash-completion/completions
-%{_datadir}/bash-completion/completions/hyperfine.bash
-%dir %{_datadir}/fish
-%dir %{_datadir}/fish/vendor_completions.d
-%{_datadir}/fish/vendor_completions.d/hyperfine.fish
-%dir %{_datadir}/zsh
-%dir %{_datadir}/zsh/site-functions
-%{_datadir}/zsh/site-functions/_hyperfine
+%{bash_completions_dir}/hyperfine.bash
+%{fish_completions_dir}/hyperfine.fish
+%{zsh_completions_dir}/_hyperfine
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
-cp %{SOURCE1} .
%cargo_prep
%generate_buildrequires
@@ -66,17 +57,20 @@ cp %{SOURCE1} .
%build
%cargo_build
+%cargo_license_summary
+%{cargo_license} > LICENSE.dependencies
%install
%cargo_install
-install -Dpm0644 -t %{buildroot}%{_mandir}/man1 \
- doc/hyperfine.1
-install -Dpm0644 -t %{buildroot}%{_datadir}/bash-completion/completions \
- target/release/build/%{crate}-*/out/hyperfine.bash
-install -Dpm0644 -t %{buildroot}%{_datadir}/fish/vendor_completions.d \
- target/release/build/%{crate}-*/out/hyperfine.fish
-install -Dpm0644 -t %{buildroot}%{_datadir}/zsh/site-functions \
- target/release/build/%{crate}-*/out/_hyperfine
+# install manpage
+install -Dpm 0644 doc/hyperfine.1 -t %{buildroot}/%{_mandir}/man1
+# install shell completions
+install -Dpm 0644 target/release/build/%{crate}-*/out/hyperfine.bash \
+ -t %{buildroot}/%{bash_completions_dir}
+install -Dpm 0644 target/release/build/%{crate}-*/out/hyperfine.fish \
+ -t %{buildroot}/%{fish_completions_dir}
+install -Dpm 0644 target/release/build/%{crate}-*/out/_hyperfine \
+ -t %{buildroot}/%{zsh_completions_dir}
%if %{with check}
%check
diff --git a/sources b/sources
index 20fb6b5..6473fc6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hyperfine-1.14.0.crate) = e82a0c516663b6d78183d13606a18eed98bbb05f8145c3e93361510303991a34cfd27e1d570621ead61684bde9bc0fd7c472111c2c974f330fc06f27d83de169
+SHA512 (hyperfine-1.16.1.crate) = 9540b4e1270132f04837cccf8d7f94da457758b9d328b254dbe963d3b5b609c1928db2331d8bc3ba728603b1e293928e2610154d13e9f4ffc8b50b874765bb88
commit c23aab66d58946b680139495b552b240db3ed3ae
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sun Feb 5 00:03:43 2023 +0100
Rebuild for fixed frame pointer compiler flags in Rust RPM macros
commit e2cfd0d6ffd94ec3df0ef5e4442ce27bfae74c3a
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 20 23:24:29 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
1 year, 2 months
Architecture specific change in rpms/rust-userfaultfd-sys.git
by githook-noreply@fedoraproject.org
The package rpms/rust-userfaultfd-sys.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-userfaultfd-sys.git/commit/?....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 891b251e3cfa0ffe75569ea7cd6c5389cfa3e0c1
Author: Tomas Hrcka <thrcka(a)redhat.com>
Date: Mon Mar 27 12:31:48 2023 +0200
Unretirement request: https://pagure.io/releng/issue/11356
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1cc0f2c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/userfaultfd-sys-0.4.1.crate
diff --git a/dead.package b/dead.package
deleted file mode 100644
index 0d143d3..0000000
--- a/dead.package
+++ /dev/null
@@ -1 +0,0 @@
-unused as effort to package wasmtime is abandoned
diff --git a/rust-userfaultfd-sys.spec b/rust-userfaultfd-sys.spec
new file mode 100644
index 0000000..df082bf
--- /dev/null
+++ b/rust-userfaultfd-sys.spec
@@ -0,0 +1,96 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate userfaultfd-sys
+
+Name: rust-%{crate}
+Version: 0.4.1
+Release: %autorelease
+Summary: Low-level bindings for userfaultfd functionality on Linux
+
+# Upstream license specification: MIT OR Apache-2.0
+License: MIT or ASL 2.0
+URL: https://crates.io/crates/userfaultfd-sys
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Low-level bindings for userfaultfd functionality on Linux.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%{crate_instdir}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+linux4_14-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+linux4_14-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "linux4_14" feature of the "%{crate}" crate.
+
+%files -n %{name}+linux4_14-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+linux5_7-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+linux5_7-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "linux5_7" feature of the "%{crate}" crate.
+
+%files -n %{name}+linux5_7-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+# * skip a test that only works on old kernel versions
+%cargo_test -- -- --skip linux4_11::const_tests::consts_correct
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..a5d011d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (userfaultfd-sys-0.4.1.crate) = f766f4e9f5d04c6529fc7379b0f7d8720e1aea3e84338344a84013d58a58bac43543fdd1dc45fa76e3d609dd036ffbd65dfaf651e0a20e9c41e1d3c8e311eee2
1 year, 2 months
Architecture specific change in rpms/rust-hyperfine.git
by githook-noreply@fedoraproject.org
The package rpms/rust-hyperfine.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-hyperfine.git/commit/?id=085....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 0852fce1e087067414a8d62798a884085bf67091
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Mar 27 11:41:06 2023 +0200
Update to version 1.16.1; Fixes RHBZ#2124811
diff --git a/.gitignore b/.gitignore
index 48938c1..3bd639c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/hyperfine-1.11.0.crate
/hyperfine-1.12.0.crate
/hyperfine-1.14.0.crate
+/hyperfine-1.16.1.crate
diff --git a/LICENSE.dependencies b/LICENSE.dependencies
deleted file mode 100644
index a953222..0000000
--- a/LICENSE.dependencies
+++ /dev/null
@@ -1,63 +0,0 @@
-Apache-2.0 OR BSL-1.0: ryu v1.0.11
-Apache-2.0 OR MIT: indexmap v1.9.1
-MIT OR Apache-2.0: anyhow v1.0.59
-MIT OR Apache-2.0: arrayvec v0.7.2
-MIT OR Apache-2.0: bitflags v1.3.2
-MIT OR Apache-2.0: bstr v0.2.17
-MIT OR Apache-2.0: cfg-if v1.0.0
-MIT OR Apache-2.0: clap v3.2.16
-MIT OR Apache-2.0: clap_lex v0.2.4
-MIT OR Apache-2.0: getrandom v0.2.7
-MIT OR Apache-2.0: hashbrown v0.12.3
-MIT OR Apache-2.0: hyperfine v1.14.0
-MIT OR Apache-2.0: itoa v0.4.8
-MIT OR Apache-2.0: itoa v1.0.3
-MIT OR Apache-2.0: lazy_static v1.4.0
-MIT OR Apache-2.0: libc v0.2.127
-MIT OR Apache-2.0: num v0.3.1
-MIT OR Apache-2.0: num-bigint v0.3.3
-MIT OR Apache-2.0: num-complex v0.3.1
-MIT OR Apache-2.0: num-integer v0.1.45
-MIT OR Apache-2.0: num-iter v0.1.43
-MIT OR Apache-2.0: num-rational v0.3.2
-MIT OR Apache-2.0: num-traits v0.2.15
-MIT OR Apache-2.0: once_cell v1.13.0
-MIT OR Apache-2.0: os_str_bytes v6.2.0
-MIT OR Apache-2.0: ppv-lite86 v0.2.16
-MIT OR Apache-2.0: rand v0.6.5
-MIT OR Apache-2.0: rand v0.8.5
-MIT OR Apache-2.0: rand_chacha v0.1.1
-MIT OR Apache-2.0: rand_chacha v0.3.1
-MIT OR Apache-2.0: rand_core v0.3.1
-MIT OR Apache-2.0: rand_core v0.4.2
-MIT OR Apache-2.0: rand_core v0.6.3
-MIT OR Apache-2.0: rand_hc v0.1.0
-MIT OR Apache-2.0: rand_isaac v0.1.1
-MIT OR Apache-2.0: rand_jitter v0.1.4
-MIT OR Apache-2.0: rand_os v0.1.3
-MIT OR Apache-2.0: rand_pcg v0.1.2
-MIT OR Apache-2.0: rand_xorshift v0.1.1
-MIT OR Apache-2.0: regex v1.6.0
-MIT OR Apache-2.0: regex-syntax v0.6.27
-MIT OR Apache-2.0: serde v1.0.141
-MIT OR Apache-2.0: serde_json v1.0.83
-MIT OR Apache-2.0: shell-words v1.1.0
-MIT OR Apache-2.0: terminal_size v0.1.17
-MIT OR Apache-2.0: thiserror v1.0.32
-MIT: atty v0.2.14
-MIT: console v0.15.1
-MIT: indicatif v0.16.2
-MIT: memoffset v0.6.5
-MIT: nix v0.24.2
-MIT: number_prefix v0.4.0
-MIT: rust_decimal v1.26.1
-MIT: statistical v1.0.0
-MIT: strsim v0.10.0
-MIT: textwrap v0.15.0
-MPL-2.0: colored v2.0.0
-Unlicense OR MIT: aho-corasick v0.7.18
-Unlicense OR MIT: csv v1.1.6
-Unlicense OR MIT: csv-core v0.1.10
-Unlicense OR MIT: memchr v2.5.0
-Unlicense OR MIT: regex-automata v0.1.10
-Unlicense OR MIT: termcolor v1.1.3
diff --git a/README.md b/README.md
deleted file mode 100644
index 3f3d666..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-hyperfine
-
-The rust-hyperfine package
\ No newline at end of file
diff --git a/hyperfine-fix-metadata-auto.diff b/hyperfine-fix-metadata-auto.diff
index b41fcf5..cecf81e 100644
--- a/hyperfine-fix-metadata-auto.diff
+++ b/hyperfine-fix-metadata-auto.diff
@@ -1,7 +1,17 @@
---- hyperfine-1.14.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ hyperfine-1.14.0/Cargo.toml 1970-01-01T00:00:01+00:00
-@@ -100,10 +100,3 @@
- version = "0.24.1"
+--- hyperfine-1.16.1/Cargo.toml 1970-01-01T00:00:01+00:00
++++ hyperfine-1.16.1/Cargo.toml 2023-03-27T09:24:23.791230+00:00
+@@ -100,9 +100,6 @@
+ [features]
+ windows_process_extensions_main_thread_handle = []
+
+-[target."cfg(all(windows, not(windows_process_extensions_main_thread_handle)))".dependencies.once_cell]
+-version = "1.17"
+-
+ [target."cfg(not(windows))".dependencies.libc]
+ version = "0.2"
+
+@@ -110,13 +107,3 @@
+ version = "0.26.2"
features = ["zerocopy"]
-[target."cfg(windows)".dependencies.winapi]
@@ -10,4 +20,7 @@
- "processthreadsapi",
- "minwindef",
- "winnt",
+- "jobapi2",
+- "tlhelp32",
+- "handleapi",
-]
diff --git a/rust-hyperfine.spec b/rust-hyperfine.spec
index ccb95b9..de9a0ef 100644
--- a/rust-hyperfine.spec
+++ b/rust-hyperfine.spec
@@ -1,27 +1,24 @@
-# Generated by rust2rpm 22
+# Generated by rust2rpm 24
%bcond_without check
%global crate hyperfine
Name: rust-hyperfine
-Version: 1.14.0
+Version: 1.16.1
Release: %autorelease
Summary: Command-line benchmarking tool
# Upstream license specification: MIT/Apache-2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/hyperfine
-Source0: %{crates_source}
-Source1: LICENSE.dependencies
+Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
Patch: hyperfine-fix-metadata-auto.diff
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging >= 21
+BuildRequires: rust-packaging >= 23
%global _description %{expand:
-Command-line benchmarking tool.}
+A command-line benchmarking tool.}
%description %{_description}
@@ -29,6 +26,7 @@ Command-line benchmarking tool.}
Summary: %{summary}
# Apache-2.0 OR BSL-1.0
# Apache-2.0 OR MIT
+# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
# MIT
# MIT OR Apache-2.0
# MPL-2.0
@@ -46,19 +44,12 @@ License: MIT AND MPL-2.0 AND (Apache-2.0 OR BSL-1.0)
%doc README.md
%{_bindir}/hyperfine
%{_mandir}/man1/hyperfine.1*
-%dir %{_datadir}/bash-completion
-%dir %{_datadir}/bash-completion/completions
-%{_datadir}/bash-completion/completions/hyperfine.bash
-%dir %{_datadir}/fish
-%dir %{_datadir}/fish/vendor_completions.d
-%{_datadir}/fish/vendor_completions.d/hyperfine.fish
-%dir %{_datadir}/zsh
-%dir %{_datadir}/zsh/site-functions
-%{_datadir}/zsh/site-functions/_hyperfine
+%{bash_completions_dir}/hyperfine.bash
+%{fish_completions_dir}/hyperfine.fish
+%{zsh_completions_dir}/_hyperfine
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
-cp %{SOURCE1} .
%cargo_prep
%generate_buildrequires
@@ -66,17 +57,20 @@ cp %{SOURCE1} .
%build
%cargo_build
+%cargo_license_summary
+%{cargo_license} > LICENSE.dependencies
%install
%cargo_install
-install -Dpm0644 -t %{buildroot}%{_mandir}/man1 \
- doc/hyperfine.1
-install -Dpm0644 -t %{buildroot}%{_datadir}/bash-completion/completions \
- target/release/build/%{crate}-*/out/hyperfine.bash
-install -Dpm0644 -t %{buildroot}%{_datadir}/fish/vendor_completions.d \
- target/release/build/%{crate}-*/out/hyperfine.fish
-install -Dpm0644 -t %{buildroot}%{_datadir}/zsh/site-functions \
- target/release/build/%{crate}-*/out/_hyperfine
+# install manpage
+install -Dpm 0644 doc/hyperfine.1 -t %{buildroot}/%{_mandir}/man1
+# install shell completions
+install -Dpm 0644 target/release/build/%{crate}-*/out/hyperfine.bash \
+ -t %{buildroot}/%{bash_completions_dir}
+install -Dpm 0644 target/release/build/%{crate}-*/out/hyperfine.fish \
+ -t %{buildroot}/%{fish_completions_dir}
+install -Dpm 0644 target/release/build/%{crate}-*/out/_hyperfine \
+ -t %{buildroot}/%{zsh_completions_dir}
%if %{with check}
%check
diff --git a/sources b/sources
index 20fb6b5..6473fc6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hyperfine-1.14.0.crate) = e82a0c516663b6d78183d13606a18eed98bbb05f8145c3e93361510303991a34cfd27e1d570621ead61684bde9bc0fd7c472111c2c974f330fc06f27d83de169
+SHA512 (hyperfine-1.16.1.crate) = 9540b4e1270132f04837cccf8d7f94da457758b9d328b254dbe963d3b5b609c1928db2331d8bc3ba728603b1e293928e2610154d13e9f4ffc8b50b874765bb88
1 year, 2 months
Architecture specific change in rpms/rust-average.git
by githook-noreply@fedoraproject.org
The package rpms/rust-average.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-average.git/commit/?id=b9f20....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit b9f20081c1dcfe14e973a5e7b06bdec4de6a6b9b
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Mar 27 11:57:33 2023 +0200
Regenerate with rust2rpm v24 and fix broken subpackages
diff --git a/README.md b/README.md
deleted file mode 100644
index 1a59e90..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-average
-
-The rust-average package
\ No newline at end of file
diff --git a/average-fix-metadata.diff b/average-fix-metadata.diff
index b6b9a3b..378c233 100644
--- a/average-fix-metadata.diff
+++ b/average-fix-metadata.diff
@@ -1,5 +1,5 @@
--- average-0.13.1/Cargo.toml 1970-01-01T00:00:00+00:00
-+++ average-0.13.1/Cargo.toml 2022-08-17T15:59:14.418036+00:00
++++ average-0.13.1/Cargo.toml 2023-03-27T09:54:57.923461+00:00
@@ -62,7 +62,7 @@
default-features = false
diff --git a/rust-average.spec b/rust-average.spec
index 63adbf8..fd5cf6c 100644
--- a/rust-average.spec
+++ b/rust-average.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 22
+# Generated by rust2rpm 24
# * quantiles is not packaged yet
# * rand_xoshiro is too old in Fedora
%bcond_with check
@@ -8,7 +8,7 @@
Name: rust-average
Version: 0.13.1
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Calculate statistics iteratively
# Upstream license specification: MIT/Apache-2.0
@@ -20,8 +20,6 @@ Source: %{crates_source}
# * remove "nightly" feature which breaks --all-features
Patch: average-fix-metadata.diff
-ExclusiveArch: %{rust_arches}
-
BuildRequires: rust-packaging >= 21
%global _description %{expand:
@@ -80,18 +78,6 @@ use the "libm" feature of the "%{crate}" crate.
%files -n %{name}+libm-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+nightly-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+nightly-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "nightly" feature of the "%{crate}" crate.
-
-%files -n %{name}+nightly-devel
-%ghost %{crate_instdir}/Cargo.toml
-
%package -n %{name}+rayon-devel
Summary: %{summary}
BuildArch: noarch
@@ -169,20 +155,23 @@ use the "std" feature of the "%{crate}" crate.
%cargo_prep
%generate_buildrequires
-%cargo_generate_buildrequires -a
+%cargo_generate_buildrequires
%build
-%cargo_build -a
+%cargo_build
%install
-%cargo_install -a
+%cargo_install
%if %{with check}
%check
-%cargo_test -a
+%cargo_test
%endif
%changelog
+* Mon Mar 27 2023 Fabio Valentini <decathorpe(a)gmail.com> - 0.13.1-6
+- Regenerate with rust2rpm v24 and fix broken subpackages.
+
* Wed Aug 17 2022 Fabio Valentini <decathorpe(a)gmail.com> - 0.13.1-5
- Bump serde-big-array from 0.3 to 0.4.
diff --git a/rust2rpm.conf b/rust2rpm.conf
deleted file mode 100644
index f626714..0000000
--- a/rust2rpm.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-[DEFAULT]
-all-features = true
1 year, 2 months
Architecture specific change in rpms/intel-igc.git
by githook-noreply@fedoraproject.org
The package rpms/intel-igc.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/intel-igc.git/commit/?id=3066d2cf....
Change:
-%ifarch i686
Thanks.
Full change:
============
commit 3066d2cfd6d0610e046995a978f5ecc162136aca
Author: František Zatloukal <fzatlouk(a)redhat.com>
Date: Mon Mar 27 12:21:07 2023 +0200
intel-igc-1.0.13700.7
diff --git a/.gitignore b/.gitignore
index d5c473e..c3ea130 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,3 +22,5 @@
/igc-1.0.13230.4.tar.gz
/vc-intrinsics-f5a087e.tar.gz
/igc-1.0.13463.1.tar.gz
+/vc-intrinsics-e37df7a.tar.gz
+/igc-1.0.13700.7.tar.gz
diff --git a/e98d39974436de32408aefaafbd040ef07f29cf4.patch b/e98d39974436de32408aefaafbd040ef07f29cf4.patch
deleted file mode 100644
index 8d491e4..0000000
--- a/e98d39974436de32408aefaafbd040ef07f29cf4.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From e98d39974436de32408aefaafbd040ef07f29cf4 Mon Sep 17 00:00:00 2001
-From: "Kwasniewski, Patryk" <patryk.kwasniewski(a)intel.com>
-Date: Thu, 23 Feb 2023 11:27:34 +0000
-Subject: [PATCH] Fix invalid usage of std::unique_ptr in ScalarArgAsPointer
- pass
-
-Fix invalid usage of std::unique_ptr in ScalarArgAsPointer pass.
----
- .../OpenCLPasses/ScalarArgAsPointer/ScalarArgAsPointer.cpp | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/IGC/Compiler/Optimizer/OpenCLPasses/ScalarArgAsPointer/ScalarArgAsPointer.cpp b/IGC/Compiler/Optimizer/OpenCLPasses/ScalarArgAsPointer/ScalarArgAsPointer.cpp
-index 66bc3ec39ca..1410cb93dcf 100644
---- a/IGC/Compiler/Optimizer/OpenCLPasses/ScalarArgAsPointer/ScalarArgAsPointer.cpp
-+++ b/IGC/Compiler/Optimizer/OpenCLPasses/ScalarArgAsPointer/ScalarArgAsPointer.cpp
-@@ -117,7 +117,7 @@ const ScalarArgAsPointerAnalysis::ArgSet* ScalarArgAsPointerAnalysis::findArgs(l
- {
- // Skip already visited instruction
- if (m_visitedInst.count(inst))
-- return &(*m_visitedInst[inst]);
-+ return m_visitedInst[inst].get();
-
- // Mark as visited
- m_visitedInst.try_emplace(inst, nullptr);
-@@ -166,7 +166,7 @@ const ScalarArgAsPointerAnalysis::ArgSet* ScalarArgAsPointerAnalysis::findArgs(l
- }
-
- m_visitedInst[inst] = std::move(result);
-- return &(*m_visitedInst[inst]);
-+ return m_visitedInst[inst].get();
- }
-
- void ScalarArgAsPointerAnalysis::analyzeStoredArg(llvm::StoreInst& SI)
diff --git a/f40b939f5f5db8209a8bc2f8940ce47eb7b5defd.patch b/f40b939f5f5db8209a8bc2f8940ce47eb7b5defd.patch
deleted file mode 100644
index 7dfd9cd..0000000
--- a/f40b939f5f5db8209a8bc2f8940ce47eb7b5defd.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From f40b939f5f5db8209a8bc2f8940ce47eb7b5defd Mon Sep 17 00:00:00 2001
-From: "vladislav.korovin" <vkorovin(a)GK-TGL-NUC-059-GSDB.igk.intel.com>
-Date: Tue, 28 Feb 2023 12:26:03 +0000
-Subject: [PATCH] Destroy LinkerContext for LLVM14
-
-For LLVM14 and above the linker context is no longer cleared automatically after LinkerDriver run.
-Need to do it manually.
----
- IGC/WrapperLLVM/include/lldWrapper/Common/Driver.h | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/IGC/WrapperLLVM/include/lldWrapper/Common/Driver.h b/IGC/WrapperLLVM/include/lldWrapper/Common/Driver.h
-index 84340589aa5..e8eb1551b78 100644
---- a/IGC/WrapperLLVM/include/lldWrapper/Common/Driver.h
-+++ b/IGC/WrapperLLVM/include/lldWrapper/Common/Driver.h
-@@ -20,7 +20,9 @@ namespace IGCLLD {
- inline bool link(llvm::ArrayRef<const char *> Args, bool CanExitEarly,
- llvm::raw_ostream &stdoutOS, llvm::raw_ostream &stderrOS) {
- #if LLVM_VERSION_MAJOR >= 14
-- return lld::elf::link(Args, stdoutOS, stderrOS, CanExitEarly, false);
-+ bool r = lld::elf::link(Args, stdoutOS, stderrOS, CanExitEarly, false);
-+ lld::CommonLinkerContext::destroy();
-+ return r;
- #elif LLVM_VERSION_MAJOR >= 10
- return lld::elf::link(Args, CanExitEarly, stdoutOS, stderrOS);
- #else
diff --git a/intel-igc.spec b/intel-igc.spec
index 911c281..5857a2c 100644
--- a/intel-igc.spec
+++ b/intel-igc.spec
@@ -1,15 +1,10 @@
-%global vc_commit f5a087ee4db10e303fbc32e7e1ee09d04925c9cd
+%global vc_commit e37df7acc9c8a80e382917bb18b24ebf8d56df05
%global vc_shortcommit %(c=%{vc_commit}; echo ${c:0:7})
%global optflags %{optflags} -w
-%ifarch i686
-%global optflags %(echo %{optflags} | sed 's/-flto / /')
-%global _lto_cflags %{nil}
-%endif
-
Name: intel-igc
-Version: 1.0.13463.1
+Version: 1.0.13700.7
Release: 1%{?dist}
Summary: Intel Graphics Compiler for OpenCL
@@ -18,13 +13,6 @@ URL: https://github.com/intel/intel-graphics-compiler
Source0: %{url}/archive/igc-%{version}/igc-%{version}.tar.gz
Source1: https://github.com/intel/vc-intrinsics/archive/%{vc_commit}/vc-intrinsics...
-# https://github.com/intel/intel-graphics-compiler/issues/282
-# https://github.com/intel/intel-graphics-compiler/commit/e98d39974436de324...
-Patch01: e98d39974436de32408aefaafbd040ef07f29cf4.patch
-
-# https://github.com/intel/intel-graphics-compiler/commit/f40b939f5f5db8209...
-Patch02: f40b939f5f5db8209a8bc2f8940ce47eb7b5defd.patch
-
# This is just for Intel GPUs
ExclusiveArch: x86_64
@@ -126,6 +114,9 @@ tar -xf %{SOURCE1}
%{_libdir}/pkgconfig/igc-opencl.pc
%changelog
+* Mon Mar 27 2023 Frantisek Zatloukal <fzatlouk(a)redhat.com> - 1.0.13700.7-1
+- intel-igc-1.0.13700.7 (fixes RHBZ#2177378 )
+
* Mon Mar 06 2023 Frantisek Zatloukal <fzatlouk(a)redhat.com> - 1.0.13463.1-1
- intel-igc-1.0.13463.1 (fixes RHBZ#2175129 )
diff --git a/sources b/sources
index 9af9d78..23ecbac 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (vc-intrinsics-f5a087e.tar.gz) = 8e444f774056d9ffcc24ca6d30d698b8c3d8aa4828313c00bc9bcd34acb537419d432800a5f25b73e93c4e043771f830b981ac3726d9602ada1f4df8e11edd83
-SHA512 (igc-1.0.13463.1.tar.gz) = 3edafc7cadb946b62b5afa44bf81663c83ad6eab15c2825b60cfb5120da94d66898d3f073af13a747cdf2db586085de14ee75fcdda0e16a1ca7197d5645fe1a9
+SHA512 (vc-intrinsics-e37df7a.tar.gz) = 38b67d2ba318bab143a7374e7baafaa1a976a86a58700099eff99fdd2d86006fd066dc7ecf928d90d3c71ce75ee17c91f7a0b20dea72b6ee1903706ae56bf88d
+SHA512 (igc-1.0.13700.7.tar.gz) = 09d074abdd3c6746061b59059ce0631bfe8189e092ccb11b61909e6aed41e544e76f78b2c3b21e3f4baaebdb42e61624619ddd65c18f3155684bc03a8bb5f5b1
1 year, 2 months
Architecture specific change in rpms/rust-cargo-insta.git
by githook-noreply@fedoraproject.org
The package rpms/rust-cargo-insta.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-cargo-insta.git/commit/?id=5....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 50ec0dd21e1846818de17bd8803d37329d979c13
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Mar 27 11:23:47 2023 +0200
Update to version 1.29.0; Fixes RHBZ#2120126
diff --git a/.gitignore b/.gitignore
index 093d1eb..3a9f685 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/cargo-insta-1.15.0.crate
/cargo-insta-1.16.0.crate
/cargo-insta-1.18.2.crate
+/cargo-insta-1.29.0.crate
diff --git a/LICENSE.dependencies b/LICENSE.dependencies
deleted file mode 100644
index 69ec5a2..0000000
--- a/LICENSE.dependencies
+++ /dev/null
@@ -1,45 +0,0 @@
-(MIT OR Apache-2.0) AND Unicode-DFS-2016: unicode-ident v1.0.3
-Apache-2.0 OR BSL-1.0: ryu v1.0.11
-Apache-2.0 OR MIT: fnv v1.0.7
-Apache-2.0 OR MIT: structopt v0.3.26
-Apache-2.0 OR MIT: thread_local v1.1.4
-Apache-2.0 OR MIT: uuid v1.1.2
-Apache-2.0: cargo-insta v1.18.2
-Apache-2.0: insta v1.18.2
-Apache-2.0: similar v2.2.0
-MIT OR Apache-2.0: bitflags v1.3.2
-MIT OR Apache-2.0: bstr v0.2.17
-MIT OR Apache-2.0: cfg-if v1.0.0
-MIT OR Apache-2.0: crossbeam-utils v0.8.11
-MIT OR Apache-2.0: getrandom v0.2.7
-MIT OR Apache-2.0: itoa v1.0.3
-MIT OR Apache-2.0: lazy_static v1.4.0
-MIT OR Apache-2.0: libc v0.2.131
-MIT OR Apache-2.0: linked-hash-map v0.5.6
-MIT OR Apache-2.0: log v0.4.17
-MIT OR Apache-2.0: once_cell v1.13.1
-MIT OR Apache-2.0: pest v2.1.3
-MIT OR Apache-2.0: proc-macro2 v1.0.43
-MIT OR Apache-2.0: quote v1.0.21
-MIT OR Apache-2.0: regex v1.6.0
-MIT OR Apache-2.0: regex-syntax v0.6.27
-MIT OR Apache-2.0: serde v1.0.143
-MIT OR Apache-2.0: serde_json v1.0.83
-MIT OR Apache-2.0: syn v1.0.99
-MIT OR Apache-2.0: terminal_size v0.1.17
-MIT OR Apache-2.0: ucd-trie v0.1.4
-MIT OR Apache-2.0: unicode-width v0.1.9
-MIT OR Apache-2.0: vec_map v0.8.2
-MIT OR Apache-2.0: yaml-rust v0.4.5
-MIT: ansi_term v0.12.1
-MIT: atty v0.2.14
-MIT: clap v2.34.0
-MIT: console v0.15.1
-MIT: strsim v0.10.0
-MIT: textwrap v0.11.0
-Unlicense OR MIT: aho-corasick v0.7.18
-Unlicense OR MIT: globset v0.4.9
-Unlicense OR MIT: ignore v0.4.18
-Unlicense OR MIT: memchr v2.5.0
-Unlicense OR MIT: same-file v1.0.6
-Unlicense OR MIT: walkdir v2.3.2
diff --git a/README.md b/README.md
deleted file mode 100644
index 8a8f0f2..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-cargo-insta
-
-The rust-cargo-insta package
\ No newline at end of file
diff --git a/rust-cargo-insta.spec b/rust-cargo-insta.spec
index 6def54e..ede4865 100644
--- a/rust-cargo-insta.spec
+++ b/rust-cargo-insta.spec
@@ -1,24 +1,21 @@
-# Generated by rust2rpm 22
+# Generated by rust2rpm 24
%bcond_without check
%global crate cargo-insta
Name: rust-cargo-insta
-Version: 1.18.2
+Version: 1.29.0
Release: %autorelease
Summary: Review tool for the insta snapshot testing library for Rust
License: Apache-2.0
URL: https://crates.io/crates/cargo-insta
-Source0: %{crates_source}
-Source1: LICENSE.dependencies
+Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging >= 21
+BuildRequires: rust-packaging >= 23
%global _description %{expand:
-Review tool for the insta snapshot testing library for Rust.}
+A review tool for the insta snapshot testing library for Rust.}
%description %{_description}
@@ -44,7 +41,6 @@ License: Apache-2.0 AND MIT AND Unicode-DFS-2016
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
-cp %{SOURCE1} .
%cargo_prep
%generate_buildrequires
@@ -52,6 +48,8 @@ cp %{SOURCE1} .
%build
%cargo_build
+%cargo_license_summary
+%{cargo_license} > LICENSE.dependencies
%install
%cargo_install
diff --git a/sources b/sources
index 2a52b53..f0c70cf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cargo-insta-1.18.2.crate) = 6d46cdae516f01aeeb24eed44eb7711f753e30f66eed17b76a698a678e1c8a820be31c8ef98cafcc5eda3ef1ad2a4c81651eea4f2306e4f3d8120c6e7376e852
+SHA512 (cargo-insta-1.29.0.crate) = 5dbf103c3f324be5841c710fa687120852c35d571020ed2565714cf6652067b33047045029fd5a503fc70060e0f3dc8d28ab0496fc9ec0889fc040aaabcb3f7e
commit 6c3dd8491667cf1e4ef393b97baa500d741df7de
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sat Feb 4 23:17:43 2023 +0100
Rebuild for fixed frame pointer compiler flags in Rust RPM macros
commit 63de91190ccb4da60647e031217356e01b1c5d7d
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 20 21:56:23 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
1 year, 2 months
Architecture specific change in rpms/rust-cargo-insta.git
by githook-noreply@fedoraproject.org
The package rpms/rust-cargo-insta.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-cargo-insta.git/commit/?id=5....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 50ec0dd21e1846818de17bd8803d37329d979c13
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Mar 27 11:23:47 2023 +0200
Update to version 1.29.0; Fixes RHBZ#2120126
diff --git a/.gitignore b/.gitignore
index 093d1eb..3a9f685 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/cargo-insta-1.15.0.crate
/cargo-insta-1.16.0.crate
/cargo-insta-1.18.2.crate
+/cargo-insta-1.29.0.crate
diff --git a/LICENSE.dependencies b/LICENSE.dependencies
deleted file mode 100644
index 69ec5a2..0000000
--- a/LICENSE.dependencies
+++ /dev/null
@@ -1,45 +0,0 @@
-(MIT OR Apache-2.0) AND Unicode-DFS-2016: unicode-ident v1.0.3
-Apache-2.0 OR BSL-1.0: ryu v1.0.11
-Apache-2.0 OR MIT: fnv v1.0.7
-Apache-2.0 OR MIT: structopt v0.3.26
-Apache-2.0 OR MIT: thread_local v1.1.4
-Apache-2.0 OR MIT: uuid v1.1.2
-Apache-2.0: cargo-insta v1.18.2
-Apache-2.0: insta v1.18.2
-Apache-2.0: similar v2.2.0
-MIT OR Apache-2.0: bitflags v1.3.2
-MIT OR Apache-2.0: bstr v0.2.17
-MIT OR Apache-2.0: cfg-if v1.0.0
-MIT OR Apache-2.0: crossbeam-utils v0.8.11
-MIT OR Apache-2.0: getrandom v0.2.7
-MIT OR Apache-2.0: itoa v1.0.3
-MIT OR Apache-2.0: lazy_static v1.4.0
-MIT OR Apache-2.0: libc v0.2.131
-MIT OR Apache-2.0: linked-hash-map v0.5.6
-MIT OR Apache-2.0: log v0.4.17
-MIT OR Apache-2.0: once_cell v1.13.1
-MIT OR Apache-2.0: pest v2.1.3
-MIT OR Apache-2.0: proc-macro2 v1.0.43
-MIT OR Apache-2.0: quote v1.0.21
-MIT OR Apache-2.0: regex v1.6.0
-MIT OR Apache-2.0: regex-syntax v0.6.27
-MIT OR Apache-2.0: serde v1.0.143
-MIT OR Apache-2.0: serde_json v1.0.83
-MIT OR Apache-2.0: syn v1.0.99
-MIT OR Apache-2.0: terminal_size v0.1.17
-MIT OR Apache-2.0: ucd-trie v0.1.4
-MIT OR Apache-2.0: unicode-width v0.1.9
-MIT OR Apache-2.0: vec_map v0.8.2
-MIT OR Apache-2.0: yaml-rust v0.4.5
-MIT: ansi_term v0.12.1
-MIT: atty v0.2.14
-MIT: clap v2.34.0
-MIT: console v0.15.1
-MIT: strsim v0.10.0
-MIT: textwrap v0.11.0
-Unlicense OR MIT: aho-corasick v0.7.18
-Unlicense OR MIT: globset v0.4.9
-Unlicense OR MIT: ignore v0.4.18
-Unlicense OR MIT: memchr v2.5.0
-Unlicense OR MIT: same-file v1.0.6
-Unlicense OR MIT: walkdir v2.3.2
diff --git a/README.md b/README.md
deleted file mode 100644
index 8a8f0f2..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-cargo-insta
-
-The rust-cargo-insta package
\ No newline at end of file
diff --git a/rust-cargo-insta.spec b/rust-cargo-insta.spec
index 6def54e..ede4865 100644
--- a/rust-cargo-insta.spec
+++ b/rust-cargo-insta.spec
@@ -1,24 +1,21 @@
-# Generated by rust2rpm 22
+# Generated by rust2rpm 24
%bcond_without check
%global crate cargo-insta
Name: rust-cargo-insta
-Version: 1.18.2
+Version: 1.29.0
Release: %autorelease
Summary: Review tool for the insta snapshot testing library for Rust
License: Apache-2.0
URL: https://crates.io/crates/cargo-insta
-Source0: %{crates_source}
-Source1: LICENSE.dependencies
+Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging >= 21
+BuildRequires: rust-packaging >= 23
%global _description %{expand:
-Review tool for the insta snapshot testing library for Rust.}
+A review tool for the insta snapshot testing library for Rust.}
%description %{_description}
@@ -44,7 +41,6 @@ License: Apache-2.0 AND MIT AND Unicode-DFS-2016
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
-cp %{SOURCE1} .
%cargo_prep
%generate_buildrequires
@@ -52,6 +48,8 @@ cp %{SOURCE1} .
%build
%cargo_build
+%cargo_license_summary
+%{cargo_license} > LICENSE.dependencies
%install
%cargo_install
diff --git a/sources b/sources
index 2a52b53..f0c70cf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cargo-insta-1.18.2.crate) = 6d46cdae516f01aeeb24eed44eb7711f753e30f66eed17b76a698a678e1c8a820be31c8ef98cafcc5eda3ef1ad2a4c81651eea4f2306e4f3d8120c6e7376e852
+SHA512 (cargo-insta-1.29.0.crate) = 5dbf103c3f324be5841c710fa687120852c35d571020ed2565714cf6652067b33047045029fd5a503fc70060e0f3dc8d28ab0496fc9ec0889fc040aaabcb3f7e
commit 6c3dd8491667cf1e4ef393b97baa500d741df7de
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sat Feb 4 23:17:43 2023 +0100
Rebuild for fixed frame pointer compiler flags in Rust RPM macros
commit 63de91190ccb4da60647e031217356e01b1c5d7d
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 20 21:56:23 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
1 year, 2 months