Search
j0ke.net Open Build Service
>
Projects
>
GFS
:
experimental
>
cluster3
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 16
[-]
[+]
Changed
cluster.spec
@@ -16,6 +16,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: kernel >= 2.6.27 openais >= 1.0.0 sysconfig >= 0.71.11 +Requires: sed BuildRequires: kernel-source BuildRequires: ncurses-devel readline-devel slang-devel libxml2-devel BuildRequires: libopenais-devel libvirt-devel @@ -114,12 +115,12 @@ %post -n gfs2-utils if [ -f /etc/modprobe.d/unsupported-modules ] ; then - sed -i s@"allow_unsupported_modules 0"@allow_unsupported_modules 1"@ /etc/modprobe.d/unsupported-modules + sed -i s@"allow_unsupported_modules 0"@"allow_unsupported_modules 1"@ /etc/modprobe.d/unsupported-modules fi %preun -n gfs2-utils if [ -f /etc/modprobe.d/unsupported-modules ] ; then - sed -i s@"allow_unsupported_modules 1"@allow_unsupported_modules 0"@ /etc/modprobe.d/unsupported-modules + sed -i s@"allow_unsupported_modules 1"@"allow_unsupported_modules 0"@ /etc/modprobe.d/unsupported-modules fi %postun