Changeset
Makefile.am | 3 +++
1 file changed, 3 insertions(+)
Git apply log
Switched to a new branch '4a84edd28557598a758d9e2d58e847b69fe582e8.1520936401.git.jdenemar@redhat.com'
Applying: build: Add srpm make target
To https://github.com/patchew-project/libvirt
 + c21f0af...fe94eed patchew/4a84edd28557598a758d9e2d58e847b69fe582e8.1520936401.git.jdenemar@redhat.com -> patchew/4a84edd28557598a758d9e2d58e847b69fe582e8.1520936401.git.jdenemar@redhat.com (forced update)
Test passed: syntax-check

loading

[libvirt] [PATCH] build: Add srpm make target
Posted by Jiri Denemark, 14 weeks ago
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
---
 Makefile.am | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 0d46c16c22..81c7f52d9c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -69,6 +69,9 @@ EXTRA_DIST += \
 rpm: clean
 	@(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.xz)
 
+srpm: clean
+	@(unset CDPATH ; $(MAKE) dist && rpmbuild -ts $(distdir).tar.xz)
+
 check-local: all tests
 
 check-access:
-- 
2.16.2

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH] build: Add srpm make target
Posted by Andrea Bolognani, 14 weeks ago
On Tue, 2018-03-13 at 11:20 +0100, Jiri Denemark wrote:
> Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
> ---
>  Makefile.am | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Makefile.am b/Makefile.am
> index 0d46c16c22..81c7f52d9c 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -69,6 +69,9 @@ EXTRA_DIST += \
>  rpm: clean
>  	@(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.xz)
>  
> +srpm: clean
> +	@(unset CDPATH ; $(MAKE) dist && rpmbuild -ts $(distdir).tar.xz)
> +
>  check-local: all tests
>  
>  check-access:

Reviewed-by: Andrea Bolognani <abologna@redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list