[X2Go-Commits] [pyhoca-cli] 01/01: pyhoca-cli: Avoid duplicate files in openSUSE/SLES.

git-admin at x2go.org git-admin at x2go.org
Tue Oct 14 21:13:01 CEST 2014

This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository pyhoca-cli.

commit 275b7f1ef964ba1f09096d4783ad605211caad73
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Oct 14 21:12:54 2014 +0200

    pyhoca-cli: Avoid duplicate files in openSUSE/SLES.
 pyhoca-cli.spec |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pyhoca-cli.spec b/pyhoca-cli.spec
index 8ee19ec..f5bbc33 100644
--- a/pyhoca-cli.spec
+++ b/pyhoca-cli.spec
@@ -15,6 +15,7 @@ Source0:        http://code.x2go.org/releases/source/%{name}/%{name}-%{version}.
 BuildArch:      noarch
 %if 0%{?suse_version}
 BuildRequires:  python-devel
+BuildRequires:  fdupes
 BuildRequires:  python2-devel
@@ -52,6 +53,9 @@ mkdir -p %{buildroot}/%{_bindir}/
 cp -p %{name} %{buildroot}/%{_bindir}/
 mkdir -p %{buildroot}/%{_mandir}/
 cp -rp man/* %{buildroot}/%{_mandir}/
+%if 0%{?fdupes:1}
+%fdupes %buildroot/%_prefix

Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-cli.git

More information about the x2go-commits mailing list