autoreconf instead of libtool hacks
This commit is contained in:
parent
aa5f777846
commit
233a37d9ba
@ -39,6 +39,8 @@ BuildRequires: gtk-doc >= 1.3
|
|||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
|
||||||
|
# ./autogen.sh deps
|
||||||
|
BuildRequires: automake gettext-devel libtool
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
|
|
||||||
### documentation requirements
|
### documentation requirements
|
||||||
@ -96,6 +98,9 @@ GStreamer streaming media framework.
|
|||||||
%patch1 -p1 -b .0001
|
%patch1 -p1 -b .0001
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
NOCONFIGURE=1 \
|
||||||
|
./autogen.sh
|
||||||
|
|
||||||
%configure \
|
%configure \
|
||||||
--with-package-name='Fedora GStreamer package' \
|
--with-package-name='Fedora GStreamer package' \
|
||||||
--with-package-origin='http://download.fedoraproject.org' \
|
--with-package-origin='http://download.fedoraproject.org' \
|
||||||
@ -105,10 +110,6 @@ GStreamer streaming media framework.
|
|||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
--disable-tests --disable-examples
|
--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
|
%make_build V=1
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user