Commit 6950857
Swapnil Dinkar
spec: install ebsnvme in sbindir
this patch fixes the rpmbuild errors because of missing ebsnvme install;
before:
```
$ rpmbuild -bb rpmbuild/SPECS/amazon-ec2-utils.spec
.
.
+ exit 0
Processing files: amazon-ec2-utils-2.2.0-1.amzn2023.noarch
error: File not found: /home/ec2-user/rpmbuild/BUILDROOT/amazon-ec2-utils-2.2.0-1.amzn2023.x86_64/usr/sbin/ebsnvme
RPM build errors:
File not found: /home/ec2-user/rpmbuild/BUILDROOT/amazon-ec2-utils-2.2.0-1.amzn2023.x86_64/usr/sbin/ebsnvme
```
after:
```
$ rpmbuild -bb rpmbuild/SPECS/amazon-ec2-utils.spec
.
.
+ install -m755 /home/ec2-user/rpmbuild/SOURCES/ebsnvme /home/ec2-user/rpmbuild/BUILDROOT/amazon-ec2-utils-2.2.0-1.amzn2023.x86_64/usr/sbin
.
.
.
+ rm -rf /home/ec2-user/rpmbuild/BUILDROOT/amazon-ec2-utils-2.2.0-1.amzn2023.x86_64
+ RPM_EC=0
++ jobs -p
+ exit 0
```
Signed-off-by: Swapnil Dinkar <[email protected]>1 parent 561948a commit 6950857
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| 54 | + | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
| |||
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
61 | | - | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
0 commit comments