[libhubbub] use %autosetup

David Tardon dtardon at fedoraproject.org
Thu Mar 27 17:50:38 UTC 2014


commit 2a383a668c4e01456b7c93d8c37f3f9ad994f029
Author: David Tardon <dtardon at redhat.com>
Date:   Thu Mar 27 18:50:35 2014 +0100

    use %autosetup

 libhubbub.spec |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libhubbub.spec b/libhubbub.spec
index 0d55db1..9abbeda 100644
--- a/libhubbub.spec
+++ b/libhubbub.spec
@@ -54,8 +54,7 @@ The %{name}-doc package contains documentation files for %{name}.
 %global build_vars OPTCFLAGS='%{optflags}' OPTLDFLAGS="$RPM_LD_FLAGS"
 
 %prep
-%setup -q -n %{name}-%{version}
-%patch0 -p1
+%autosetup -n %{name}-%{version} -p1
 
 sed -i -e s at -Werror@@ Makefile
 


More information about the scm-commits mailing list