From 48fcbd558e03f682225fd455918cadeb79f58c7d Mon Sep 17 00:00:00 2001 From: kloczek Date: Sun, 22 Apr 2001 00:24:05 +0000 Subject: [PATCH] - /sbin/ldconfig must be runed in %post, %postun in main package (not in devel), - cosmetics. Changed files: SimGear.spec -> 1.9 --- SimGear.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/SimGear.spec b/SimGear.spec index b45b62c..966ebae 100644 --- a/SimGear.spec +++ b/SimGear.spec @@ -3,12 +3,12 @@ Summary(pl): zestaw bibliotek do budowania tr Name: SimGear Version: 0.0.14 Release: 2 +License: GPL Group: Libraries Group(de): Libraries Group(es): Bibliotecas Group(fr): Librairies Group(pl): Biblioteki -License: GPL Source0: ftp://ftp.simgear.org/pub/simgear/Source/%{name}-%{version}.tar.gz Patch0: %{name}-DESTDIR.patch Patch1: %{name}-shared.patch @@ -93,11 +93,11 @@ automake -a -c %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT -%{__make} DESTDIR="$RPM_BUILD_ROOT" install -%post devel -p /sbin/ldconfig +%{__make} install DESTDIR=$RPM_BUILD_ROOT -%postun devel -p /sbin/ldconfig +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT @@ -110,10 +110,10 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc simgear/metakit/doc/*.html %doc simgear/metakit/doc/api -%attr(755,root,root) %{_libdir}/*.so -%attr(755,root,root) %{_libdir}/*.la +%attr(755,root,root) %{_libdir}/lib*.so +%attr(755,root,root) %{_libdir}/lib*.la %{_includedir}/* %files static %defattr(644,root,root,755) -%{_libdir}/*.a +%{_libdir}/lib*.a -- 2.44.0