dtardon pushed to libixion (f22). "use %autosetup"
notifications at fedoraproject.org
notifications at fedoraproject.org
Sun Apr 5 15:25:51 UTC 2015
>From ae084ce249a4f2c3f0f1f6b820c93914e23c1a46 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon at redhat.com>
Date: Fri, 6 Mar 2015 17:34:17 +0100
Subject: use %autosetup
diff --git a/libixion.spec b/libixion.spec
index 5a53bd7..3a64fda 100644
--- a/libixion.spec
+++ b/libixion.spec
@@ -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
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/libixion.git/commit/?h=f22&id=ae084ce249a4f2c3f0f1f6b820c93914e23c1a46
More information about the scm-commits
mailing list