Changeset 547


Ignore:
Timestamp:
May 1, 2019, 1:33:39 PM (3 months ago)
Author:
katerina
Message:

Fix for ticket #438 (problems with RPM spec file).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samhain.spec.in

    r532 r547  
    7373make
    7474%if "%{withpwd_prg}" == "xDSH_WITH_CLIENT"
    75 %if 0%{?password}
     75%if "%{password}" != ""
    7676        ./samhain_setpwd samhain new %{password}
    7777        mv samhain samhain.old
     
    115115
    116116%post
    117 if test "x@sh_lkm@" = x; then
    118    :
    119 else
    120    if test -f /sbin/depmod; then
    121      /sbin/depmod -a
    122    fi
    123 fi
    124117if [ "$1" -ge 1 ]; then
    125118        # Activate boot-time start up
     
    193186%files -f sh_file_list
    194187%defattr(-,root,root)
    195 %dir @mylockdir@
    196 %dir @mylogdir@
     188%if "@mylockdir@" != "/run" || "@mylockdir@" != "/var/run"
     189        %dir @mylockdir@
     190%endif
     191%if "@mylogdir@" != "/var/log"
     192        %dir @mylogdir@
     193%endif
    197194%doc docs/BUGS COPYING docs/Changelog
    198195%doc LICENSE docs/FAQ.html docs/HOWTO* docs/MANUAL-2_4.* docs/README*
     
    219216
    220217%changelog
     218* Wed May 01 2019 Rainer Wichmann
     219- remove obsolete part fpr sh_lkm
     220- add fixes by Franky Van L. (password, directory ownership)
     221
    221222* Mon Dec 18 2017 Rainer Wichmann
    222223- patch for SLES12 by Pirmin
Note: See TracChangeset for help on using the changeset viewer.