autoreconf instead of libtool hacks

This commit is contained in:
Rex Dieter 2018-02-24 16:17:44 -06:00
parent aa5f777846
commit 233a37d9ba
1 changed files with 5 additions and 4 deletions

View File

@ -39,6 +39,8 @@ BuildRequires: gtk-doc >= 1.3
BuildRequires: gettext
BuildRequires: pkgconfig
# ./autogen.sh deps
BuildRequires: automake gettext-devel libtool
BuildRequires: chrpath
### documentation requirements
@ -96,6 +98,9 @@ GStreamer streaming media framework.
%patch1 -p1 -b .0001
%build
NOCONFIGURE=1 \
./autogen.sh
%configure \
--with-package-name='Fedora GStreamer package' \
--with-package-origin='http://download.fedoraproject.org' \
@ -105,10 +110,6 @@ GStreamer streaming media framework.
--disable-silent-rules \
--disable-tests --disable-examples
# die rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build V=1