浏览代码

tag config files as such

Ralf S. Engelschall 24 年之前
父节点
当前提交
f532bb5f38
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      tomcat/tomcat.spec

+ 4 - 2
tomcat/tomcat.spec

@@ -32,7 +32,7 @@ Distribution: OpenPKG [EXP]
 Group:        Web
 License:      Apache Software License 1.1
 Version:      3.2.4
-Release:      20011227
+Release:      20020102
 
 #   list of sources
 Source0:      http://jakarta.apache.org/builds/jakarta-tomcat/release/v%{version}/bin/jakarta-tomcat-%{version}.tar.gz
@@ -88,7 +88,9 @@ AutoReqProv:  no
     %{l_shtool} install -c -m 755 -e 's;@l_prefix@;%{l_prefix};g' \
         %{SOURCE rc.tomcat} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
 
-    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
+    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
+        %{l_files_std} \
+        '%config %{l_prefix}/etc/tomcat/*'
 
 %files -f files