[csdiff/el6] update to latest upstream release (1.1.3)
Kamil Dudka
kdudka at fedoraproject.org
Mon Jan 19 14:51:41 UTC 2015
commit 25c490686564a8ab9d9c47f3fc7d9d9336b1e80d
Author: Kamil Dudka <kdudka at redhat.com>
Date: Thu Dec 18 14:08:25 2014 +0100
update to latest upstream release (1.1.3)
... and package the pycsdiff python module
csdiff.spec | 14 ++++++++++++--
sources | 2 +-
2 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/csdiff.spec b/csdiff.spec
index 08beb72..cad2f71 100644
--- a/csdiff.spec
+++ b/csdiff.spec
@@ -1,5 +1,5 @@
Name: csdiff
-Version: 1.1.1
+Version: 1.1.3
Release: 1%{?dist}
Summary: Non-interactive tools for processing code scan results in plain-text
@@ -11,15 +11,20 @@ Source0: https://git.fedorahosted.org/cgit/codescan-diff.git/snapshot/%{name}
BuildRequires: boost-devel
BuildRequires: cmake
BuildRequires: help2man
+BuildRequires: python-devel
%description
This package contains the csdiff tool for comparing code scan defect lists in
order to find out added or fixed defects, and the csgrep utility for filtering
defect lists using various filtering predicates.
+%if 0%{?rhel} && 0%{?rhel} <= 6
+%{!?__python2: %global __python2 /usr/bin/python2}
+%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%endif
+
%prep
%setup -q
-rm -rf ./boost_*
%build
make version.cc
@@ -47,9 +52,14 @@ ctest %{?_smp_mflags} --output-on-failure
%{_mandir}/man1/cshtml.1*
%{_mandir}/man1/cslinker.1*
%{_mandir}/man1/cssort.1*
+%{python2_sitearch}/pycsdiff.so
%doc COPYING README
%changelog
+* Mon Jan 19 2015 Kamil Dudka <kdudka at redhat.com> 1.1.3-1
+- update to latest upstream release
+- package the pycsdiff python module
+
* Fri Nov 07 2014 Kamil Dudka <kdudka at redhat.com> 1.1.1-1
- update to latest upstream release
diff --git a/sources b/sources
index de9ccac..b0b1ccf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-862cd5eabc8a44be30ca4a0826b96775 csdiff-1.1.1.tar.xz
+e068c5dfe6c3b0fa91ba50975accc62d csdiff-1.1.3.tar.xz
More information about the scm-commits
mailing list