SHA256
1
0
forked from pool/fuse

2 Commits

Author SHA256 Message Date
db420e00c4 Workaround gettext 0.25 behavioral changes 2025-07-18 13:26:35 +02:00
4de078b505 Modernize specfile / drop devel-static 2025-06-07 04:21:02 +02:00
2 changed files with 26 additions and 21 deletions

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Jul 18 11:25:32 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Workaround gettext 0.25 behavioral changes
and call autopoint as needed [boo#1246701]
-------------------------------------------------------------------
Sat Jun 7 00:19:35 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Drop fuse-devel-static.
- Modernize specfile.
- Do not require installation of documentation for use of FUSE
headers.
-------------------------------------------------------------------
Tue Dec 27 10:36:59 UTC 2022 - Ludwig Nussel <lnussel@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package fuse
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -35,8 +35,9 @@ Patch3: aarch64-build-fix.patch
Patch4: closefrom.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gettext-devel
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkg-config
Requires(post): permissions
Requires(pre): group(trusted)
Requires: util-linux >= 2.18
@@ -73,7 +74,8 @@ the raw kernel interface.
%package doc
Summary: Document package for FUSE (userspace filesystem)
Group: Development/Languages/C and C++
Group: Documentation/HTML
BuildArch: noarch
%description doc
This package contains the documentation for FUSE (userspace filesystem).
@@ -82,7 +84,6 @@ This package contains the documentation for FUSE (userspace filesystem).
Summary: Development package for FUSE (userspace filesystem) modules
Group: Development/Languages/C and C++
Requires: fuse = %{version}
Requires: fuse-doc = %{version}
Requires: glibc-devel
Requires: libfuse2 = %{version}
Requires: libulockmgr1 = %{version}
@@ -95,15 +96,6 @@ implement file systems in user space.
With fuse-devel, users can compile and install other user space file
systems.
%package devel-static
Summary: Development package for FUSE (userspace filesystem) modules
Group: Development/Languages/C and C++
Requires: fuse-devel = %{version}
Provides: fuse-devel:%{_libdir}/libfuse.a
%description devel-static
This package contains the static library variants of libfuse.
%prep
%autosetup -p1
@@ -111,12 +103,16 @@ This package contains the static library variants of libfuse.
%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
export CFLAGS="%{optflags} -g -fno-strict-aliasing"
export MOUNT_FUSE_PATH=%{_sbindir}
%if %{pkg_vcmp gettext-devel >= 0.25}
# https://lists.gnu.org/archive/html/bug-gettext/2025-06/msg00009.html
autopoint -f
%endif
autoreconf -fi
%configure \
--with-pkgconfigdir=%{_libdir}/pkgconfig \
--enable-lib \
--enable-util \
--enable-example
--enable-example --disable-static
%make_build
%install
@@ -155,10 +151,8 @@ rm -rf doc/Makefile.am doc/Makefile.in doc/Makefile
%verifyscript
%verify_permissions -e %{_bindir}/fusermount
%post -n libfuse2 -p /sbin/ldconfig
%postun -n libfuse2 -p /sbin/ldconfig
%post -n libulockmgr1 -p /sbin/ldconfig
%postun -n libulockmgr1 -p /sbin/ldconfig
%ldconfig_scriptlets -n libfuse2
%ldconfig_scriptlets -n libulockmgr1
%files
%license COPYING*
@@ -202,7 +196,4 @@ rm -rf doc/Makefile.am doc/Makefile.in doc/Makefile
%{_libdir}/pkgconfig/*.pc
%{_includedir}/ulockmgr.h
%files devel-static
%{_libdir}/libfuse.a
%changelog