Author: steletch
Date: Sun Nov 12 21:37:38 2006
New Revision: 83526
Modified:
packages/cooker/refbase/current/SPECS/refbase.spec
Log:
fix permission for refbase/contrib/endnote/endnote2mysql.php
Modified: packages/cooker/refbase/current/SPECS/refbase.spec
==============================================================================
--- packages/cooker/refbase/current/SPECS/refbase.spec (original)
+++ packages/cooker/refbase/current/SPECS/refbase.spec Sun Nov 12 21:37:38 2006
@@ -21,7 +21,7 @@
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
%description
refbase is a web-based, standards-compliant, multi-user interface
@@ -30,7 +30,7 @@
powerful search tools and automatically generated citation lists.
To finish the installation, follow the procedure located in
-%{var/www/html/%{name}/INSTALL
+%{var}/www/html/%{name}/INSTALL
%prep
%setup -q
@@ -38,16 +38,17 @@
%build
%install
-%{__rm} -rf $RPM_BUILD_ROOT
+%{__rm} -rf %{buildroot}/
# install files
-install -d -m 755 $RPM_BUILD_ROOT%{_var}/www/html/%{name}
+install -d -m 755 %{buildroot}/%{_var}/www/html/%{name}
perl -pi -e 's|/usr/local/mysql/bin/mysql|"%{_bindir}/mysql"|;' install.php
-cp -pRH * $RPM_BUILD_ROOT%{_var}/www/html/%{name}
-chmod 644 $RPM_BUILD_ROOT%{_var}/www/html/%{name}/install.sql
+cp -pRH * %{buildroot}/%{_var}/www/html/%{name}
+chmod 644 %{buildroot}/%{_var}/www/html/%{name}/install.sql
+chmod 644
%{buildroot}/%{_var}/www/html/%{name}/contrib/endnote/endnote2mysql.php
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}/
#%post