[pipelight] replaced Patch1 with a better solution, thanks to Michael Müller

Björn Esser besser82 at fedoraproject.org
Wed Jul 9 14:44:02 UTC 2014


commit 8b33dd42cf447faaa7a09230b386f9d18ec28bcf
Author: Björn Esser <bjoern.esser at gmail.com>
Date:   Wed Jul 9 16:37:40 2014 +0200

    replaced Patch1 with a better solution, thanks to Michael Müller

 ...links.patch => pipelight-0.2.7.1_use-cp-a.patch |    2 +-
 pipelight.spec                                     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pipelight-0.2.7.1_use-symlinks.patch b/pipelight-0.2.7.1_use-cp-a.patch
similarity index 91%
rename from pipelight-0.2.7.1_use-symlinks.patch
rename to pipelight-0.2.7.1_use-cp-a.patch
index db96bf7..5ea1705 100644
--- a/pipelight-0.2.7.1_use-symlinks.patch
+++ b/pipelight-0.2.7.1_use-cp-a.patch
@@ -7,7 +7,7 @@ Index: mmueller2012-pipelight-e2362eb15df6/bin/pipelight-plugin.in
  		fi
  
 -		if ! install -m 0644 "$src" "$dst" 2>/dev/null; then
-+		if ! ln -fs "$src" "$dst" 2>/dev/null; then
++		if ! cp -a "$src" "$dst" 2>/dev/null; then
  			echo "ERROR: failed to create copy of $src at $dst" >&2
  			echo "ERROR: are you running this program with root rights?" >&2
  			return 1
diff --git a/pipelight.spec b/pipelight.spec
index 4b0b4d1..3a1fd3d 100644
--- a/pipelight.spec
+++ b/pipelight.spec
@@ -12,7 +12,7 @@ Source0:	%{bburl}/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 
 # Upstreamed
 Patch0:		http://besser82.fedorapeople.org/patches/pipelight-0.2.7.1_improve-buildsys.patch
-Patch1:		http://besser82.fedorapeople.org/patches/pipelight-0.2.7.1_use-symlinks.patch
+Patch1:		http://besser82.fedorapeople.org/patches/pipelight-0.2.7.1_use-cp-a.patch
 Patch2:		http://besser82.fedorapeople.org/patches/pipelight-0.2.7.1_fix-missing-call-to-setgroups.patch
 
 # Wine is available on these arches, only.


More information about the scm-commits mailing list