From 8762ceb46f5bc80964497d849bc133c1f0df96d071aef3bfb9ca9b3a8b2c5b7d Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 17 Dec 2010 15:00:45 +0000 Subject: [PATCH] fixed requires OBS-URL: https://build.opensuse.org/package/show/graphics/libexif?expand=0&rev=12 --- libexif.spec | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/libexif.spec b/libexif.spec index 76d1722..056d86b 100644 --- a/libexif.spec +++ b/libexif.spec @@ -30,9 +30,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %{name}-%{version}.tar.bz2 Source1: baselibs.conf -%define debug_package_requires libexif12 = %{version}-%{release} +%define pname libexif12 -%package -n libexif12 +%define debug_package_requires %{pname} = %{version}-%{release} + +%package -n %{pname} Summary: An EXIF Tag Parsing Library for Digital Cameras Group: System/Libraries @@ -40,7 +42,7 @@ Group: System/Libraries This library is used to parse EXIF information from JPEGs created by digital cameras. -%description -n libexif12 +%description -n %{pname} This library is used to parse EXIF information from JPEGs created by digital cameras. @@ -49,7 +51,7 @@ digital cameras. License: LGPLv2.1+ Group: Development/Libraries/C and C++ Summary: An EXIF Tag Parsing Library for Digital Cameras (Development files) -Requires: %{name} = %{version} glibc-devel +Requires: %{pname} = %{version} glibc-devel %description devel This library is used to parse EXIF information from JPEGs created by @@ -82,11 +84,11 @@ make check %clean rm -rf $RPM_BUILD_ROOT -%post -n libexif12 -p /sbin/ldconfig +%post -n %{pname} -p /sbin/ldconfig -%postun -n libexif12 -p /sbin/ldconfig +%postun -n %{pname} -p /sbin/ldconfig -%files -n libexif12 -f %{name}-12.lang +%files -n %{pname} -f %{name}-12.lang %defattr(-,root,root) %{_libdir}/*.so.*