Skip to content

Commit b1b9267

Browse files
committed
overhaul
1 parent c36ae8a commit b1b9267

18 files changed

+1251
-598
lines changed

asmdisks.spec

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
Name: asmdisks
22
Summary: Replacement for Oracle ASMLib using UDEV
3-
Version: 1.4.7.5
3+
Version: 2.0.0
44
Release: 1%{?dtap}
55
BuildArch: noarch
66
License: GPLv3+
7-
Group: Outrun/Extras
87
Source0: %{name}-%{version}.tbz2
98
Requires: kernel >= 2.6.27
109
Requires: parted lsscsi bc sysstat
10+
Requires: python3-prettytable
11+
1112
# Maybe for diskheader?
1213
# Requires: vim-common
1314

@@ -24,28 +25,32 @@ Also supports DellEMC Powerpath (emcpower) and DellEMC ScaleIO (scini) volumes.
2425

2526
%install
2627
rm -rf %{buildroot}
28+
2729
install -m 0755 -d %{buildroot}/etc
2830
install -m 0755 -d %{buildroot}/usr/bin
31+
install -m 0755 -d %{buildroot}/usr/lib/%{name}
2932
install -m 0755 -d %{buildroot}/usr/share/doc/%{name}
3033
install -m 0755 -d %{buildroot}/usr/share/man/man1
3134

3235
cp -pr etc/* %{buildroot}/etc
3336
cp -p bin/* %{buildroot}/usr/bin
37+
cp -pr lib/* %{buildroot}/usr/lib/%{name}
3438
cp -p doc/* %{buildroot}/usr/share/doc/%{name}
3539
cp -p man1/* %{buildroot}/usr/share/man/man1
3640

37-
touch %{buildroot}/etc/asmtab
41+
touch %{buildroot}/etc/asmtab.db
3842

3943
%files
4044
%defattr(0444,root,root)
4145
%doc /usr/share/doc/%{name}/*
4246
%defattr(0644,root,root)
43-
%ghost /etc/asmtab
47+
%ghost /etc/asmtab.db
4448
/etc/bash_completion.d/asm.bash
4549
/usr/share/man/man1/*
50+
%defattr(0644,root,root)
51+
/usr/lib/%{name}
4652
%defattr(0755,root,root)
4753
/usr/bin/asm
48-
/usr/bin/asm-menu
4954
/usr/bin/asmstat
5055
/usr/bin/wipedisk
5156
/usr/bin/diskheader

0 commit comments

Comments
 (0)