Ignore:
Timestamp:
Feb 21, 2006, 6:27:48 PM (15 years ago)
Author:
bcornec
Message:
  • .spec files adapted to make rpmlint happy
  • no more dyn. libs in mondo
  • no more the X11 part in mondo
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/distributions/rpm/mindi.spec

    r401 r423  
    99%define addreqb bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools
    1010%define addreq  DDD
    11 
    12 # if mandriva official build (rpm --with is_official)
    13 %{?is_official:%define rel %{mkrel} %{mrel}}%{!?is_official:%define rel %{mrel}}
    14 
    15 # define the mkrel macro if it is not already defined if mandriva offical build
    16 %if is_official
    17 %{?!mkrel:%define mkrel(c:) %{-c:0.%{-c*}.}%{!?_with_unstable:%(perl -e '$_="%{1}";m/(.\*)(\\d+)$/;$rel=${2}-1;re;print "$1$rel";').%{?subrel:%subrel}%{!?subrel:1}.%{?distversion:%distversion}%{?!distversion:%(echo $[%{mdkversion}/10])}}%{?_with_unstable:%{1}}%{?distsuffix:%distsuffix}%{?!distsuffix:mdk}}
    18 %endif
     11%define rel     %{mrel}
    1912
    2013Summary:    Mindi creates emergency boot disks/CDs using your kernel, tools and modules
     
    3730verify packages, etc.
    3831
    39 %debug_package
    4032%prep
    4133%{__rm}  -rf $RPM_BUILD_ROOT
     
    6254
    6355%post
    64 for i in %{_libdir}/mindi/aux-tools/sbin/* %{_libdir}/mindi/rootfs/bin/* %{_libdir}/mindi/rootfs/sbin/* ; do
    65     if [ ! -h $i ]; then
    66         %{__chmod} 755 $i
    67     fi
    68 done
    6956if [ -f /usr/local/sbin/mindi ]; then
    7057    echo "WARNING: /usr/local/sbin/mindi exists. You should probably remove your manual mindi installation !"
     
    7562%config(noreplace) %{_sysconfdir}/mindi/deplist.txt
    7663%doc ChangeLog INSTALL COPYING README TODO README.ia64 README.pxe README.busybox svn.log
    77 %{_mandir}
     64%{_mandir}/man8/*
    7865%{_libdir}/mindi
    7966%attr(755,root,root) %{_sbindir}/*
     67%attr(755,root,root) %{_libdir}/mindi/aux-tools/sbin/*
     68%attr(755,root,root) %{_libdir}/mindi/rootfs/bin/*
     69%attr(755,root,root) %{_libdir}/mindi/rootfs/sbin/*
    8070
    8171%changelog
Note: See TracChangeset for help on using the changeset viewer.