[X2Go-Commits] [pyhoca-gui] 01/01: pyhoca-gui.spec: Make rpmlint a little happier.
git-admin at x2go.org
git-admin at x2go.org
Tue Oct 14 21:04:18 CEST 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository pyhoca-gui.
commit ef2d3da5e4fdf360d7cdf8714f0976dd86d12d9d
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Tue Oct 14 21:04:14 2014 +0200
pyhoca-gui.spec: Make rpmlint a little happier.
---
pyhoca-gui.spec | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/pyhoca-gui.spec b/pyhoca-gui.spec
index 2c672ff..673632d 100644
--- a/pyhoca-gui.spec
+++ b/pyhoca-gui.spec
@@ -11,6 +11,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 @@ notification area and allows multiple X2Go session handling.
mkdir -p %{buildroot}%{_bindir}/
cp -p %{name} %{buildroot}%{_bindir}/
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
+%if 0%{?fdupes:1}
+%fdupes %buildroot/%_prefix
+%endif
%post
@@ -68,6 +72,7 @@ fi
%files
+%defattr(-,root,root)
%doc COPYING README TODO
%{_bindir}/%{name}
%{python_sitelib}/*
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git
More information about the x2go-commits
mailing list