lvm2-devel requires device-mapper-devel. Fix lvm2app.pc filename.
This commit is contained in:
parent
f6cab72a51
commit
a33d13ab01
@ -63,6 +63,7 @@ mkdir -p -m755 $RPM_BUILD_ROOT/etc/rc.d/init.d
|
||||
install scripts/clvmd_init_red_hat $RPM_BUILD_ROOT/etc/rc.d/init.d/clvmd
|
||||
install -m 0755 scripts/lvmconf.sh $RPM_BUILD_ROOT/sbin/lvmconf
|
||||
mv $RPM_BUILD_ROOT/usr/include/lvm.h $RPM_BUILD_ROOT/usr/include/lvm2app.h
|
||||
mv $RPM_BUILD_ROOT/usr%{_libdir}/pkgconfig/liblvm2app.pc $RPM_BUILD_ROOT/usr%{_libdir}/pkgconfig/lvm2app.pc
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -178,6 +179,7 @@ Group: Development/Libraries
|
||||
License: LGPLv2
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: device-mapper-devel >= %{device_mapper_version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
@ -190,7 +192,7 @@ the lvm2 libraries.
|
||||
%attr(755,root,root) /%{_lib}/liblvm2cmd.so
|
||||
%{_includedir}/lvm2app.h
|
||||
%{_includedir}/lvm2cmd.h
|
||||
/usr%{_libdir}/pkgconfig/liblvm2app.pc
|
||||
/usr%{_libdir}/pkgconfig/lvm2app.pc
|
||||
|
||||
%package libs
|
||||
Summary: lvm2 shared libraries
|
||||
@ -306,6 +308,10 @@ This package contains the device-mapper shared library, libdevmapper.
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jul 30 2009 Alasdair Kergon <agk@redhat.com> - 2.02.50-2
|
||||
- lvm2-devel requires device-mapper-devel.
|
||||
- Fix lvm2app.pc filename.
|
||||
|
||||
* Tue Jul 28 2009 Alasdair Kergon <agk@redhat.com> - 2.02.50-1
|
||||
- Add libs and devel subpackages to include shared libraries for applications.
|
||||
N.B. The liblvm2app API is not frozen yet and may still be changed
|
||||
|
Loading…
Reference in New Issue
Block a user