mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-09 00:00:04 +03:00
update version and build
Change-Id: I2f9e09ee6a927f7f89207914745ef50b6493e4b9
This commit is contained in:
parent
6145b37851
commit
5a71c13062
18
autogen.sh
18
autogen.sh
@ -1,18 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
export ACLOCAL_FLAGS=""
|
|
||||||
export ACLOCAL_AMFLAGS="-I m4"
|
|
||||||
|
|
||||||
aclocal $ACLOCAL_FLAGS
|
|
||||||
|
|
||||||
if glibtoolize -h > /dev/null 2>&1 ; then
|
|
||||||
glibtoolize --copy --force
|
|
||||||
else
|
|
||||||
libtoolize --copy --force
|
|
||||||
fi
|
|
||||||
|
|
||||||
autoheader
|
|
||||||
automake --copy --add-missing --foreign -Wall -Wno-portability
|
|
||||||
autoconf
|
|
@ -1,9 +1,9 @@
|
|||||||
Summary: bcache-tools
|
Summary: bcache-tools: manage local bcache devices
|
||||||
Name: bcache-tools
|
Name: %{package_name}
|
||||||
Version: 0.1
|
Version: %{datera_version}
|
||||||
Release: %{?release:%{release}}%{!?release:eng}
|
Release: %{?release:%{release}}%{!?release:eng}
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
License: GPL
|
License: GPL2
|
||||||
Group: tools
|
Group: tools
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRoot: %{_tmppath}/%{name}-root
|
||||||
Requires: libblkid
|
Requires: libblkid
|
||||||
@ -14,4 +14,17 @@ Summary: tools to manage bcache
|
|||||||
%description
|
%description
|
||||||
bcache tools
|
bcache tools
|
||||||
|
|
||||||
|
%install
|
||||||
|
make DESTDIR=%buildroot INSTALL=/usr/bin/install -C /bld/$RPM_PACKAGE_NAME install
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%_bindir/bcacheadm
|
||||||
|
%_bindir/bcachectl
|
||||||
|
%_bindir/make-bcache
|
||||||
|
%_bindir/probe-bcache
|
||||||
|
%_bindir/bcache-super-show
|
||||||
|
%_prefix/etc/initramfs-tools/hooks/bcache
|
||||||
|
%_prefix/lib/udev/bcache-register
|
||||||
|
%_prefix/lib/udev/rules.d/69-bcache.rules
|
||||||
|
%_libdir/libbcache.a
|
||||||
|
%_mandir/man8/*.gz
|
||||||
|
14
configure.ac
14
configure.ac
@ -2,22 +2,12 @@
|
|||||||
# Process this file with autoconf to produce a configure script.
|
# Process this file with autoconf to produce a configure script.
|
||||||
|
|
||||||
AC_PREREQ(2.61)
|
AC_PREREQ(2.61)
|
||||||
AC_INIT(bcache-tools, 0.1, support@datera.io)
|
AC_INIT(m4_esyscmd([echo -n $PACKAGE]), m4_esyscmd([echo -n $DATERA_VERSION]), m4_esyscmd([echo -n $SUPPORT_EMAIL]))
|
||||||
AM_INIT_AUTOMAKE
|
|
||||||
LT_INIT
|
LT_INIT
|
||||||
AC_CONFIG_HEADER([config.h])
|
AC_CONFIG_HEADER([config.h])
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
|
||||||
# Checks for programs.
|
m4_include([../BTools/cscript/ccpp.m4])
|
||||||
AC_PROG_CC
|
|
||||||
|
|
||||||
# Checks for libraries.
|
|
||||||
|
|
||||||
# Checks for header files.
|
|
||||||
|
|
||||||
# Checks for typedefs, structures, and compiler characteristics.
|
|
||||||
|
|
||||||
# Checks for library functions.
|
|
||||||
|
|
||||||
AC_CONFIG_FILES([Makefile])
|
AC_CONFIG_FILES([Makefile])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
Loading…
Reference in New Issue
Block a user