[packages/telepathy-butterfly] - updated dependencies and docs - honour _libexecdir; noarch if _libexecdir is not arch-dependent

qboosh qboosh at pld-linux.org
Tue Mar 2 17:31:02 CET 2021


commit 49f4198fd68137c50ed6f5a3522154e1d80c44cd
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Mar 2 17:31:48 2021 +0100

    - updated dependencies and docs
    - honour _libexecdir; noarch if _libexecdir is not arch-dependent

 telepathy-butterfly.spec | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/telepathy-butterfly.spec b/telepathy-butterfly.spec
index 62dc0ef..b358f65 100644
--- a/telepathy-butterfly.spec
+++ b/telepathy-butterfly.spec
@@ -3,20 +3,22 @@ Summary(pl.UTF-8):	Zarządca połączeń Telepathy dla MSN
 Name:		telepathy-butterfly
 Version:	0.5.15
 Release:	1
-License:	LGPL
+License:	GPL v2+
 Group:		Libraries
 Source0:	https://telepathy.freedesktop.org/releases/telepathy-butterfly/%{name}-%{version}.tar.gz
 # Source0-md5:	4baa6337822f01d817c4b9d8fd406e82
-URL:		http://telepathy.freedesktop.org/wiki/
+URL:		https://telepathy.freedesktop.org/
 BuildRequires:	python >= 1:2.5
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.219
-Requires:	python-papyon >= 0.4.2
-Requires:	python-telepathy >= 0.15.17
+BuildRequires:	sed >= 4.0
+Requires:	python-dbus
+Requires:	python-pygobject >= 2
+Requires:	python-papyon >= 0.5.3
+Requires:	python-telepathy >= 0.15.19
 Suggests:	python-libproxy
 Conflicts:	empathy < 2.29.92
-# we install to %{_libdir}, otherwise package could be noarch
-#BuildArch:	noarch
+BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -28,6 +30,8 @@ Zarządca połączeń pozwalający połączyć się Telepathy z MSN.
 %prep
 %setup -q
 
+%{__sed} -i -e '1s,/usr/bin/python$,%{__python},' telepathy-butterfly
+
 %build
 %configure \
 	--host=%{_target} \
@@ -47,8 +51,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS
-%attr(755,root,root) %{_libdir}/telepathy-butterfly
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_libexecdir}/telepathy-butterfly
 %{_datadir}/telepathy/managers/butterfly.manager
 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.ConnectionManager.butterfly.service
 %dir %{py_sitescriptdir}/butterfly
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/telepathy-butterfly.git/commitdiff/49f4198fd68137c50ed6f5a3522154e1d80c44cd



More information about the pld-cvs-commit mailing list