SHA256
1
0
forked from pool/fuse-exfat

Accepting request 995234 from filesystems

- avoid bashism in post-scripts (bsc#1195391)
- remove usrmerge hacks

OBS-URL: https://build.opensuse.org/request/show/995234
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fuse-exfat?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2022-08-16 15:07:25 +00:00 committed by Git OBS Bridge
commit 165cadfb11
2 changed files with 8 additions and 9 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Aug 15 19:58:39 UTC 2022 - Dirk Müller <dmueller@suse.com>
- avoid bashism in post-scripts (bsc#1195391)
- remove usrmerge hacks
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 26 09:37:33 UTC 2020 - Ludwig Nussel <lnussel@suse.de> Thu Nov 26 09:37:33 UTC 2020 - Ludwig Nussel <lnussel@suse.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package fuse-exfat # spec file for package fuse-exfat
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 SUSE LLC
# Copyright (c) 2013 Sidlovsky, Yaroslav <zawertun@gmail.com> # Copyright (c) 2013 Sidlovsky, Yaroslav <zawertun@gmail.com>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -51,10 +51,6 @@ make %{?_smp_mflags}
%install %install
%make_install %make_install
%if !0%{?usrmerged}
mkdir %{buildroot}/sbin
ln -sf %{_sbindir}/{mount.exfat,mount.exfat-fuse} %{buildroot}/sbin
%endif
%post %post
if ! grep -q -e '^exfat$' %{_sysconfdir}/filesystems ; then if ! grep -q -e '^exfat$' %{_sysconfdir}/filesystems ; then
@ -68,7 +64,7 @@ if ! grep -q exfat_fuse %{_sysconfdir}/filesystems ; then
fi fi
%postun %postun
if [ "$1" == "0" ]; then if [ "$1" = "0" ]; then
sed -i -e '/exfat_fuse/d' -e '/^exfat$/d' %{_sysconfdir}/filesystems sed -i -e '/exfat_fuse/d' -e '/^exfat$/d' %{_sysconfdir}/filesystems
echo "Deleted 'exfat' and 'exfat_fuse' from the file %{_sysconfdir}/filesystems" echo "Deleted 'exfat' and 'exfat_fuse' from the file %{_sysconfdir}/filesystems"
fi fi
@ -76,9 +72,6 @@ fi
%files %files
%license COPYING %license COPYING
%doc ChangeLog README %doc ChangeLog README
%if !0%{?usrmerged}
/sbin/*
%endif
%{_sbindir}/mount.exfat %{_sbindir}/mount.exfat
%{_sbindir}/mount.exfat-fuse %{_sbindir}/mount.exfat-fuse
%{_mandir}/man8/mount.exfat-fuse.8%{?ext_man} %{_mandir}/man8/mount.exfat-fuse.8%{?ext_man}