BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _aciddir /home/services/httpd/html/%{name}
+
%description
ACID is a PHP-based analysis engine to search and process a database
of security incidents generated by the security-related software such
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/home/httpd/html/%{name}
+install -d $RPM_BUILD_ROOT%{_aciddir}
-install acid* index.html $RPM_BUILD_ROOT/home/httpd/html/%{name}
+install acid* index.html $RPM_BUILD_ROOT%{_aciddir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc create* CHANGELOG CREDITS README TODO
-%attr(750,root,root) %dir /home/httpd/html/%{name}
-%attr(640,root,http) /home/httpd/html/%{name}/*
+%attr(750,root,root) %dir %{_aciddir}
+%attr(640,root,http) %{_aciddir}/*