[X2Go-Commits] [x2goclient] 64/74: pyhoca-cli: Avoid duplicate files in openSUSE/SLES.
git-admin at x2go.org
git-admin at x2go.org
Fri Dec 15 21:05:52 CET 2023
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to annotated tag 0.5.0.1
in repository x2goclient.
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 8ee19ecc..f5bbc33e 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
%else
BuildRequires: python2-devel
%endif
@@ -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
+%endif
%files
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list