From 2e95f23ee03c37facb2b24a96c4a1ee747a68d77 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Fri, 1 Nov 2019 02:52:26 +0100 Subject: rpm spec: Fix dist tarball location The dist tarball is generated in the top builddir, so we use that location when looking for it. --- packaging/rpm/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packaging') diff --git a/packaging/rpm/Makefile.am b/packaging/rpm/Makefile.am index 45fcebaad..76756c4ab 100644 --- a/packaging/rpm/Makefile.am +++ b/packaging/rpm/Makefile.am @@ -23,7 +23,7 @@ rpm: Makefile package.spec $(MAKE) $(AM_MAKEFLAGS) SOURCES/@PACKAGE@-@VERSION@.tar.gz SPECS/@PACKAGE@-@VERSION@.spec @RPMBUILD@ --define "_topdir $$(pwd)" -ba SPECS/@PACKAGE@-@VERSION@.spec -SOURCES/@PACKAGE@-@VERSION@.tar.gz: $(top_srcdir)/@PACKAGE@-@VERSION@.tar.gz +SOURCES/@PACKAGE@-@VERSION@.tar.gz: $(top_builddir)/@PACKAGE@-@VERSION@.tar.gz ln -f $< $@ SPECS/@PACKAGE@-@VERSION@.spec: package.spec -- cgit v1.2.1