- Use autoreconf directly instead of makeconf.sh
OBS-URL: https://build.opensuse.org/package/show/filesystems/fuse?expand=0&rev=46
This commit is contained in:
parent
7335b7fdfc
commit
4bf3909fae
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 8 13:36:12 UTC 2013 - idonmez@suse.com
|
||||||
|
|
||||||
|
- Use autoreconf directly instead of makeconf.sh
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 4 15:04:08 UTC 2013 - archie@dellroad.org
|
Mon Mar 4 15:04:08 UTC 2013 - archie@dellroad.org
|
||||||
|
|
||||||
|
@ -26,7 +26,6 @@ Release: 0
|
|||||||
Source: %{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.gz
|
||||||
Source2: fuse.rpmlintrc
|
Source2: fuse.rpmlintrc
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Source4: makeconf.sh
|
|
||||||
Patch: fuse-install-fix.diff
|
Patch: fuse-install-fix.diff
|
||||||
Patch2: fuse-gnu_source.patch
|
Patch2: fuse-gnu_source.patch
|
||||||
Patch3: fusermount-compile-as-pie.patch
|
Patch3: fusermount-compile-as-pie.patch
|
||||||
@ -141,11 +140,11 @@ http://fuse.sourceforge.net/wiki
|
|||||||
%patch -p1
|
%patch -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
sh %{SOURCE4}
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -g -fno-strict-aliasing"
|
export CFLAGS="$RPM_OPT_FLAGS -g -fno-strict-aliasing"
|
||||||
export MOUNT_FUSE_PATH=%{_sbindir}
|
export MOUNT_FUSE_PATH=%{_sbindir}
|
||||||
|
autoreconf -fi
|
||||||
%configure --with-pic \
|
%configure --with-pic \
|
||||||
--with-pkgconfigdir=%{_libdir}/pkgconfig \
|
--with-pkgconfigdir=%{_libdir}/pkgconfig \
|
||||||
--enable-lib \
|
--enable-lib \
|
||||||
|
45
makeconf.sh
45
makeconf.sh
@ -1,45 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
echo Running libtoolize...
|
|
||||||
libtoolize --automake -c -f
|
|
||||||
|
|
||||||
CONFIG_RPATH=/usr/share/gettext/config.rpath
|
|
||||||
if ! [ -f $CONFIG_RPATH ]; then
|
|
||||||
CONFIG_RPATH=/usr/local/share/gettext/config.rpath
|
|
||||||
fi
|
|
||||||
if ! [ -f $CONFIG_RPATH ]; then
|
|
||||||
if [ -f config.rpath ]; then
|
|
||||||
CONFIG_RPATH=
|
|
||||||
else
|
|
||||||
echo "config.rpath not found!" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if ! [ -z "$CONFIG_RPATH" ]; then
|
|
||||||
cp "$CONFIG_RPATH" .
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test ! -z "`which autoreconf`"; then
|
|
||||||
echo Running autoreconf...
|
|
||||||
autoreconf -i -f
|
|
||||||
else
|
|
||||||
echo Running aclocal...
|
|
||||||
aclocal
|
|
||||||
echo Running autoheader...
|
|
||||||
autoheader
|
|
||||||
echo Running autoconf...
|
|
||||||
autoconf
|
|
||||||
echo Running automake...
|
|
||||||
automake -a -c
|
|
||||||
(
|
|
||||||
echo Entering directory: kernel
|
|
||||||
cd kernel
|
|
||||||
echo Running autoheader...
|
|
||||||
autoheader
|
|
||||||
echo Running autoconf...
|
|
||||||
autoconf
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
rm -f config.cache config.status
|
|
||||||
echo "To compile run './configure', and then 'make'."
|
|
Loading…
Reference in New Issue
Block a user