fix file list and %define -_
This commit is contained in:
parent
94fa4a6b69
commit
d590cd51a4
16
lvm2.spec
16
lvm2.spec
@ -1,4 +1,4 @@
|
||||
%define device-mapper-version 1.02.12
|
||||
%define device_mapper_version 1.02.12
|
||||
|
||||
Summary: Userland logical volume management tools
|
||||
Name: lvm2
|
||||
@ -11,13 +11,13 @@ Source0: LVM2.%{version}.tgz
|
||||
Patch0: clvmd-init-chkconfig.patch
|
||||
Patch1: cluster-locking-built-in.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: device-mapper >= %{device-mapper-version}
|
||||
BuildRequires: device-mapper >= %{device_mapper_version}
|
||||
BuildRequires: libselinux-devel >= 1.30.19-4, libsepol-devel
|
||||
BuildRequires: libtermcap-devel
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: cman-devel
|
||||
Requires: device-mapper >= %{device-mapper-version}
|
||||
Requires: device-mapper >= %{device_mapper_version}
|
||||
Conflicts: lvm
|
||||
Obsoletes: lvm
|
||||
|
||||
@ -68,8 +68,12 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/sbin/pvscan
|
||||
/sbin/vgscan
|
||||
/sbin/vgchange
|
||||
/usr/sbin/*
|
||||
%{_mandir}/*/*
|
||||
/usr/sbin/lv*
|
||||
/usr/sbin/pv*
|
||||
/usr/sbin/vg*
|
||||
%{_mandir}/*/lv*
|
||||
%{_mandir}/*/pv*
|
||||
%{_mandir}/*/vg*
|
||||
%dir /etc/lvm
|
||||
%ghost /etc/lvm/.cache
|
||||
%config(noreplace) /etc/lvm/lvm.conf
|
||||
@ -87,7 +91,7 @@ Requires: lvm2 = %{version}-%{release}
|
||||
Requires(post): chkconfig
|
||||
Requires(post): ldconfig
|
||||
Requires(preun): chkconfig
|
||||
Requires(preun): device-mapper >= %{device-mapper-version}
|
||||
Requires(preun): device-mapper >= %{device_mapper_version}
|
||||
Requires(preun): lvm2 >= 2.02
|
||||
Requires(postun): ldconfig
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user