fixed requires
OBS-URL: https://build.opensuse.org/package/show/graphics/libexif?expand=0&rev=12
This commit is contained in:
parent
c50241fb04
commit
8762ceb46f
16
libexif.spec
16
libexif.spec
@ -30,9 +30,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Source1: baselibs.conf
|
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
|
Summary: An EXIF Tag Parsing Library for Digital Cameras
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
@ -40,7 +42,7 @@ Group: System/Libraries
|
|||||||
This library is used to parse EXIF information from JPEGs created by
|
This library is used to parse EXIF information from JPEGs created by
|
||||||
digital cameras.
|
digital cameras.
|
||||||
|
|
||||||
%description -n libexif12
|
%description -n %{pname}
|
||||||
This library is used to parse EXIF information from JPEGs created by
|
This library is used to parse EXIF information from JPEGs created by
|
||||||
digital cameras.
|
digital cameras.
|
||||||
|
|
||||||
@ -49,7 +51,7 @@ digital cameras.
|
|||||||
License: LGPLv2.1+
|
License: LGPLv2.1+
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Summary: An EXIF Tag Parsing Library for Digital Cameras (Development files)
|
Summary: An EXIF Tag Parsing Library for Digital Cameras (Development files)
|
||||||
Requires: %{name} = %{version} glibc-devel
|
Requires: %{pname} = %{version} glibc-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This library is used to parse EXIF information from JPEGs created by
|
This library is used to parse EXIF information from JPEGs created by
|
||||||
@ -82,11 +84,11 @@ make check
|
|||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
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)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user