Package up shared libs too
This commit is contained in:
parent
87584c19bc
commit
a3b07315da
|
@ -2,7 +2,7 @@
|
|||
|
||||
Name: ebtables
|
||||
Version: 2.0.8
|
||||
Release: 0.3.%{prever}%{?dist}
|
||||
Release: 0.4.%{prever}%{?dist}
|
||||
Summary: Ethernet Bridge frame table administration tool
|
||||
License: GPL
|
||||
Group: System Environment/Base
|
||||
|
@ -33,6 +33,8 @@ make %{?_smp_mflags} CFLAGS="$MY_CFLAGS"
|
|||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
install -D -m0755 extensions/*.so $RPM_BUILD_ROOT%{_libdir}
|
||||
install -D -m0755 *.so $RPM_BUILD_ROOT%{_libdir}
|
||||
install -D -m0755 ebtables $RPM_BUILD_ROOT/sbin/ebtables
|
||||
install -D -m0755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/ebtables
|
||||
install -D -m0644 ethertypes $RPM_BUILD_ROOT%{_sysconfdir}/ethertypes
|
||||
|
@ -46,6 +48,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||
|
||||
%post
|
||||
/sbin/chkconfig --add ebtables
|
||||
/sbin/ldconfig
|
||||
|
||||
%preun
|
||||
if [ $1 -eq 0 ]; then
|
||||
|
@ -57,6 +60,7 @@ fi
|
|||
if [ $1 -ge 1 ]; then
|
||||
/sbin/service ebtables condrestart &> /dev/null || :
|
||||
fi
|
||||
/sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-, root, root, 0755)
|
||||
|
@ -64,12 +68,16 @@ fi
|
|||
%doc %{_mandir}/man8/ebtables.8*
|
||||
%config(noreplace) %{_sysconfdir}/ethertypes
|
||||
%{_initrddir}/ebtables
|
||||
%{_libdir}/libebt*.so
|
||||
/sbin/ebtables
|
||||
%ghost %{_sysconfdir}/ebtables.filter
|
||||
%ghost %{_sysconfdir}/ebtables.nat
|
||||
%ghost %{_sysconfdir}/ebtables.broute
|
||||
|
||||
%changelog
|
||||
* Sun Apr 2 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.8-0.4.rc1
|
||||
- package up the shared libs too
|
||||
|
||||
* Wed Mar 29 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.8-0.3.rc1
|
||||
- use -fPIC
|
||||
|
||||
|
|
Loading…
Reference in New Issue