From 64bf02598a4e2c20aea387b70ef4ab6520b43ba9 Mon Sep 17 00:00:00 2001 From: teastep Date: Thu, 17 May 2007 22:21:54 +0000 Subject: [PATCH] Add version file to Shorewall-shell git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6395 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-shell/install.sh | 1 + Shorewall-shell/shorewall-shell.spec | 1 + 2 files changed, 2 insertions(+) diff --git a/Shorewall-shell/install.sh b/Shorewall-shell/install.sh index ad3806d02..38612faa1 100755 --- a/Shorewall-shell/install.sh +++ b/Shorewall-shell/install.sh @@ -248,6 +248,7 @@ for f in prog.* ; do echo "Program skeleton file ${f#*.} installed as ${PREFIX}/usr/share/shorewall-shell/$f" done +echo $VERSION > ${PREFIX}/usr/share/shorewall-shell/version # # Report Success # diff --git a/Shorewall-shell/shorewall-shell.spec b/Shorewall-shell/shorewall-shell.spec index 50bda258a..eee02c5d3 100644 --- a/Shorewall-shell/shorewall-shell.spec +++ b/Shorewall-shell/shorewall-shell.spec @@ -59,6 +59,7 @@ rm -rf $RPM_BUILD_ROOT %attr(0444,root,root) /usr/share/shorewall-shell/lib.tunnels %attr(0644,root,root) /usr/share/shorewall-shell/prog.footer %attr(0644,root,root) /usr/share/shorewall-shell/prog.header +%attr(0644,root,root) /usr/share/shorewall-shell/version %doc COPYING INSTALL