%define url $URL$
%define name vsys
-%define version 0.7
-%define taglevel 26
+%define version 0.95
+%define taglevel 0
%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
mkdir -p $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/etc/init.d
mkdir -p $RPM_BUILD_ROOT/vsys
-cp factory/* $RPM_BUILD_ROOT/vsys
+#cp factory/* $RPM_BUILD_ROOT/vsys
cp vsys $RPM_BUILD_ROOT/usr/bin
cp vsys-initscript $RPM_BUILD_ROOT/etc/init.d/vsys
cp vsys.conf $RPM_BUILD_ROOT/etc
%files
/usr/bin/vsys
/etc/init.d/vsys
-/vsys/*
+/vsys
%config(noreplace) /etc/vsys.conf
%{_sysconfdir}/logrotate.d/vsys