From 8504b5eb044485f7503e28b34481453d0b685672 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 6 Nov 2014 07:19:40 -0600 Subject: [PATCH] update URL, s/python/python2/ a bit --- dbus-python.spec | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/dbus-python.spec b/dbus-python.spec index ec9cefe..3627567 100644 --- a/dbus-python.spec +++ b/dbus-python.spec @@ -4,7 +4,7 @@ Version: 1.2.0 Release: 6%{?dist} License: MIT -URL: http://www.freedesktop.org/software/dbus-python +URL: http://www.freedesktop.org/wiki/Software/DBusBindings/ Source0: http://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.tar.gz Source1: http://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.tar.gz.asc @@ -14,7 +14,7 @@ Patch0: object_manager.patch BuildRequires: dbus-devel BuildRequires: dbus-glib-devel -BuildRequires: python-devel +BuildRequires: python2-devel BuildRequires: python-docutils BuildRequires: python3-devel # for %%check @@ -31,7 +31,6 @@ D-Bus python bindings for use with python programs. %package devel Summary: Libraries and headers for dbus-python Requires: %{name}%{?_isa} = %{version}-%{release} - %description devel Headers and static libraries for hooking up custom mainloops to the dbus python bindings. @@ -48,6 +47,7 @@ Summary: D-Bus bindings for python3 # For new arches (aarch64/ppc64le) autoreconf -vif + %build %global _configure ../configure @@ -64,24 +64,23 @@ popd %install make install DESTDIR=$RPM_BUILD_ROOT -C python3-build - make install DESTDIR=$RPM_BUILD_ROOT -C python2-build # unpackaged files -find %{buildroot} -type f -name "*.la" -delete +rm -fv $RPM_BUILDROOT%{python2_sitearch}/*.la +rm -fv $RPM_BUILDROOT%{python3_sitearch}/*.la rm -rfv $RPM_BUILD_ROOT%{_datadir}/doc/dbus-python/ %check make check -k -C python2-build - make check -k -C python3-build %files %doc COPYING NEWS -%{python_sitearch}/*.so -%{python_sitelib}/dbus/ +%{python2_sitearch}/*.so +%{python2_sitelib}/dbus/ %files devel %doc README ChangeLog doc/API_CHANGES.txt doc/HACKING.txt doc/tutorial.txt @@ -95,6 +94,9 @@ make check -k -C python3-build %changelog +* Thu Nov 06 2014 Rex Dieter 1.2.0-7 +- update URL, s/python/python2/ a bit + * Sat Aug 16 2014 Fedora Release Engineering - 1.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild