Skip to content

Commit

Permalink
Only build static library
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Olivier <[email protected]>
  • Loading branch information
jolivier23 committed Jan 11, 2025
1 parent 1afbef2 commit 7198626
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 deletions.
8 changes: 7 additions & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
fused (1.0.0-1) unstable; urgency=medium
fused (1.0.0-2) unstable; urgency=medium
[ Jeff Olivier ]
* Change to static only

-- Jeff Olivier <[email protected]> Sat, 11 Jan 2025 08:09:00 +0000


fused (1.0.0-1) unstable; urgency=medium
[ Jeff Olivier ]
* Initial version

Expand Down
9 changes: 1 addition & 8 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,8 @@ Homepage: https://daos.io
Vcs-Browser: https://github.com/daos-stack/fused.git
Vcs-Git: https://github.com/daos-stack/fused.git

Package: libfused
Section: libdevel
Architecture: any
Multi-Arch: same
Description: Runtime binaries for DAOS FUSE library

Package: libfused-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Description: Development binaries and headers for DAOS FUSE library
Depends: libfused
Description: Headers and static library for DAOS FUSE library
2 changes: 1 addition & 1 deletion debian/libfused-dev.install
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
usr/include
usr/lib/*/pkgconfig
usr/lib/*/*.so
usr/lib/*/libfused.a
1 change: 0 additions & 1 deletion debian/libfused.install

This file was deleted.

2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ override_dh_auto_clean:
dh_auto_clean

override_dh_auto_configure:
dh_auto_configure -- -Ddisable-mtab=True -Dutils=False --default-library shared \
dh_auto_configure -- -Ddisable-mtab=True -Dutils=False --default-library static \
--libdir=/usr/lib/${DEB_BUILD_MULTIARCH} --prefix=/usr

override_dh_missing:
Expand Down
20 changes: 11 additions & 9 deletions fused.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name: fused
Version: 1.0.0
Release: 1%{?relval}%{?dist}
Release: 2%{?relval}%{?dist}
Summary: DAOS File System in Userspace Library

License: LGPLv2+
Expand All @@ -12,6 +12,8 @@ Conflicts: filesystem < 3
BuildRequires: libselinux-devel
BuildRequires: meson, gcc-c++, gcc

%_debug_package %{name}-debuginfo

%description
This package builds on FUSE but implements a completely custom file
system intended for use with the DAOS file system.
Expand All @@ -23,31 +25,31 @@ License: LGPLv2+
Conflicts: filesystem < 3
Requires: %{name}%{?_isa} = %{version}-%{release}

%description devel
Provides a user space library and headers for DAOS specific FUSE filesystem

%global debug_package %{nil}

%description devel
Static library and headers

%prep
%autosetup

%build
%meson --strip -Ddisable-mtab=True -Dutils=False --default-library shared
%meson --strip -Ddisable-mtab=True -Dutils=False --default-library static
%meson_build

%install
export MESON_INSTALL_DESTDIR_PREFIX=%{buildroot}/usr %meson_install
find %{buildroot} .
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'

%files
%{_libdir}/libfused.so.*

%files devel
%{_libdir}/libfused.so
%{_libdir}/libfused.a
%{_includedir}/fused/
%{_libdir}/pkgconfig

%changelog
* Sat Jan 11 2025 Jeff Olivier <[email protected]> - 1.0.0-2.0
- Only build static lib

* Mon Feb 12 2024 Jeff Olivier <[email protected]> - 1.0.0-1.0
- Initial packaging for fused, a DAOS file system adaptation of libfused

0 comments on commit 7198626

Please sign in to comment.