Ubuntu Pastebin

Paste from smoser at Mon, 28 Mar 2016 17:58:20 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
=== modified file 'packages/redhat/cloud-init.spec.in'
--- packages/redhat/cloud-init.spec.in	2014-11-25 19:46:10 +0000
+++ packages/redhat/cloud-init.spec.in	2016-03-28 17:58:15 +0000
@@ -9,6 +9,13 @@
 %define ${d}
 #end for
 
+## from http://permalink.gmane.org/gmane.comp.storage.libstoragemgmt.devel/2284
+%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
+%define udev_dir /usr/lib
+%else
+%define udev_dir /lib
+%endif
+
 Name:           cloud-init
 Version:        ${version}
 Release:        ${release}${subrelease}%{?dist}
@@ -173,8 +180,8 @@
 
 # Program binaries
 %{_bindir}/cloud-init*
-%{_libexecdir}/%{name}/uncloud-init
-%{_libexecdir}/%{name}/write-ssh-key-fingerprints
+%{_libexecdir}/%{name}
+%{_udev_dir}}/udev/
 
 # Docs
 %doc LICENSE ChangeLog TODO.rst requirements.txt
@@ -189,7 +196,6 @@
 %config(noreplace)      %{_sysconfdir}/cloud/templates/*
 %config(noreplace) %{_sysconfdir}/rsyslog.d/21-cloudinit.conf
 
-%{_libexecdir}/%{name}
 %dir %{_sharedstatedir}/cloud
 
 # Python code is here...
Download as text