Sfoglia il codice sorgente

Ops, make sure the active file is not destroyed on upgrades.

Ralf S. Engelschall 24 anni fa
parent
commit
cf6f003153
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3 2
      inn/inn.spec

+ 3 - 2
inn/inn.spec

@@ -40,7 +40,7 @@ Version:      %{V_release}
 %else
 Version:      %{V_release}.%{V_stable}
 %endif
-Release:      0
+Release:      1
 
 #   list of sources
 Source0:      ftp://ftp.openpkg.org/DST/inn/fakesyslog.tar.gz
@@ -223,7 +223,8 @@ AutoReqProv:  no
         '%config %{l_prefix}/etc/inn/*' \
         '%attr(4550,root,%{l_fsgrp}) %{l_prefix}/bin/rnews' \
         '%attr(4755,root,%{l_fsgrp}) %{l_prefix}/libexec/inn/inndstart' \
-        '%attr(4755,root,%{l_fsgrp}) %{l_prefix}/libexec/inn/startinnfeed'
+        '%attr(4755,root,%{l_fsgrp}) %{l_prefix}/libexec/inn/startinnfeed' \
+        '%config %{l_prefix}/var/inn/db/*'
 
 %files -f files