Accepting request 55479 from home:sdrahn:branches:devel:tools
OBS-URL: https://build.opensuse.org/request/show/55479 OBS-URL: https://build.opensuse.org/package/show/devel:tools/fakeroot?expand=0&rev=3
This commit is contained in:
parent
b1405cb655
commit
6a5a73a0c5
@ -46,13 +46,13 @@ mkdir obj-sysv obj-tcp
|
||||
(
|
||||
cd obj-sysv
|
||||
CFLAGS="$RPM_OPT_FLAGS" ../configure --prefix=/usr --mandir=/usr/share/man \
|
||||
--libdir=/usr/lib --program-suffix=-sysv --disable-static
|
||||
--libdir=%_libdir --program-suffix=-sysv --disable-static
|
||||
make
|
||||
)
|
||||
(
|
||||
cd obj-tcp
|
||||
CFLAGS="$RPM_OPT_FLAGS" ../configure --prefix=/usr \
|
||||
--mandir=/usr/share/man --libdir=/usr/lib --with-ipc=tcp \
|
||||
--mandir=/usr/share/man --libdir=%_libdir --with-ipc=tcp \
|
||||
--program-suffix=-tcp --disable-static
|
||||
make
|
||||
)
|
||||
@ -60,17 +60,17 @@ mkdir obj-sysv obj-tcp
|
||||
%install
|
||||
unset POSIXLY_CORRECT
|
||||
make -C obj-tcp DESTDIR="$RPM_BUILD_ROOT" install
|
||||
mv $RPM_BUILD_ROOT/usr/lib/libfakeroot-0.so \
|
||||
$RPM_BUILD_ROOT/usr/lib/libfakeroot-tcp.so
|
||||
mv $RPM_BUILD_ROOT/%_libdir/libfakeroot-0.so \
|
||||
$RPM_BUILD_ROOT/%_libdir/libfakeroot-tcp.so
|
||||
make -C obj-sysv DESTDIR="$RPM_BUILD_ROOT" install
|
||||
mv $RPM_BUILD_ROOT/usr/lib/libfakeroot-0.so \
|
||||
$RPM_BUILD_ROOT/usr/lib/libfakeroot-sysv.so
|
||||
mv $RPM_BUILD_ROOT/%_libdir/libfakeroot-0.so \
|
||||
$RPM_BUILD_ROOT/%_libdir/libfakeroot-sysv.so
|
||||
ln -fs /usr/bin/fakeroot-sysv $RPM_BUILD_ROOT/usr/bin/fakeroot
|
||||
ln -fs /usr/bin/faked $RPM_BUILD_ROOT/usr/bin/faked
|
||||
|
||||
# cleanup
|
||||
rm $RPM_BUILD_ROOT/usr/lib/libfakeroot.*a
|
||||
rm $RPM_BUILD_ROOT/usr/lib/libfakeroot.so
|
||||
rm $RPM_BUILD_ROOT/%_libdir/libfakeroot.*a
|
||||
rm $RPM_BUILD_ROOT/%_libdir/libfakeroot.so
|
||||
rm -fr $RPM_BUILD_ROOT/%{_mandir}/es
|
||||
rm -fr $RPM_BUILD_ROOT/%{_mandir}/fr
|
||||
rm -fr $RPM_BUILD_ROOT/%{_mandir}/sv
|
||||
|
Loading…
Reference in New Issue
Block a user