diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2019-11-01 02:52:26 +0100 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2020-01-18 21:05:00 +0100 |
commit | 2e95f23ee03c37facb2b24a96c4a1ee747a68d77 (patch) | |
tree | f5ad8a5e11bca2d58f3ac280c5438a508af43883 /packaging | |
parent | 26c9939812e32d670f9e689f3f33a2f08f0ca38c (diff) | |
download | libgphoto2-2e95f23ee03c37facb2b24a96c4a1ee747a68d77.tar.gz |
rpm spec: Fix dist tarball location
The dist tarball is generated in the top builddir, so we use that
location when looking for it.
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/rpm/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
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 |