[pycanberra] Fix requirement on libcanberra
Mathieu Bridon
bochecha at fedoraproject.org
Tue Oct 2 01:13:29 UTC 2012
commit 1ae0aae6b0aee596272d2a6b0ec57b3a30f61cec
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date: Tue Oct 2 09:12:56 2012 +0800
Fix requirement on libcanberra
I wanted to have it break at depsolve time, so that:
1. the user would have a more explicit error message when
installing / updating
2. I'd get an early notice in the broken deps report
It seems like it's not possible to depend on the precise
soname without causing arch-specific issues (the soname
is arch-dependent, in an arch-dependent folder, but this
package is noarch), though.
pycanberra.spec | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/pycanberra.spec b/pycanberra.spec
index 36472be..c4604f0 100644
--- a/pycanberra.spec
+++ b/pycanberra.spec
@@ -6,7 +6,7 @@ License: LGPLv2
# There's no versioning upstream, it's all about the Git hash
Version: 0
-Release: 0.1.git%{git_hash}%{?dist}
+Release: 0.2.git%{git_hash}%{?dist}
URL: https://github.com/psykoyiko/pycanberra/
@@ -21,10 +21,8 @@ BuildArch: noarch
BuildRequires: python2-devel
-# The wrapper actually requires this specific file, so let's be explicit. That
-# will allow me to catch breakages early (in the broken deps report), rather
-# than getting weird bug reports about how GNOME Clocks suddenly doesn't work.
-Requires: %{_libdir}/libcanberra.so.0
+# This will break at run time when libcanberra bumps its soname :(
+Requires: libcanberra
%description
A very basic (and incomplete) wrapper for libcanberra.
@@ -51,5 +49,8 @@ install -p -m 0644 pycanberra.py %{buildroot}%{python_sitelib}
%changelog
+* Tue Oct 02 2012 Mathieu Bridon <bochecha at fedoraproject.org> - 0-0.2.git65c3b3f
+- Fix requirement on libcanberra.
+
* Wed Sep 26 2012 Mathieu Bridon <bochecha at fedoraproject.org> - 0-0.1.git65c3b3f
- Initial package for Fedora.
More information about the scm-commits
mailing list