!36 fuse 自动打补丁
From: @lixiaokeng Reviewed-by: @wubo009 Signed-off-by: @wubo009
This commit is contained in:
commit
35a991c6fe
20
fuse.spec
20
fuse.spec
@ -2,7 +2,7 @@
|
||||
|
||||
Name: fuse
|
||||
Version: %{fuse2ver}
|
||||
Release: 7
|
||||
Release: 8
|
||||
Summary: User space File System of fuse2
|
||||
License: GPL+ and LGPLv2+
|
||||
URL: http://fuse.sf.net
|
||||
@ -47,25 +47,16 @@ Requires: man
|
||||
This contains man files for the using of fuse
|
||||
|
||||
%prep
|
||||
%setup -q -T -c -n fuse -a0
|
||||
|
||||
pushd %{name}-%{fuse2ver}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
popd
|
||||
%autosetup -n %{name}-%{fuse2ver} -p1
|
||||
|
||||
%build
|
||||
pushd %{name}-%{fuse2ver}
|
||||
export MOUNT_FUSE_PATH="%{_sbindir}"
|
||||
export CFLAGS="%{optflags} -D_GNU_SOURCE"
|
||||
%configure --enable-lib
|
||||
%make_build
|
||||
popd
|
||||
|
||||
%install
|
||||
pushd %{name}-%{fuse2ver}
|
||||
%make_install
|
||||
popd
|
||||
|
||||
rm -f %{buildroot}/%{_libdir}/*.a
|
||||
rm -f %{buildroot}%{_sysconfdir}/init.d/fuse
|
||||
@ -77,8 +68,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%postun -n fuse -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%doc fuse-%{fuse2ver}/{AUTHORS,ChangeLog,NEWS,README*}
|
||||
%license fuse-%{fuse2ver}/COPYING
|
||||
%doc {AUTHORS,ChangeLog,NEWS,README*}
|
||||
%license COPYING
|
||||
%{_sbindir}/mount.fuse
|
||||
%attr(4755,root,root) %{_bindir}/fusermount
|
||||
%{_bindir}/ulockmgr_server
|
||||
@ -99,6 +90,9 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
|
||||
%changelog
|
||||
- Mon Jul 26 2021 lixiaokeng <lixiaokeng@huawei.com> -2.9.9-8
|
||||
- autosetup patch
|
||||
|
||||
- Sat Jun 19 2021 yanglongkang <yanglongkang@huawei.com> -2.9.9-7
|
||||
- fix changelog error
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user