From 1be9407843af8181eabe5b9d27be990ba356121c Mon Sep 17 00:00:00 2001 From: Mattias Ellert Date: Nov 21 2013 05:50:25 +0000 Subject: Remove bundled swig generated sources --- diff --git a/lhapdf.spec b/lhapdf.spec index d1b3685..95ec2b4 100644 --- a/lhapdf.spec +++ b/lhapdf.spec @@ -2,7 +2,7 @@ Name: lhapdf Version: 5.9.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Les Houches Accord PDF Interface Group: System Environment/Libraries @@ -118,6 +118,12 @@ install -m 644 -p %SOURCE6 PDFsets sed 's!/usr/bin/env python!/usr/bin/python!' -i bin/lhapdf-* examples/*.py sed 's!/usr/bin/env bash!/bin/bash!' -i bin/lhapdf-config.in +%if %{?fedora}%{!?fedora:0} >= 7 || %{?rhel}%{!?rhel:0} >= 6 +# Remove bundled swig generated sources +rm pyext/lhapdf_wrap.cc +rm pyext/lhapdf.py +%endif + %build %configure --disable-static @@ -215,6 +221,9 @@ rm -rf %{buildroot} %doc ccwrap/doxy/html COPYING %changelog +* Thu Nov 21 2013 Mattias Ellert - 5.9.1-2 +- Remove bundled swig generated sources + * Tue Oct 29 2013 Mattias Ellert - 5.9.1-1 - Update to version 5.9.1