Logoj0ke.net Open Build Service > Projects > stresslinux > diskscan > Changes
Sign Up | Log In

Changes of Revision 5

[-] Changed diskscan.spec
x
 
1
@@ -25,11 +25,17 @@
2
 
3
 %build
4
 %__make
5
-%__make
6
 
7
 %install
8
-%__make DO_BUILT=1 DESTDIR=%{buildroot} install
9
-rm -rf %{buildroot}%{_datadir}/doc/diskscan/README.md
10
+# make dirs
11
+%__install -d %{buildroot}%{_mandir}/man1 %{buildroot}%{_bindir}
12
+
13
+# manpages
14
+%__install -m 0644 Documentation/*.1 %{buildroot}%{_mandir}/man1
15
+
16
+# binaries
17
+%__install -m 0755 diskscan %{buildroot}%{_bindir}
18
+
19
 %clean
20
 rm -rf %{buildroot}
21
 
22
@@ -37,7 +43,7 @@
23
 %defattr(-,root,root)
24
 %doc README.md
25
 %{_bindir}/diskscan
26
-%{_mandir}/man1/diskscan.1.gz
27
+%{_mandir}/man1/diskscan.1*
28
 
29
 %changelog
30
 
31