[pipelight] package the %%ghost files to be 0-size

Björn Esser besser82 at fedoraproject.org
Fri Jul 11 13:04:03 UTC 2014


commit b2572c16f9c896db1a3d39a244f92a662e95df4a
Author: Björn Esser <bjoern.esser at gmail.com>
Date:   Fri Jul 11 15:00:03 2014 +0200

    package the %%ghost files to be 0-size

 pipelight.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/pipelight.spec b/pipelight.spec
index 3c63977..b259a22 100644
--- a/pipelight.spec
+++ b/pipelight.spec
@@ -15,7 +15,7 @@
 
 Name:			pipelight
 Version:		0.2.7.1.1
-Release:		0.2%{?gitrel}%{?dist}
+Release:		0.3%{?gitrel}%{?dist}
 Summary:		NPAPI Wrapper Plugin for using Windows plugins in Linux browsers
 
 # No license-files in src-tarball.  Upstream is informed, see:
@@ -119,9 +119,10 @@ _file="share/install-dependency"
 # Copy the packaged dependency-installer-script to some non-changing file.
 # The original file will be %%ghost inside the build rpm in case of manual
 # updates done by the user.  The real file will be installed during %%post.
-%{__cp} -af %{buildroot}%{_datadir}/%{name}/install-dependency		\
+%{__mv} -f %{buildroot}%{_datadir}/%{name}/install-dependency		\
 	%{buildroot}%{_datadir}/%{name}/install-dependency.real
-%{_bindir}/touch %{buildroot}%{_datadir}/%{name}/install-dependency.sig
+%{_bindir}/touch %{buildroot}%{_datadir}/%{name}/install-dependency	\
+	%{buildroot}%{_datadir}/%{name}/install-dependency.sig
 
 
 %post
@@ -157,6 +158,9 @@ fi
 
 
 %changelog
+* Fri Jul 11 2014 Björn Esser <bjoern.esser at gmail.com> - 0.2.7.1.1-0.3.git20140711.8b41e9505f7a
+- package the %%ghost files to be 0-size
+
 * Fri Jul 11 2014 Björn Esser <bjoern.esser at gmail.com> - 0.2.7.1.1-0.2.git20140711.8b41e9505f7a
 - use the most recent dependency-installer-script provided in upstream's scm
 - copy the original dependency-installer-script to some non-changing file and


More information about the scm-commits mailing list