Changeset 13 for trunk

Show
Ignore:
Timestamp:
03/12/06 18:23:52 (8 years ago)
Author:
richdawe
Message:

Bugfixes: install headers in correct place; include .so in -devel, not main rpm; run ldconfig on pre/post in rpm; clean out libtool files in rpm build

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Makefile.am

    r12 r13  
    3030                        sys/vmem_impl_user.h 
    3131 
    32 include_HEADERS = umem.h sys/vmem.h 
     32nobase_include_HEADERS = umem.h sys/vmem.h 
    3333 
    3434TESTS = umem_test 
  • trunk/umem.spec

    r12 r13  
    3737%makeinstall 
    3838 
     39# Remove the libtool files -- we don't want them. 
     40find $RPM_BUILD_ROOT%{_libdir} -name '*.la' | xargs rm -fv 
     41 
     42# Remove the symlink to the SONAME. Let ldconfig manage that. 
     43rm -fv $RPM_BUILD_ROOT%{_libdir}/*.so.[0-9] 
     44 
    3945 
    4046%clean 
     
    4248 
    4349 
     50%pre 
     51/sbin/ldconfig 
     52 
     53 
     54%post 
     55/sbin/ldconfig 
     56 
     57 
    4458%files 
    4559%defattr(-,root,root,-) 
    4660%doc AUTHORS COPYING COPYRIGHT INSTALL NEWS OPENSOLARIS.LICENSE README TODO 
    47 %{_libdir}/*.so 
     61%{_libdir}/*.so.* 
    4862 
    4963 
     
    6579%{_includedir}/*.h 
    6680%{_includedir}/sys/*.h 
    67 %{_libdir}/*.so.* 
     81%{_libdir}/*.so 
     82%{_libdir}/*.a 
    6883 
    6984