automatic version update by autodist [release 6.10-1mamba;Wed Sep 09 2020]

This commit is contained in:
Automatic Build System 2024-01-05 21:21:27 +01:00
parent 511bebd7a5
commit d5d6ced630
2 changed files with 35 additions and 3 deletions

View File

@ -0,0 +1,18 @@
--- cifs-utils-6.10/Makefile.am.orig 2020-09-07 11:28:12.342000000 +0200
+++ cifs-utils-6.10/Makefile.am 2020-09-07 11:28:36.197000000 +0200
@@ -119,11 +119,11 @@
SUBDIRS = contrib
install-exec-hook:
- (cd $(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3)
+ (cd $(DESTDIR)$(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3)
install-data-hook:
- (cd $(man8dir) && ln -sf mount.cifs.8 mount.smb3.8)
+ (cd $(DESTDIR)$(man8dir) && ln -sf mount.cifs.8 mount.smb3.8)
uninstall-hook:
- (cd $(ROOTSBINDIR) && rm -f $(ROOTSBINDIR)/mount.smb3)
- (cd $(man8dir) && rm -f $(man8dir)/mount.smb3.8)
+ (cd $(DESTDIR)$(ROOTSBINDIR) && rm -f $(ROOTSBINDIR)/mount.smb3)
+ (cd $(DESTDIR)$(man8dir) && rm -f $(man8dir)/mount.smb3.8)

View File

@ -1,5 +1,5 @@
Name: cifs-utils
Version: 6.9
Version: 6.10
Release: 1mamba
Summary: A set of user-space tools to manage the in-kernel CIFS filesystem
Group: System/Kernel and Hardware
@ -8,6 +8,7 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://wiki.samba.org/index.php/LinuxCIFS_utils
Source: http://ftp.samba.org/pub/linux-cifs/cifs-utils/cifs-utils-%{version}.tar.bz2
Patch0: cifs-utils-6.10-DESTDIR.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -38,9 +39,10 @@ This package contains static libraries and header files needed for development.
%prep
%setup -q
%patch0 -p1
autoreconf -i
%build
autoreconf -i
%configure \
--enable-cifsidmap
@ -48,7 +50,11 @@ autoreconf -i
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall pamdir=/%{_lib}/security
install -d -m0755 %{buildroot}/sbin
install -d -m0755 %{buildroot}%{_mandir}/man8
%makeinstall pamdir=/%{_lib}/security \
ROOTSBINDIR=/sbin \
man8dir=%{_mandir}/man8
ln -sf mount.cifs %{buildroot}/sbin/mount.smbfs
@ -58,11 +64,14 @@ ln -sf mount.cifs %{buildroot}/sbin/mount.smbfs
%files
%defattr(-,root,root)
%attr(4750,root,sysadmin) /sbin/mount.cifs
/sbin/mount.cifs
/sbin/mount.smbfs
/sbin/mount.smb3
%{_bindir}/cifscreds
%{_bindir}/getcifsacl
%{_bindir}/setcifsacl
%{_bindir}/smbinfo
%{_bindir}/smb2-quota
%{_libdir}/cifs-utils/idmapwb.so
/%{_lib}/security/pam_cifscreds.so
%{_sbindir}/cifs.idmap
@ -71,10 +80,12 @@ ln -sf mount.cifs %{buildroot}/sbin/mount.smbfs
%{_mandir}/man1/getcifsacl.1*
%{_mandir}/man1/setcifsacl.1*
%{_mandir}/man1/smbinfo.1*
%{_mandir}/man1/smb2-quota.1*
%{_mandir}/man8/cifs.idmap.8*
%{_mandir}/man8/cifs.upcall.8*
%{_mandir}/man8/idmapwb.8*
%{_mandir}/man8/mount.cifs.8*
%{_mandir}/man8/mount.smb3.8*
%{_mandir}/man8/pam_cifscreds.8*
%doc AUTHORS COPYING
# ChangeLog NEWS README
@ -84,6 +95,9 @@ ln -sf mount.cifs %{buildroot}/sbin/mount.smbfs
%{_includedir}/cifsidmap.h
%changelog
* Wed Sep 09 2020 Automatic Build System <autodist@mambasoft.it> 6.10-1mamba
- automatic version update by autodist
* Thu Nov 14 2019 Automatic Build System <autodist@mambasoft.it> 6.9-1mamba
- automatic version update by autodist