[X2Go-Commits] [x2goserver] 06/10: x2goserver.spec: delete .packlist which may be in different locations.
git-admin at x2go.org
git-admin at x2go.org
Mon Mar 6 09:47:53 CET 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goserver.
commit 3139846a227657b3005f54bc5023f92b6d6fefa1
Author: Orion Poplawski <orion at cora.nwra.com>
Date: Thu Jan 5 15:42:38 2017 -0700
x2goserver.spec: delete .packlist which may be in different locations.
Cherry-picked from release/4.0.1.x branch.
---
debian/changelog | 1 +
x2goserver.spec | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index b421275..c0e0e3c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -275,6 +275,7 @@ x2goserver (4.0.1.21-0x2go1) UNRELEASED; urgency=medium
- Fedora >= 21 and (Open)SUSE >= 11 now allow Recommends.
- perl(:MODULE_COMPAT...) is only needed for perl modules. Drop from
x2goserver-printing and x2goserver-xsession.
+ - Delete .packlist which may be in different locations.
-- X2Go Release Manager <git-admin at x2go.org> Sun, 20 Nov 2016 12:54:13 +0100
diff --git a/x2goserver.spec b/x2goserver.spec
index 35c7b56..4ca1a58 100644
--- a/x2goserver.spec
+++ b/x2goserver.spec
@@ -511,7 +511,7 @@ make install DESTDIR=%{buildroot} PREFIX=%{_prefix} NXLIBDIR=%{_libdir}/nx
export NO_BRP_STALE_LINK_ERROR=yes
# Make sure the .packlist file is removed from %%{perl_vendorarch}...
-rm -f %{buildroot}%{perl_vendorarch}/auto/x2goserver/.packlist
+find %{buildroot}%{perl_vendorarch} -name .packlist | while read file; do rm -f "$file"; done
# Remove placeholder files (in a way that works on EPEL-5, as well)
find %{buildroot}%{_libdir}/x2go/extensions/ -type f -name ".placeholder" | while read file; do rm -f "$file"; done
--
Alioth's /srv/git/code.x2go.org/x2goserver.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
More information about the x2go-commits
mailing list