[deltacloud-core/f14] Updated init.d to use nobody user and follow Fedora Guidelines
Michal Fojtik
mfojtik at fedoraproject.org
Tue May 31 11:41:33 UTC 2011
commit b1b3eacc96ddb4827353b3fae28d94448ee9f884
Author: Michal Fojtik <mi at mifo.sk>
Date: Tue May 31 13:40:50 2011 +0200
Updated init.d to use nobody user and follow Fedora Guidelines
.gitignore | 1 +
deltacloud-core.spec | 8 ++++++--
sources | 1 +
3 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 928299a..5fed66e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/deltacloudd-fedora
/fix_load_balancers.patch
/fix_rhevm_memory_calculation.patch
+/deltacloud-core
diff --git a/deltacloud-core.spec b/deltacloud-core.spec
index d731468..be07a17 100644
--- a/deltacloud-core.spec
+++ b/deltacloud-core.spec
@@ -3,12 +3,13 @@
Summary: Deltacloud REST API
Name: deltacloud-core
Version: 0.3.0
-Release: 5%{?dist}
+Release: 6%{?dist}
Group: Development/Languages
License: ASL 2.0 and MIT
URL: http://incubator.apache.org/deltacloud
Source0: http://gems.rubyforge.org/gems/%{name}-%{version}.gem
Source1: deltacloudd-fedora
+Source2: deltacloud-core
Patch0: fix_load_balancers.patch
Patch1: fix_rhevm_memory_calculation.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -71,8 +72,8 @@ mkdir -p %{buildroot}%{app_root}
mkdir -p %{buildroot}%{_initddir}
mkdir -p %{buildroot}%{_bindir}
cp -r %{_builddir}/%{name}-%{version}/* %{buildroot}%{app_root}
-mv %{buildroot}%{app_root}/support/fedora/%{name} %{buildroot}%{_initddir}
install -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/deltacloudd
+install -m 0755 %{SOURCE2} %{buildroot}%{_initddir}/%{name}
find %{buildroot}%{app_root}/lib -type f | xargs chmod -x
chmod 0755 %{buildroot}%{_initddir}/%{name}
chmod 0755 %{buildroot}%{app_root}/bin/deltacloudd
@@ -130,6 +131,9 @@ fi
%{app_root}/Rakefile
%changelog
+* Tue May 31 2011 Michal Fojtik <mfojtik at redhat.com> - 0.3.0-6
+- Updated init.d script to match Fedora Guidelines
+
* Fri May 20 2011 Michal Fojtik <mfojtik at redhat.com> - 0.3.0-5
- Obsoleted rubygem-deltacloud-core
diff --git a/sources b/sources
index e5e3d25..b4c8705 100644
--- a/sources
+++ b/sources
@@ -2,3 +2,4 @@
b14213ac9ea2a550db5e74c9d074c7c9 deltacloudd-fedora
4c4a9c31696763e9049f645282c5d672 fix_load_balancers.patch
a9ef9312ad161310d9d069bb9dbb8d5c fix_rhevm_memory_calculation.patch
+3e3f2510ca50962ac95c768600711e49 deltacloud-core
More information about the scm-commits
mailing list