Remove Requires: libudev

This commit is contained in:
Kay Sievers 2012-06-07 17:30:31 +02:00
parent c515b1a9eb
commit 897de40aa3

View File

@ -91,7 +91,7 @@
Summary: Userland logical volume management tools Summary: Userland logical volume management tools
Name: lvm2 Name: lvm2
Version: 2.02.95 Version: 2.02.95
Release: 7%{?dist} Release: 8%{?dist}
License: GPLv2 License: GPLv2
Group: System Environment/Base Group: System Environment/Base
URL: http://sources.redhat.com/lvm2 URL: http://sources.redhat.com/lvm2
@ -548,7 +548,6 @@ Requires: device-mapper-libs = %{device_mapper_version}-%{release}
Requires: util-linux >= 2.15 Requires: util-linux >= 2.15
%if %{enable_udev} %if %{enable_udev}
Requires: udev >= %{udev_version} Requires: udev >= %{udev_version}
Requires: libudev
# We need dracut to install required udev rules if udev_sync # We need dracut to install required udev rules if udev_sync
# feature is turned on so we don't lose required notifications. # feature is turned on so we don't lose required notifications.
Conflicts: dracut < 002-18 Conflicts: dracut < 002-18
@ -698,6 +697,11 @@ the device-mapper event library.
/usr%{_libdir}/pkgconfig/devmapper-event.pc /usr%{_libdir}/pkgconfig/devmapper-event.pc
%changelog %changelog
* Thu Jun 07 2012 Kay Sievers - 2.02.95-8
- Remove explicit Requires: libudev, rpm takes care of that:
$ rpm -q --requires device-mapper | grep udev
libudev.so...
* Tue Jun 05 2012 Peter Rajnoha <prajnoha@redhat.com> - 2.02.95-7 * Tue Jun 05 2012 Peter Rajnoha <prajnoha@redhat.com> - 2.02.95-7
- Use BuildRequires: systemd-devel instead of BuildRequires: libudev-devel. - Use BuildRequires: systemd-devel instead of BuildRequires: libudev-devel.
- Remove unsupported udev_get_dev_path libudev call used for checking udev dir. - Remove unsupported udev_get_dev_path libudev call used for checking udev dir.