diff --git a/csdiff.spec b/csdiff.spec index ec398bd..b7a7049 100644 --- a/csdiff.spec +++ b/csdiff.spec @@ -1,5 +1,5 @@ Name: csdiff -Version: 1.1.1 +Version: 1.1.2 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 +* Thu Dec 18 2014 Kamil Dudka 1.1.2-1 +- update to latest upstream release +- package the pycsdiff python module + * Thu Nov 06 2014 Kamil Dudka 1.1.1-1 - update to latest upstream release diff --git a/sources b/sources index de9ccac..d550386 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -862cd5eabc8a44be30ca4a0826b96775 csdiff-1.1.1.tar.xz +476c753b27484990be07198161d4d4da csdiff-1.1.2.tar.xz