[packages/libgphoto2] avoid self-obsoletion

glen glen at pld-linux.org
Wed Feb 5 00:21:44 CET 2014


commit 1e274254175484f0319d6a2b27c636f63b0be593
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Feb 5 01:21:42 2014 +0200

    avoid self-obsoletion

 libgphoto2.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libgphoto2.spec b/libgphoto2.spec
index 84d2453..d559c11 100644
--- a/libgphoto2.spec
+++ b/libgphoto2.spec
@@ -5,14 +5,14 @@
 %bcond_with	canonupload	# Canon upload experimental code
 %bcond_with	hal		# build HAL support
 %bcond_without	static_libs	# static libraries
-#
+
 Summary:	Libraries for digital cameras
 Summary(es.UTF-8):	Foto GNU (gphoto) Release 2
 Summary(pl.UTF-8):	Biblioteki obsługi kamer cyfrowych
 Summary(pt_BR.UTF-8):	GNU Photo - programa GNU para câmeras digitais
 Name:		libgphoto2
 Version:	2.5.3.1
-Release:	1
+Release:	2
 License:	LGPL v2+
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/gphoto/%{name}-%{version}.tar.bz2
@@ -39,8 +39,8 @@ BuildRequires:	libxml2-devel >= 2.0
 BuildRequires:	pkgconfig
 BuildRequires:	sed >= 4.0
 Requires:	libexif >= 1:0.6.13
-Provides:	gphoto2-lib
-Obsoletes:	gphoto2-lib
+Provides:	gphoto2-lib = %{version}-%{release}
+Obsoletes:	gphoto2-lib < 2.1.1
 Conflicts:	gphoto2 < 2.1.1
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libgphoto2.git/commitdiff/1e274254175484f0319d6a2b27c636f63b0be593



More information about the pld-cvs-commit mailing list