Adding Requires and call to ldconfig in post stage.
This commit is contained in:
parent
0136f845bc
commit
8bac5355da
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue