[Spice-devel] [spice-streaming-agent 5/7] spec: Use %autosetup
Frediano Ziglio
fziglio at redhat.com
Wed Nov 8 12:15:21 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
Why git is now needed? I think only if you specify -S git calling autosetup.
> @@ -26,7 +27,7 @@ This package contains necessary header files to build SPICE
> streaming
> agent plugins.
>
> %prep
> -%setup -q
> +%autosetup
>
> %build
> %configure
Frediano
More information about the Spice-devel
mailing list