Move mount binaries into usr/sbin
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: glusterfs
|
name: glusterfs
|
||||||
description: free and open source software scalable network filesystem
|
description: free and open source software scalable network filesystem
|
||||||
version: "11.1"
|
version: "11.1"
|
||||||
revision: 2
|
revision: 3
|
||||||
url: https://www.gluster.org/
|
url: https://www.gluster.org/
|
||||||
license: GPL2-or-later,LGPL3-only
|
license: GPL2-or-later,LGPL3-only
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -11,8 +11,7 @@ prepare() {
|
|||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--sbindir=/usr/bin \
|
--with-mountutildir=/usr/sbin \
|
||||||
--with-mountutildir=/usr/bin \
|
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--mandir=/usr/share/man \
|
--mandir=/usr/share/man \
|
||||||
@@ -35,7 +34,6 @@ package() {
|
|||||||
|
|
||||||
# Remove unwanted directories
|
# Remove unwanted directories
|
||||||
rm -r "$BPM_OUTPUT"/var/run
|
rm -r "$BPM_OUTPUT"/var/run
|
||||||
rm -r "$BPM_OUTPUT"/usr/lib/systemd
|
|
||||||
|
|
||||||
# Install documentation
|
# Install documentation
|
||||||
cp -r doc/* "$BPM_OUTPUT"/usr/share/doc/glusterfs/
|
cp -r doc/* "$BPM_OUTPUT"/usr/share/doc/glusterfs/
|
||||||
|
|||||||
Reference in New Issue
Block a user