Skip to content

Commit d81dfca

Browse files
correct %install section
1 parent 1377f67 commit d81dfca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/rpm.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ Obsoletes: <%= repl %>
111111

112112
%install
113113
<% if defined?(sources) && !sources.nil? && !sources.empty? -%>
114-
mkdir -p %{buildroot}%{prefix}
115-
cp -r * %{buildroot}%{prefix}
114+
mkdir -p %{buildroot}
115+
cp -r * %{buildroot}
116116
<% end -%>
117117

118118
%clean

0 commit comments

Comments
 (0)