Accepting request 108511 from security:netfilter
- Place ip binary in /usr tree (UsrMerge project) - Fix permissions to eliminate rpmlint errors OBS-URL: https://build.opensuse.org/request/show/108511 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iproute2?expand=0&rev=53
This commit is contained in:
commit
698e793d9b
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 8 16:45:03 UTC 2012 - rschweikert@suse.com
|
||||
|
||||
- Place ip binary in /usr tree (UsrMerge project)
|
||||
- Fix permissions to eliminate rpmlint errors
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 14 03:04:36 UTC 2012 - jengelh@medozas.de
|
||||
|
||||
|
@ -15,10 +15,11 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: iproute2
|
||||
Provides: iproute = %version
|
||||
Version: 3.2.0
|
||||
Release: 0
|
||||
Provides: iproute = %version
|
||||
Summary: Linux network configuration utilities
|
||||
License: GPL-2.0
|
||||
Group: Productivity/Networking/Routing
|
||||
@ -113,18 +114,24 @@ make install DESTDIR=%buildroot LIBDIR=%_libdir \
|
||||
# We have m_xt
|
||||
rm -f "%buildroot/%_libdir/tc/m_ipt.so"
|
||||
install lib/libnetlink.a %buildroot/%_libdir
|
||||
chmod -x %buildroot/%_libdir/libnetlink.a
|
||||
install include/libnetlink.h %buildroot%_includedir
|
||||
mv %buildroot%_sbindir/ip %buildroot/sbin
|
||||
chmod -x %buildroot%_includedir/libnetlink.h
|
||||
#UsrMerge
|
||||
ln -s %_sbindir/ip %buildroot/sbin
|
||||
mkdir -p %buildroot/bin
|
||||
ln -sf /sbin/ip %buildroot/bin/ip
|
||||
ln -sf %_sbindir/ip %buildroot/bin/ip
|
||||
#EndUsrMerge
|
||||
rm %buildroot%_sbindir/ifcfg
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README*
|
||||
%_sbindir/*
|
||||
#UsrMerge
|
||||
/sbin/*
|
||||
/bin/ip
|
||||
#EndUsrMerge
|
||||
%_mandir/man7/*
|
||||
%_mandir/man8/*
|
||||
%dir %_sysconfdir/iproute2
|
||||
|
Loading…
Reference in New Issue
Block a user