Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


[DE13] RPM Package Fix #453

merged 1 commit into from

2 participants

Joe Breu rcbjenkins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 20, 2013
  1. Joe Breu

    [DE13] RPM packaging broken

    breu authored
    fixes #452
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 3 deletions.
  1. +5 −3 redhat/SPEC/opencenter.spec
8 redhat/SPEC/opencenter.spec
@@ -13,8 +13,8 @@ URL:
Source0: opencenter-%{version}.tgz
Source1: opencenter.conf
Source2: opencenter.upstart
-Source2: opencenter.systemd
-Source2: opencenter.sysconfig
+Source3: opencenter.systemd
+Source4: opencenter.sysconfig
BuildArch: noarch
@@ -87,6 +87,8 @@ install -m 600 $RPM_SOURCE_DIR/opencenter.conf $RPM_BUILD_ROOT/etc/opencenter/op
%if 0%{?rhel} == 6
install -m 755 $RPM_SOURCE_DIR/opencenter.upstart $RPM_BUILD_ROOT/etc/init/opencenter.conf
+mkdir -p $RPM_BUILD_ROOT/etc/sysconfig
+mkdir -p $RPM_BUILD_ROOT/etc/systemd/system
install -m 755 $RPM_SOURCE_DIR/opencenter.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/opencenter
install -m 755 $RPM_SOURCE_DIR/opencenter.systemd $RPM_BUILD_ROOT/etc/systemd/system/opencenter.service
@@ -102,7 +104,7 @@ install -m 755 $RPM_SOURCE_DIR/opencenter.systemd $RPM_BUILD_ROOT/etc/systemd/sy
+%config(noreplace) /etc/sysconfig/opencenter
%files -n python-opencenter
Something went wrong with that request. Please try again.