]> git.pld-linux.org Git - packages/acid.git/commitdiff
- /home/httpd -> /home/services/httpd
authorTomek Orzechowski <orzech@pld-linux.org>
Sat, 7 Dec 2002 18:32:29 +0000 (18:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    acid.spec -> 1.8

acid.spec

index 7dd43f35c469e059f3dcd1645e57e2bc89581e91..6867562fb57f0af19f4fc0997959f3974ecb1046 100644 (file)
--- a/acid.spec
+++ b/acid.spec
@@ -16,6 +16,8 @@ Requires:     apache
 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
@@ -32,9 +34,9 @@ wygenerowanych przez oprogramowanie takie jak NIDS Snort.
 
 %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
@@ -42,5 +44,5 @@ 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}/*
This page took 0.086824 seconds and 4 git commands to generate.