forked from pool/iproute2
clean that up
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iproute2?expand=0&rev=107
This commit is contained in:
parent
3995c01ffd
commit
1c453ae648
@ -67,19 +67,19 @@ cd doc
|
||||
make pdf
|
||||
|
||||
%install
|
||||
make install DESTDIR="%{buildroot}" LIBDIR="%_libdir" \
|
||||
make install DESTDIR="%buildroot" LIBDIR="%_libdir" \
|
||||
MODDESTDIR="$b/%_libdir/tc" DOCDIR="%_docdir/iproute2"
|
||||
|
||||
mkdir -p "%{buildroot}/%_docdir/iproute2";
|
||||
cp -an ip/{ifcfg,routef,routel} doc/*.pdf "%{buildroot}/%_docdir/iproute2/"
|
||||
mkdir -p "%buildroot/%_docdir/iproute2";
|
||||
cp -an ip/{ifcfg,routef,routel} doc/*.pdf "%buildroot/%_docdir/iproute2/"
|
||||
|
||||
t=$$
|
||||
mkdir $t
|
||||
mv %{buildroot}/%_docdir $t
|
||||
rm -rf %{buildroot}/*
|
||||
mkdir -p %{buildroot}/%_docdir
|
||||
mv $t/packages/* %{buildroot}/%_docdir
|
||||
rm -rf $t
|
||||
t="$$"
|
||||
mkdir "$t"
|
||||
mv "%buildroot/%_docdir" "$t/"
|
||||
rm -rf "%buildroot"/*
|
||||
mkdir -p "%buildroot/%_docdir"
|
||||
mv "$t/packages"/* "%buildroot/%_docdir"
|
||||
rm -rf "$t"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
|
@ -28,7 +28,7 @@ Url: http://www.linuxfoundation.org/collaborate/workgroups/networking
|
||||
|
||||
#DL-URL: http://kernel.org/pub/linux/utils/net/iproute2/
|
||||
#Git-Clone: git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2
|
||||
Source: http://kernel.org/pub/linux/utils/net/iproute2/%{name}-%{version}.tar.xz
|
||||
Source: http://kernel.org/pub/linux/utils/net/iproute2/%name-%rversion.tar.xz
|
||||
Source2: http://kernel.org/pub/linux/utils/net/iproute2/%name-%rversion.tar.sign
|
||||
Source666: pre_checkin.sh
|
||||
Source667: %name.keyring
|
||||
|
Loading…
Reference in New Issue
Block a user