Adding Requires and call to ldconfig in post stage.
This commit is contained in:
parent
0136f845bc
commit
8bac5355da
|
@ -1,21 +1,24 @@
|
||||||
|
|
||||||
%define coriolisVersion 1.0
|
%define coriolisVersion 1.0
|
||||||
%define coriolisTop @coriolisTop@
|
%define coriolisTop @coriolisTop@
|
||||||
%define svntag @svntag@
|
%define svntag @svntag@
|
||||||
|
|
||||||
%define with_binarytar %{?_with_binarytar:1}%{!?_with_binarytar:0}
|
%define with_binarytar %{?_with_binarytar:1}%{!?_with_binarytar:0}
|
||||||
|
|
||||||
|
|
||||||
Name: coriolis2
|
Name: coriolis2
|
||||||
Summary: Coriolis 2 VLSI CAD Sytem
|
Summary: Coriolis 2 VLSI CAD Sytem
|
||||||
Version: %{coriolisVersion}.%{svntag}
|
Version: %{coriolisVersion}.%{svntag}
|
||||||
Release: 1%{dist}
|
Release: 1%{dist}
|
||||||
License: LGPL/GPL
|
License: LGPL/GPL
|
||||||
Group: Applications/Engineering
|
Group: Applications/Engineering
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
URL: http://www-asim.lip6.fr/
|
URL: http://www-asim.lip6.fr/
|
||||||
Packager: Jean-Paul Chaput <Jean-Paul.Chaput@lip6.fr>
|
Packager: Jean-Paul Chaput <Jean-Paul.Chaput@lip6.fr>
|
||||||
BuildRoot: %{_tmppath}/root-%{name}
|
Require(post): ldconfig
|
||||||
|
Require: boost >= 1.33.1
|
||||||
|
BuildRequire: boost-devel >= 1.33.1
|
||||||
|
BuildRoot: %{_tmppath}/root-%{name}
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
@ -82,6 +85,10 @@ EOF
|
||||||
if [ -d %{buildroot} ]; then rm -r %{buildroot}; fi
|
if [ -d %{buildroot} ]; then rm -r %{buildroot}; fi
|
||||||
|
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%dir %{coriolisTop}/share/etc
|
%dir %{coriolisTop}/share/etc
|
||||||
|
|
Loading…
Reference in New Issue