Skip to content

Commit 13d8b46

Browse files
authored
Merge pull request #57 from keyboard2005/fix/patch-electron-installer-redhat-spec
Fix electron-installer-redhat RPM spec copy path
2 parents 9616a65 + b4ab289 commit 13d8b46

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

patches/electron-installer-redhat+3.4.0.patch

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,8 @@ index e07a8a3..486f59e 100644
88

99
%if "%{_host_cpu}" != "%{_target_cpu}"
1010
%global __strip /bin/true
11+
@@ -26,3 +27,3 @@
12+
%>%install
13+
mkdir -p %{buildroot}/usr/
14+
-cp <%= process.platform === 'darwin' ? '-R' : '-r' %> usr/* %{buildroot}/usr/
15+
+cp <%= process.platform === 'darwin' ? '-R' : '-r' %> %{_topdir}/BUILD/usr/* %{buildroot}/usr/

0 commit comments

Comments
 (0)