use %autosetup

This commit is contained in:
David Tardon 2015-03-06 17:34:17 +01:00
parent db79db39a1
commit ae084ce249
1 changed files with 7 additions and 11 deletions

View File

@ -7,13 +7,13 @@ Summary: A general purpose formula parser & interpreter library
License: MPLv2.0
URL: https://gitorious.org/ixion/pages/Home
Source: http://kohei.us/files/ixion/src/%{name}-%{version}.tar.xz
Source0: http://kohei.us/files/ixion/src/%{name}-%{version}.tar.xz
Source1: ixion-python-test.py
Patch0: 0001-fix-make-distcheck.patch
Patch1: ixion-python-test.py
Patch2: 0001-fix-python-test-on-some-platforms.patch
Patch3: 0001-add-missing-includes-for-assert.patch
Patch4: 0001-match-argument-and-format-unit.patch
Patch1: 0001-fix-python-test-on-some-platforms.patch
Patch2: 0001-add-missing-includes-for-assert.patch
Patch3: 0001-match-argument-and-format-unit.patch
BuildRequires: automake
BuildRequires: boost-devel
@ -69,12 +69,8 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
Python 2 bindings for %{name}.
%prep
%setup -q
%patch0 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
cp %{PATCH1} test/
%autosetup -p1
cp %{SOURCE1} test/
%build
aclocal