[csdiff/f21] update to latest upstream release (1.1.3)

Kamil Dudka kdudka at fedoraproject.org
Mon Jan 19 14:49:16 UTC 2015


commit d7167bdc4935567e2c7270b0aedf4f87c6dc0dbc
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 5036e7d..3aa78a8 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