]> git.pld-linux.org Git - packages/acid.git/commitdiff
- use %php_data_dir macro master
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 17 Jun 2008 05:29:17 +0000 (05:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    acid.spec -> 1.28

acid.spec

index bf7442589f66a891fc1be2a86d517b6b5220d26d..753f5f72b0926f6195bcbe6b4756a34072b685b3 100644 (file)
--- a/acid.spec
+++ b/acid.spec
@@ -1,3 +1,5 @@
+# TODO
+# - proper webapps integration: make config NOT accessible from web
 Summary:       Analysis Console for Incident Databases
 Summary(pl.UTF-8):     Konsola do analizy baz danych o incydentach (ACID)
 Name:          acid
@@ -10,7 +12,7 @@ Source0:      http://acidlab.sourceforge.net/%{name}-%{version}.tar.gz
 Source1:       %{name}.conf
 Patch0:                %{name}-config.patch
 URL:           http://acidlab.sourceforge.net/
-BuildRequires: rpmbuild(macros) >= 1.264
+BuildRequires: rpmbuild(macros) >= 1.461
 Requires:      %{name}(DB_Driver) = %{version}-%{release}
 Requires:      adodb >= 4.67-1.17
 Requires:      jpgraph >= 1.8
@@ -96,7 +98,7 @@ rm -rf $RPM_BUILD_ROOT
 %webapp_unregister httpd %{_webapp}
 
 %triggerpostun -- %{name} < 0.9.6b23-5.2
-%{__sed} -i -e 's,%{php_pear_dir}/adodb,/usr/share/php/adodb,' %{_sysconfdir}/acid_conf.php
+%{__sed} -i -e 's,%{php_pear_dir}/adodb,%{php_data_dir}/adodb,' %{_sysconfdir}/acid_conf.php
 
 %files
 %defattr(644,root,root,755)
This page took 0.104719 seconds and 4 git commands to generate.