[packages/sparse] - updated to 0.6.2 - removed obsolete llvm10 patch

qboosh qboosh at pld-linux.org
Sat Aug 22 21:08:21 CEST 2020


commit b14a68ae17900f8a75dde9103a59423b3dbd0cce
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Aug 22 21:10:49 2020 +0200

    - updated to 0.6.2
    - removed obsolete llvm10 patch

 llvm10.patch | 11 -----------
 sparse.spec  | 10 +++++-----
 2 files changed, 5 insertions(+), 16 deletions(-)
---
diff --git a/sparse.spec b/sparse.spec
index 94750b1..7551c06 100644
--- a/sparse.spec
+++ b/sparse.spec
@@ -1,13 +1,12 @@
 Summary:	Sparse - a semantic parser of source files
 Summary(pl.UTF-8):	Sparse - analizator semantyczny plików źródłowych
 Name:		sparse
-Version:	0.6.1
-Release:	3
+Version:	0.6.2
+Release:	1
 License:	OSL v1.1
 Group:		Development/Debuggers
 Source0:	https://www.kernel.org/pub/software/devel/sparse/dist/%{name}-%{version}.tar.xz
-# Source0-md5:	9fa73cc37326032006dc8acff5466a91
-Patch0:		llvm10.patch
+# Source0-md5:	b4f4ed24f2ef21d42e1142d587a1555a
 URL:		https://www.kernel.org/pub/software/devel/sparse/
 BuildRequires:	gtk+3-devel >= 3.0
 BuildRequires:	libxml2-devel >= 2.0
@@ -46,7 +45,6 @@ czym są _typy_ obejmowane przez grupowanie.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %{__make} \
@@ -73,9 +71,11 @@ rm -rf $RPM_BUILD_ROOT
 %doc FAQ LICENSE README
 %attr(755,root,root) %{_bindir}/c2xml
 %attr(755,root,root) %{_bindir}/cgcc
+%attr(755,root,root) %{_bindir}/sindex
 %attr(755,root,root) %{_bindir}/sparse
 %attr(755,root,root) %{_bindir}/sparse-llvm
 %attr(755,root,root) %{_bindir}/sparsec
 %attr(755,root,root) %{_bindir}/test-inspect
 %{_mandir}/man1/cgcc.1*
+%{_mandir}/man1/sindex.1*
 %{_mandir}/man1/sparse.1*
diff --git a/llvm10.patch b/llvm10.patch
deleted file mode 100644
index e3b3d8c..0000000
--- a/llvm10.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- sparse-0.6.1/Makefile.orig	2019-10-14 01:27:22.000000000 +0200
-+++ sparse-0.6.1/Makefile	2020-04-03 01:52:37.902999893 +0200
-@@ -161,7 +161,7 @@
- endif
- ifneq ($(filter ${arch},i386 i486 i586 i686 x86_64 amd64),)
- LLVM_VERSION:=$(shell $(LLVM_CONFIG) --version)
--ifeq ($(shell expr "$(LLVM_VERSION)" : '[3-9]\.'),2)
-+ifeq ($(shell expr $(shell expr "$(LLVM_VERSION)" : '\([0-9]\+\)\.') '>' 2),1)
- LLVM_PROGS := sparse-llvm
- $(LLVM_PROGS): LD := g++
- LLVM_LDFLAGS := $(shell $(LLVM_CONFIG) --ldflags)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sparse.git/commitdiff/b14a68ae17900f8a75dde9103a59423b3dbd0cce



More information about the pld-cvs-commit mailing list