Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove Prefix header, since this isn't a relocatable package.

  • Loading branch information...
commit a005fe018f101322ec89d3371a332ace9bb23b0f 1 parent 5016c02
Gavin Carr authored

Showing 1 changed file with 6 additions and 7 deletions. Show diff stats Hide diff stats

  1. +6 7 SPECS/carbon.spec
13 SPECS/carbon.spec
@@ -9,7 +9,6 @@ Source3: carbon-aggregator.init
9 9 Patch0: %{name}-0.9.9-fhs-compliance.patch
10 10 License: Apache Software License 2.0
11 11 Group: System Environment/Daemons
12   -Prefix: %{_prefix}
13 12 BuildArch: noarch
14 13 URL: https://launchpad.net/graphite
15 14 Requires: whisper >= %{version}
@@ -37,7 +36,7 @@ install -d -m 0755 %{buildroot}%{_initrddir}
37 36 install -d -m 0755 %{buildroot}%{_localstatedir}/log/graphite/carbon-cache
38 37 install -d -m 0755 %{buildroot}%{_localstatedir}/run/graphite
39 38
40   -mv %{buildroot}%{_prefix}/conf %{buildroot}%{_sysconfdir}/graphite
  39 +mv %{buildroot}/usr/conf %{buildroot}%{_sysconfdir}/graphite
41 40 install -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/carbon-cache
42 41 install -m 0755 %{SOURCE2} %{buildroot}%{_initrddir}/carbon-relay
43 42 install -m 0755 %{SOURCE3} %{buildroot}%{_initrddir}/carbon-aggregator
@@ -80,11 +79,11 @@ fi
80 79 %{_initrddir}/carbon-cache
81 80 %{_initrddir}/carbon-relay
82 81 %{_sysconfdir}/graphite/*.example
83   -%{_prefix}/bin/carbon-aggregator.py
84   -%{_prefix}/bin/carbon-cache.py
85   -%{_prefix}/bin/carbon-client.py
86   -%{_prefix}/bin/carbon-relay.py
87   -%{_prefix}/bin/validate-storage-schemas.py
  82 +%{_bindir}/carbon-aggregator.py
  83 +%{_bindir}/carbon-cache.py
  84 +%{_bindir}/carbon-client.py
  85 +%{_bindir}/carbon-relay.py
  86 +%{_bindir}/validate-storage-schemas.py
88 87 %{python_sitelib}/%{name}-%{version}-py%{python_version}.egg-info
89 88 %{python_sitelib}/%{name}/*.py
90 89 %{python_sitelib}/%{name}/*.pyc

0 comments on commit a005fe0

Please sign in to comment.
Something went wrong with that request. Please try again.