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 1.1.3-1 +- update to latest upstream release +- package the pycsdiff python module + * Fri Nov 07 2014 Kamil Dudka 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