[Spice-devel] [spice-streaming-agent 5/7] spec: Use %autosetup
Christophe Fergeau
cfergeau at redhat.com
Wed Nov 8 11:50:59 UTC 2017
This makes patch applying easier, no need to duplicate the information
in 2 places, a PatchN entry is enough.
---
spice-streaming-agent.spec.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/spice-streaming-agent.spec.in b/spice-streaming-agent.spec.in
index 91e6b88..e384951 100644
--- a/spice-streaming-agent.spec.in
+++ b/spice-streaming-agent.spec.in
@@ -9,6 +9,7 @@ Source0: %{name}-%{version}.tar.xz
BuildRequires: spice-protocol >= @SPICE_PROTOCOL_MIN_VER@
BuildRequires: libX11-devel libXfixes-devel
BuildRequires: libjpeg-turbo-devel
+BuildRequires: git-core
# we need /usr/sbin/semanage program which is available on different
# packages depending on distribution
Requires(post): /usr/sbin/semanage
@@ -26,7 +27,7 @@ This package contains necessary header files to build SPICE streaming
agent plugins.
%prep
-%setup -q
+%autosetup
%build
%configure
--
2.13.6
More information about the Spice-devel
mailing list