]> git.pld-linux.org Git - packages/lvm2.git/blame - lvm2.spec
- 2.02.95
[packages/lvm2.git] / lvm2.spec
CommitLineData
e3a928dc 1# TODO
e3a928dc 2# - vgscan --ignorelocking failure creates /var/lock/lvm (even if /var is not yet mounted)
cfa41a73
ER
3# - Installed (but unpackaged) file(s) found:
4# /etc/rc.d/init.d/clvmd
5f0ee085
JB
5# - --with-replicators (=internal/shared/none, default is none)?
6# - OCF agents?
1b67453e 7#
99958222 8# Conditional build:
c70b42f6 9%bcond_without initrd # don't build initrd version
a94caa6a
JR
10%bcond_without uClibc # link initrd version with uClibc
11%bcond_with dietlibc # link initrd version with dietlibc
5f0ee085 12%bcond_with glibc # link initrd version with static GLIBC
c70b42f6 13%bcond_without clvmd # don't build clvmd
5f0ee085
JB
14%bcond_with clvmd3 # build clvmd for 3rd generation of cluster
15%bcond_with openais # enable corosync&openais managers and cmirrord
c70b42f6
JR
16%bcond_without selinux # disable SELinux
17
4a323c26 18%ifarch sparc64 sparc
c70b42f6 19%define with_glibc 1
66800f6a 20%endif
c70b42f6
JR
21
22# if one of the *libc is enabled disable default dietlibc
23%if %{with dietlibc} && %{with uClibc}
24%undefine with_dietlibc
25%endif
26
f1e27504 27# with glibc disables default dietlibc
c70b42f6
JR
28%if %{with glibc} && %{with dietlibc}
29%undefine with_dietlibc
30%endif
31
f1e27504
ER
32# fallback is glibc if neither alternatives are enabled
33%if %{without dietlibc} && %{without uClibc}
34%define with_glibc 1
35%endif
36
87a7d834 37%if %{with clvmd3}
f0dab9f1 38%undefine with_clvmd
39%endif
40
5672aa67 41Summary: The new version of Logical Volume Manager for Linux
6536e848 42Summary(pl.UTF-8): Nowa wersja Logical Volume Managera dla Linuksa
7e72c866 43Name: lvm2
4f3071a9
JR
44Version: 2.02.95
45Release: 1
1738b891 46License: GPL v2
7e72c866 47Group: Applications/System
dc5d0e77 48Source0: ftp://sources.redhat.com/pub/lvm2/LVM2.%{version}.tgz
4f3071a9 49# Source0-md5: bd470a802046c807603618a443732ea7
bf171b20
JR
50Source1: %{name}-initramfs-hook
51Source2: %{name}-initramfs-local-top
9b82b6a5 52Source3: %{name}-tmpfiles.conf
7210a095 53Patch0: %{name}-selinux.patch
c70b42f6 54Patch1: %{name}-diet.patch
9a00e98a 55Patch2: device-mapper-dmsetup-export.patch
f0dab9f1 56Patch3: %{name}-clvmd_init.patch
b747c17a 57Patch4: dl-dlsym.patch
b08139b7 58Patch5: pldize_lvm2_monitor.patch
eaa437a5 59Patch6: %{name}-wrapper.patch
dc5d0e77 60URL: http://sources.redhat.com/lvm2/
5f0ee085 61BuildRequires: autoconf >= 2.61
7e72c866 62BuildRequires: automake
0dc2b8f2 63%{?with_selinux:BuildRequires: libselinux-devel >= 1.10}
e4a12efb 64%{?with_selinux:BuildRequires: libsepol-devel}
5f0ee085 65BuildRequires: ncurses-devel
3657a56d 66BuildRequires: pkgconfig
5f0ee085 67BuildRequires: readline-devel
9b82b6a5 68BuildRequires: rpmbuild(macros) >= 1.628
5f0ee085 69BuildRequires: udev-devel >= 143
1ccfba6c 70%if %{with initrd}
fa9e8aeb 71%if %{with dietlibc}
39c8d1d5 72BuildRequires: dietlibc-static >= 2:0.32-7
fa9e8aeb
AM
73BuildConflicts: device-mapper-dietlibc
74%endif
b64b85c5
ER
75%if %{with glibc}
76%{?with_selinux:BuildRequires: libselinux-static}
77%{?with_selinux:BuildRequires: libsepol-static}
78%endif
c70b42f6
JR
79%{?with_glibc:BuildRequires: glibc-static}
80%{?with_uClibc:BuildRequires: uClibc-static >= 2:0.9.29}
1ccfba6c 81%endif
c97b4c11 82%if %{with clvmd}
1b67453e 83BuildRequires: cman-devel >= 1.0
4c78aede 84BuildRequires: dlm-devel >= 1.0-0.pre21.2
1b67453e 85%endif
f0dab9f1 86%if %{with clvmd3}
87BuildRequires: cluster-cman-devel
88BuildRequires: cluster-dlm-devel
89%endif
5f0ee085
JB
90%if %{with openais}
91BuildRequires: corosync-devel
92BuildRequires: openais-devel >= 1.0
93%endif
b167057a 94Requires: device-mapper >= %{version}-%{release}
1b67453e 95%if %{with clvmd}
ed044ab4 96Requires: cman-libs >= 1.0
b678d191 97Requires: dlm >= 1.0-0.pre21.2
1b67453e 98%endif
f0dab9f1 99%if %{with clvmd3}
100Requires: cluster-cman-libs
101Requires: cluster-dlm
102%endif
0dc2b8f2 103%{?with_selinux:Requires: libselinux >= 1.10}
1534f04d
ER
104# doesn't work with 2.4 kernels
105Requires: uname(release) >= 2.6
25b6b609 106Obsoletes: lvm
c35cea65 107Obsoletes: lvm2-systemd
7e72c866
JR
108BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
109
110%define _sbindir /sbin
9ab13f24 111%define _usrsbindir /usr/sbin
7e72c866 112
0fbd6aae
ER
113# changing CFLAGS in the middle confuses confcache
114%undefine configure_cache
115
87a7d834
ER
116# borken on AC
117%define filterout_ld -Wl,--as-needed
118
c70b42f6
JR
119# for some reason known only to rpm there must be "\\|" not "\|" here
120%define dietarch %(echo %{_target_cpu} | sed -e 's/i.86\\|pentium.\\|athlon/i386/;s/amd64/x86_64/;s/armv.*/arm/')
121%define dietlibdir %{_prefix}/lib/dietlibc/lib-%{dietarch}
122
f8fa85d0
PS
123%define skip_post_check_so '.*libdevmapper-event-lvm2.so.*'
124
7e72c866
JR
125%description
126This package includes a number of utilities for creating, checking,
127and repairing logical volumes.
128
68d45726
JR
129%description -l pl.UTF-8
130Pakiet ten zawiera narzędzia do tworzenia, sprawdzania i naprawiania
131logicznych wolumenów dyskowych (LVM2).
7e72c866 132
7e72c866 133%package initrd
5672aa67 134Summary: The new version of Logical Volume Manager for Linux - initrd version
6536e848 135Summary(pl.UTF-8): Nowa wersja Logical Volume Managera dla Linuksa - wersja dla initrd
7e72c866 136Group: Base
16ddcbd0 137Conflicts: geninitrd < 10000.18
7e72c866
JR
138
139%description initrd
140This package includes a number of utilities for creating, checking,
141and repairing logical volumes - staticaly linked for initrd.
142
68d45726
JR
143%description initrd -l pl.UTF-8
144Pakiet ten zawiera narzędzia do tworzenia, sprawdzania i naprawiania
145logicznych wolumenów dyskowych (LVM2) - statycznie skonsolidowane na
7e72c866
JR
146potrzeby initrd.
147
b167057a
AM
148%package -n device-mapper
149Summary: Userspace support for the device-mapper
150Summary(pl.UTF-8): Wsparcie dla mapowania urządzeń w przestrzeni użytkownika
151Group: Base
152
153%description -n device-mapper
154The goal of this driver is to support volume management. The driver
155enables the definition of new block devices composed of ranges of
156sectors of existing devices. This can be used to define disk
157partitions - or logical volumes. This light-weight kernel component
158can support user-space tools for logical volume management.
159
160%description -n device-mapper -l pl.UTF-8
161Celem tego sterownika jest obsługa zarządzania wolumenami. Sterownik
162włącza definiowanie nowych urządzeń blokowych złożonych z przedziałów
163sektorów na istniejących urządzeniach. Może to być wykorzystane do
164definiowania partycji na dysku lub logicznych wolumenów. Ten lekki
165składnik jądra może wspierać działające w przestrzeni użytkownika
166narzędzia do zarządzania logicznymi wolumenami.
167
168%package -n device-mapper-devel
169Summary: Header files and development documentation for %{name}
170Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do %{name}
171Group: Development/Libraries
172Requires: device-mapper = %{version}-%{release}
173%if %{with selinux}
174Requires: libselinux-devel
175Requires: libsepol-devel
176%endif
177
178%description -n device-mapper-devel
179Header files and development documentation for %{name}.
180
181%description -n device-mapper-devel -l pl.UTF-8
182Pliki nagłówkowe i dokumentacja do %{name}.
183
184%package -n device-mapper-static
185Summary: Static devmapper library
186Summary(pl.UTF-8): Statyczna biblioteka devmapper
187License: LGPL v2.1
188Group: Development/Libraries
dc900ced 189Requires: device-mapper-devel = %{version}-%{release}
b167057a
AM
190
191%description -n device-mapper-static
192Static devmapper library.
193
194%description -n device-mapper-static -l pl.UTF-8
195Statyczna biblioteka devmapper.
196
c70b42f6
JR
197%package -n device-mapper-dietlibc
198Summary: Static devmapper library built with dietlibc
199Summary(pl.UTF-8): Statyczna biblioteka devmapper zbudowana z dietlibc
200License: LGPL v2.1
201Group: Development/Libraries
202Requires: device-mapper-devel = %{version}-%{release}
203
204%description -n device-mapper-dietlibc
205Static devmapper library built with dietlibc.
206
207%description -n device-mapper-dietlibc -l pl.UTF-8
208Statyczna biblioteka devmapper zbudowana z dietlibc.
209
4a323c26
JR
210%package -n device-mapper-initrd
211Summary: Userspace support for the device-mapper - initrd version
212Summary(pl.UTF-8): Wsparcie dla mapowania urządzeń w przestrzeni użytkownika - wersja dla initrd
213Group: Base
214Obsoletes: device-mapper-initrd-devel
1f7434e8 215Conflicts: geninitrd < 10000.10
4a323c26
JR
216
217%description -n device-mapper-initrd
218The goal of this driver is to support volume management. The driver
219enables the definition of new block devices composed of ranges of
220sectors of existing devices. This can be used to define disk
221partitions - or logical volumes. This light-weight kernel component
222can support user-space tools for logical volume management.
223
224This package contains dmsetup program linked staticaly for use in
225initrd.
226
227%description -n device-mapper-initrd -l pl.UTF-8
228Celem tego sterownika jest obsługa zarządzania wolumenami. Sterownik
229włącza definiowanie nowych urządzeń blokowych złożonych z przedziałów
230sektorów na istniejących urządzeniach. Może to być wykorzystane do
231definiowania partycji na dysku lub logicznych wolumenów. Ten lekki
232składnik jądra może wspierać działające w przestrzeni użytkownika
233narzędzia do zarządzania logicznymi wolumenami.
234
235Ten pakiet zawiera program dmsetup skonsolidowany statycznie na
236potrzeby initrd.
237
906ac01a
JR
238%package initramfs
239Summary: The new version of Logical Volume Manager for Linux - support scripts for initramfs-tools
240Summary(pl.UTF-8): Nowa wersja Logical Volume Managera dla Linuksa - skrypty dla initramfs-tools
241Group: Base
242Requires: %{name} = %{version}-%{release}
243Requires: initramfs-tools
244
245%description initramfs
3657a56d 246The new version of Logical Volume Manager for Linux - support scripts
247for initramfs-tools.
906ac01a
JR
248
249%description initramfs -l pl.UTF-8
250Nowa wersja Logical Volume Managera dla Linuksa - skrypty dla
251initramfs-tools.
252
7e72c866 253%prep
ec2de926 254%setup -q -n LVM2.%{version}
7210a095 255%{?with_selinux:%patch0 -p1}
c70b42f6 256%patch1 -p1
9a00e98a 257%patch2 -p1
f0dab9f1 258%patch3 -p1
b747c17a 259%patch4 -p1
b08139b7 260%patch5 -p1
eaa437a5 261%patch6 -p1
b167057a 262
39c8d1d5 263# do not force --export-symbol linker option for e.g. statically linked executables
b5eb9717
PS
264# -rdynamic compiler option drives linker in the right way.
265%{__sed} -i -e 's#-Wl,--export-dynamic#-rdynamic#g' configure.in
266
7e72c866 267%build
87a7d834
ER
268%if %{with initrd}
269echo Using %{?with_glibc:GLIBC} %{?with_uClibc:uClibc} %{?with_dietlibc:diet} for initrd
270%endif
242ffb9a 271cp -f /usr/share/automake/config.sub autoconf
7e72c866
JR
272%{__aclocal}
273%{__autoconf}
274
99958222 275%if %{with initrd}
6c31051f
PS
276%{?with_glibc:export CC="%{__cc}"}
277%{?with_uClibc:export CC="%{_target_cpu}-uclibc-gcc"}
4cbea9f4 278%{?with_dietlibc:cc="%{__cc}"; export CC="diet ${cc#ccache }"}
6c31051f 279
9bdab2f4 280%configure \
a5702977 281 ac_cv_lib_dl_dlopen=no \
eaa437a5 282 %{?with_uClibc:ac_cv_func_siginterrupt=no} \
4c78aede 283 %{?debug:--enable-debug} \
e6cf1072 284 --with-optimisation="%{rpmcflags} -Os" \
9bdab2f4 285 --enable-static_link \
69688a46 286 --with-lvm1=internal \
b0e6f8e2 287 --disable-selinux \
c70b42f6 288 --%{?with_glibc:en}%{!?with_glibc:dis}able-selinux \
260d6858 289 --disable-readline \
ef3dbc1a 290 --disable-nls
c70b42f6 291# glibc version links with normal static libdevicemapper which has selinux enabled
260d6858 292# and we need to keep these in sync between device-mapper and lvm2
4c78aede
ER
293
294%{__sed} -i -e 's#rpl_malloc#malloc#g' lib/misc/configure.h
0402cba0 295%{__sed} -i -e 's#rpl_realloc#realloc#g' lib/misc/configure.h
ec2de926 296
c7bbf0c8
AM
297%{__make} -j1 -C include
298%{__make} -j1 -C lib LIB_SHARED= VERSIONED_SHLIB=
299%{__make} -j1 -C libdm LIB_SHARED= VERSIONED_SHLIB=
2afef789 300%{__make} -j1 -C tools dmsetup.static lvm.static %{?with_dietlibc:DIETLIBC_LIBS="-lcompat"}
69688a46 301mv -f tools/lvm.static initrd-lvm
4a323c26 302mv -f tools/dmsetup.static initrd-dmsetup
7cef5d95
AM
303
304# check if tools works
305for tool in initrd-lvm initrd-dmsetup; do
cfa41a73 306 LVM_SYSTEM_DIR=$(pwd) ./$tool help && rc=$? || rc=$?
7cef5d95 307 if [ $rc -gt 127 ]; then
cfa41a73 308 echo >&2 "Unexpected failure (exit status: $rc) from $tool. Does this tool work?!"
7cef5d95
AM
309 exit 1
310 fi
311done
312
313
c70b42f6 314%{?with_dietlibc:mv -f libdm/ioctl/libdevmapper.a diet-libdevmapper.a}
9bdab2f4 315%{__make} clean
6c31051f
PS
316
317unset CC
7e72c866
JR
318%endif
319
9d0d1d5f 320%configure \
b167057a 321 --with-usrlibdir=%{_libdir} \
4c78aede 322 %{?debug:--enable-debug} \
b167057a 323 --with-optimisation="%{rpmcflags}" \
607d2229
AM
324 --enable-readline \
325 --enable-fsadm \
6e7a47a9 326 --enable-applib \
b167057a 327 --enable-cmdlib \
5f0ee085 328 %{?with_openais:--enable-cmirrord} \
b167057a 329 --enable-dmeventd \
93d018f8 330 --with-dmeventd-path=%{_sbindir}/dmeventd \
b167057a 331 --enable-pkgconfig \
5f0ee085
JB
332 --enable-udev_sync \
333 --enable-udev_rules \
334 %{?with_clvmd:--with-clvmd=cman%{?with_openais:,corosync,openais}} \
607d2229
AM
335 --with-lvm1=internal \
336 --with-pool=internal \
3852b0e2 337 --with-cluster=internal \
607d2229 338 --with-snapshots=internal \
0dc2b8f2 339 --with-mirrors=internal \
b167057a 340 --with-interface=ioctl \
589f4db4 341 --with-udev-prefix=/ \
9b82b6a5 342 --with-systemd_dir=%{systemdunitdir} \
cfa41a73 343 %{!?with_selinux:--disable-selinux}
589f4db4 344
b167057a 345%{__make} -j1
c7bbf0c8 346%{__make} -j1 -C libdm LIB_STATIC=libdevmapper.a
7e72c866
JR
347
348%install
349rm -rf $RPM_BUILD_ROOT
906ac01a
JR
350install -d $RPM_BUILD_ROOT{/%{_lib},%{_sysconfdir}/lvm} \
351 $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/{hooks,scripts/local-top}
c70b42f6 352%{?with_dietlibc:install -d $RPM_BUILD_ROOT%{dietlibdir}}
7e72c866 353
9b82b6a5 354%{__make} install install_system_dirs install_systemd_units install_initscripts \
7e72c866 355 DESTDIR=$RPM_BUILD_ROOT \
1ccfba6c
AM
356 OWNER="" \
357 GROUP=""
7e72c866 358
9b82b6a5
BZ
359mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d
360install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d/%{name}.conf
361
b167057a
AM
362mv $RPM_BUILD_ROOT%{_libdir}/lib*.so.* $RPM_BUILD_ROOT/%{_lib}
363for lib in $RPM_BUILD_ROOT/%{_lib}/lib*.so.*; do
364 lib=$(echo $lib | sed -e "s#$RPM_BUILD_ROOT##g")
365 slib=$(basename $lib | sed -e 's#\.so\..*#.so#g')
366 ln -sf $lib $RPM_BUILD_ROOT%{_libdir}/$slib
367done
368
1cfc154f
JR
369touch $RPM_BUILD_ROOT%{_sysconfdir}/lvm/lvm.conf
370
88c67b5b
JR
371%if %{with initrd}
372install -d $RPM_BUILD_ROOT%{_libdir}/initrd
a3569314
ER
373install -p initrd-lvm $RPM_BUILD_ROOT%{_libdir}/initrd/lvm
374install -p initrd-dmsetup $RPM_BUILD_ROOT%{_libdir}/initrd/dmsetup
7e72c866 375
a3569314 376%{?with_dietlibc:cp -a diet-libdevmapper.a $RPM_BUILD_ROOT%{dietlibdir}/libdevmapper.a}
1306038e 377%endif
c70b42f6 378
a3569314
ER
379install -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/hooks/lvm2
380install -p %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/scripts/local-top/lvm2
906ac01a 381
a3569314 382cp -a libdm/libdevmapper.a $RPM_BUILD_ROOT%{_libdir}
b167057a 383
7e72c866
JR
384%clean
385rm -rf $RPM_BUILD_ROOT
386
6e7a47a9
AM
387%post
388/sbin/chkconfig --add lvm2-monitor
389%service lvm2-monitor restart
c35cea65
JR
390%systemd_post lvm2-monitor.service
391
392%preun
393%systemd_preun lvm2-monitor.service
6e7a47a9
AM
394
395%postun
396if [ "$1" = "0" ]; then
397 %service lvm2-monitor stop
398 /sbin/chkconfig --del lvm2-monitor
399fi
c35cea65 400%systemd_reload
6e7a47a9 401
c35cea65
JR
402%triggerpostun -- %{name} < 2.02.94-1
403%systemd_trigger lvm2-monitor.service
b167057a 404
c35cea65
JR
405%post -n device-mapper
406/sbin/ldconfig
407%systemd_post dm-event.socket
9b82b6a5 408
c35cea65
JR
409%preun -n device-mapper
410%systemd_preun dm-event.socket dm-event.service
9b82b6a5 411
c35cea65
JR
412%postun -n device-mapper
413/sbin/ldconfig
9b82b6a5
BZ
414%systemd_reload
415
c35cea65
JR
416%triggerpostun -n device-mapper -- device-mapper < 2.02.94-1
417%systemd_trigger dm-event.socket
418
7e72c866
JR
419%files
420%defattr(644,root,root,755)
e6ac7970 421%doc README WHATS_NEW doc/*
86418c14
JB
422%attr(755,root,root) %{_sbindir}/fsadm
423%attr(755,root,root) %{_sbindir}/lv*
424%attr(755,root,root) %{_sbindir}/pv*
425%attr(755,root,root) %{_sbindir}/vg*
1ccc459a 426%{?with_clvmd:%attr(755,root,root) %{_usrsbindir}/clvmd}
86418c14
JB
427%{_mandir}/man5/lvm.conf.5*
428%{?with_clvmd:%{_mandir}/man8/clvmd.8*}
429%{_mandir}/man8/fsadm.8*
430%{_mandir}/man8/lv*.8*
431%{_mandir}/man8/pv*.8*
432%{_mandir}/man8/vg*.8*
99958222 433%attr(750,root,root) %dir %{_sysconfdir}/lvm
2316bf4d 434%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lvm/lvm.conf
c35cea65
JR
435%{_sysconfdir}/tmpfiles.d/lvm2.conf
436%{systemdunitdir}/lvm2-monitor.service
6e7a47a9
AM
437%dir %{_sysconfdir}/lvm/cache
438%ghost %{_sysconfdir}/lvm/cache/.cache
439%attr(754,root,root) /etc/rc.d/init.d/lvm2-monitor
ba208651 440%{?with_clvmd:%attr(754,root,root) /etc/rc.d/init.d/clvmd}
7e72c866 441
b167057a
AM
442%files -n device-mapper
443%defattr(644,root,root,755)
444%doc *_DM
c35cea65
JR
445%{systemdunitdir}/dm-event.service
446%{systemdunitdir}/dm-event.socket
589f4db4
JR
447/lib/udev/rules.d/10-dm.rules
448/lib/udev/rules.d/11-dm-lvm.rules
449/lib/udev/rules.d/13-dm-disk.rules
450/lib/udev/rules.d/95-dm-notify.rules
b167057a
AM
451%attr(755,root,root) %{_sbindir}/dmeventd
452%attr(755,root,root) %{_sbindir}/dmsetup
453%attr(755,root,root) /%{_lib}/libdevmapper*.so.*.*
6e7a47a9 454%attr(755,root,root) /%{_lib}/liblvm2app.so.*.*
b167057a 455%attr(755,root,root) /%{_lib}/liblvm2cmd.so.*.*
1306038e
AM
456%dir %{_libdir}/device-mapper
457%attr(755,root,root) %{_libdir}/device-mapper/*.so
bece12dd 458%attr(755,root,root) %{_libdir}/libdevmapper-event-*.so
b167057a 459%{_mandir}/man8/dmsetup.8*
f0dab9f1 460%{_mandir}/man8/dmeventd.8*
b167057a
AM
461
462%files -n device-mapper-devel
463%defattr(644,root,root,755)
bece12dd
JR
464%attr(755,root,root) %{_libdir}/libdevmapper.so
465%attr(755,root,root) %{_libdir}/libdevmapper-event.so
6e7a47a9 466%attr(755,root,root) %{_libdir}/liblvm2app.so
b167057a
AM
467%attr(755,root,root) %{_libdir}/liblvm2cmd.so
468%{_includedir}/libdevmapper*.h
6e7a47a9 469%{_includedir}/lvm2app.h
b167057a
AM
470%{_includedir}/lvm2cmd.h
471%{_pkgconfigdir}/devmapper*.pc
6e7a47a9 472%{_pkgconfigdir}/lvm2app.pc
b167057a
AM
473
474%files -n device-mapper-static
475%defattr(644,root,root,755)
476%{_libdir}/libdevmapper*.a
477
1306038e 478%if %{with initrd}
c70b42f6
JR
479%if %{with dietlibc}
480%files -n device-mapper-dietlibc
481%defattr(644,root,root,755)
482%{dietlibdir}/libdevmapper.a
483%endif
484
4a323c26
JR
485%files -n device-mapper-initrd
486%defattr(644,root,root,755)
88c67b5b 487%attr(755,root,root) %{_libdir}/initrd/dmsetup
4a323c26 488
7e72c866
JR
489%files initrd
490%defattr(644,root,root,755)
88c67b5b 491%attr(755,root,root) %{_libdir}/initrd/lvm
7e72c866 492%endif
906ac01a
JR
493
494%files initramfs
495%defattr(644,root,root,755)
496%attr(755,root,root) %{_datadir}/initramfs-tools/hooks/lvm2
497%attr(755,root,root) %{_datadir}/initramfs-tools/scripts/local-top/lvm2
This page took 0.107558 seconds and 4 git commands to generate.