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