Adding Requires and call to ldconfig in post stage.

This commit is contained in:
Jean-Paul Chaput 2010-05-17 16:20:07 +00:00
parent 0136f845bc
commit 8bac5355da
1 changed files with 22 additions and 15 deletions

View File

@ -15,6 +15,9 @@ Group: Applications/Engineering
Source: %{name}-%{version}.tar.bz2
URL: http://www-asim.lip6.fr/
Packager: Jean-Paul Chaput <Jean-Paul.Chaput@lip6.fr>
Require(post): ldconfig
Require: boost >= 1.33.1
BuildRequire: boost-devel >= 1.33.1
BuildRoot: %{_tmppath}/root-%{name}
@ -82,6 +85,10 @@ EOF
if [ -d %{buildroot} ]; then rm -r %{buildroot}; fi
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%dir %{coriolisTop}/share/etc