update URL, s/python/python2/ a bit

This commit is contained in:
Rex Dieter 2014-11-06 07:19:40 -06:00
parent 53f06d82e5
commit 8504b5eb04

View File

@ -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 <rdieter@fedoraproject.org> 1.2.0-7
- update URL, s/python/python2/ a bit
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild