From a0797776d66faae159da55b0ae486f0e3d7bed52 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Tue, 2 Mar 2021 20:46:27 +0100 Subject: [PATCH] - updated URLs - fixed Group - adjust shebang - honour _libexecdir, noarch if _libexecdir is not arch-dependent --- telepathy-sunshine.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/telepathy-sunshine.spec b/telepathy-sunshine.spec index 4f88f74..eb5c1ee 100644 --- a/telepathy-sunshine.spec +++ b/telepathy-sunshine.spec @@ -4,15 +4,16 @@ Name: telepathy-sunshine Version: 0.2.0 Release: 1 License: GPL v2+ -Group: Libraries -Source0: http://telepathy.freedesktop.org/releases/telepathy-sunshine/%{name}-%{version}.tar.gz +Group: Applications/Communication +Source0: https://telepathy.freedesktop.org/releases/telepathy-sunshine/%{name}-%{version}.tar.gz # Source0-md5: 2615bb78170c4310029a2ea3cef71816 -URL: http://telepathy.freedesktop.org/wiki/ +URL: https://telepathy.freedesktop.org/ BuildRequires: autoconf >= 2.59 BuildRequires: automake >= 1:1.8 BuildRequires: python >= 1:2.6 BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.219 +BuildRequires: sed >= 4.0 %pyrequires_eq python Requires: python-TwistedCore Requires: python-TwistedWeb >= 9.0.0 @@ -20,6 +21,7 @@ Requires: python-dbus Requires: python-oauth Requires: python-pygobject Requires: python-telepathy >= 0.15.17 +BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -31,6 +33,8 @@ Ten pakiet udostępnia funkcjonalność Gadu-Gadu dla Telepathy. %prep %setup -q +%{__sed} -i -e '1s,/usr/bin/python$,%{__python},' telepathy-sunshine + %build %{__aclocal} %{__autoconf} @@ -52,7 +56,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog -%attr(755,root,root) %{_libdir}/telepathy-sunshine +%attr(755,root,root) %{_libexecdir}/telepathy-sunshine %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.ConnectionManager.sunshine.service %{_datadir}/telepathy/managers/sunshine.manager %{py_sitescriptdir}/sunshine -- 2.44.0