mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-08-03 18:05:58 -04:00
rpm: sync with Fedora repo
this is useful to build a development rpm that can be quickly moved around. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
b92a6544cf
commit
78e111aa8d
@ -14,20 +14,42 @@ BuildRequires: fuse3-devel
|
|||||||
Requires: fuse3
|
Requires: fuse3
|
||||||
|
|
||||||
%description
|
%description
|
||||||
fuse-overlayfs is a FUSE overlayfs implementation.
|
%{summary}.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: %{summary}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
%{summary}
|
||||||
|
|
||||||
|
This package contains library source intended for
|
||||||
|
building other packages which use import path with
|
||||||
|
%{import_path} prefix.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version}
|
%autosetup -n %{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
env NOCONFIGURE=1 ./autogen.sh
|
./autogen.sh
|
||||||
%configure --disable-silent-rules
|
./configure --prefix=%{_usr} --libdir=%{_libdir}
|
||||||
|
%{__make}
|
||||||
%make_build
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install INSTALL="install -p"
|
make DESTDIR=%{buildroot} install
|
||||||
|
install -d %{buildroot}%{_usr}/lib/modules-load.d
|
||||||
|
echo fuse > %{buildroot}%{_usr}/lib/modules-load.d/fuse-overlayfs.conf
|
||||||
|
|
||||||
|
%post
|
||||||
|
modprobe fuse > /dev/null 2>&1 || :
|
||||||
|
|
||||||
|
%check
|
||||||
|
|
||||||
|
#define license tag if not already defined
|
||||||
|
%{!?_licensedir:%global license %doc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
|
%{_mandir}/man1/*
|
||||||
|
%{_usr}/lib/modules-load.d/fuse-overlayfs.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user