diff options
author | Yosl <yosl@seattlemesh.net> | 2020-07-05 00:47:07 -0400 |
---|---|---|
committer | Yosl <yosl@seattlemesh.net> | 2020-07-05 00:47:07 -0400 |
commit | 8bcabce16e0a9c280721149f5ad9e3f53c115f14 (patch) | |
tree | b556b23adf1c25825aac6b78be90a0ed09b5099d | |
parent | 337b73d2ed2d8ee0be0d99fbc47d4f609ff32821 (diff) | |
download | gnunet-rpm-8bcabce16e0a9c280721149f5ad9e3f53c115f14.tar.gz gnunet-rpm-8bcabce16e0a9c280721149f5ad9e3f53c115f14.zip |
Use %{_prefix} rpm macro as `./configure --prefix=` argument
-rw-r--r-- | rpmbuild/SPECS/gnunet-fedora.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmbuild/SPECS/gnunet-fedora.spec b/rpmbuild/SPECS/gnunet-fedora.spec index 7e22029..e52fb61 100644 --- a/rpmbuild/SPECS/gnunet-fedora.spec +++ b/rpmbuild/SPECS/gnunet-fedora.spec | |||
@@ -97,7 +97,7 @@ echo "%SHA512SUM0 %SOURCE0" | sha512sum -c - | |||
97 | #%configure | 97 | #%configure |
98 | #%configure --disable-rpath | 98 | #%configure --disable-rpath |
99 | #--prefix=%{_prefix} | 99 | #--prefix=%{_prefix} |
100 | ./configure --prefix=/usr --libdir=/%{_lib} --disable-rpath --disable-static | 100 | ./configure --prefix=/%{_prefix} --libdir=/%{_lib} --disable-rpath --disable-static |
101 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool | 101 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
102 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool | 102 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
103 | make clean | 103 | make clean |