fixed requires

OBS-URL: https://build.opensuse.org/package/show/graphics/libexif?expand=0&rev=12
This commit is contained in:
Marcus Meissner 2010-12-17 15:00:45 +00:00 committed by Git OBS Bridge
parent c50241fb04
commit 8762ceb46f

View File

@ -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.*