b2c83c
%global git0 https://github.com/containers/%{name}
b2c83c
e62625
%{!?_modulesloaddir:%global _modulesloaddir %{_usr}/lib/modules-load.d}
e62625
b2c83c
Name: fuse-overlayfs
881282
Version: 1.8.2
f9c34a
Release: 1%{?dist}
b2c83c
Summary: FUSE overlay+shiftfs implementation for rootless containers
b2c83c
License: GPLv3+
b2c83c
URL: %{git0}
b2c83c
ExclusiveArch: aarch64 %{arm} ppc64le s390x x86_64
70265b
Source0: %{git0}/archive/v%{version}.tar.gz
e62625
Patch0: fuse-overlayfs-openat2-unsupported.patch
b2c83c
BuildRequires: autoconf
b2c83c
BuildRequires: automake
b2c83c
BuildRequires: fuse3-devel
b2c83c
BuildRequires: gcc
b2c83c
BuildRequires: git
b2c83c
BuildRequires: go-md2man
b2c83c
BuildRequires: make
e62625
Requires: kmod
e62625
Requires: fuse3
b2c83c
b2c83c
%description
b2c83c
%{summary}.
b2c83c
b2c83c
%package devel
b2c83c
Summary: %{summary}
b2c83c
BuildArch: noarch
b2c83c
b2c83c
%description devel
b2c83c
%{summary}
b2c83c
b2c83c
This package contains library source intended for
b2c83c
building other packages which use import path with
b2c83c
%{import_path} prefix.
b2c83c
b2c83c
%prep
70265b
%autosetup -Sgit
b2c83c
b2c83c
%build
e62625
export CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
e62625
export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
b2c83c
./autogen.sh
b2c83c
./configure --prefix=%{_usr} --libdir=%{_libdir}
b2c83c
%{__make} generate-man
b2c83c
b2c83c
%install
b2c83c
make DESTDIR=%{buildroot} install install-man
e62625
install -d %{buildroot}%{_modulesloaddir}
e62625
echo fuse > %{buildroot}%{_modulesloaddir}/fuse-overlayfs.conf
e62625
e62625
%post
e62625
modprobe fuse > /dev/null 2>&1 || :
b2c83c
b2c83c
%check
b2c83c
b2c83c
#define license tag if not already defined
b2c83c
%{!?_licensedir:%global license %doc}
b2c83c
b2c83c
%files
b2c83c
%license COPYING
b2c83c
%doc README.md
b2c83c
%{_bindir}/%{name}
e62625
%{_mandir}/man1/*
e62625
%{_modulesloaddir}/fuse-overlayfs.conf
b2c83c
b2c83c
%changelog
881282
* Wed Feb 02 2022 Jindrich Novy <jnovy@redhat.com> - 1.8.2-1
881282
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.8.2
881282
- Related: #2001445
881282
881282
* Wed Jan 19 2022 Jindrich Novy <jnovy@redhat.com> - 1.8.1-1
881282
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.8.1
881282
- Related: #2001445
881282
881282
* Wed Dec 22 2021 Jindrich Novy <jnovy@redhat.com> - 1.8-1
881282
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.8
881282
- Related: #2001445
881282
f9c34a
* Wed Aug 11 2021 Jindrich Novy <jnovy@redhat.com> - 1.7.1-1
f9c34a
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.7.1
f9c34a
- Related: #1934415
f9c34a
f9c34a
* Thu Jul 29 2021 Jindrich Novy <jnovy@redhat.com> - 1.7-1
f9c34a
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.7
f9c34a
- Related: #1934415
f9c34a
f9c34a
* Wed Jun 23 2021 Jindrich Novy <jnovy@redhat.com> - 1.6-1
f9c34a
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.6
f9c34a
- Related: #1934415
f9c34a
f9c34a
* Thu Mar 25 2021 Jindrich Novy <jnovy@redhat.com> - 1.5.0-1
f9c34a
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.5.0
f9c34a
- Related: #1934415
f9c34a
e62625
* Fri Jan 29 2021 Jindrich Novy <jnovy@redhat.com> - 1.4.0-2
e62625
- disable openat2 syscall again - still unsupported in current RHEL8 kernel
e62625
- Related: #1883490
e62625
e62625
* Sat Jan 23 2021 Jindrich Novy <jnovy@redhat.com> - 1.4.0-1
e62625
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.4.0
e62625
- Related: #1883490
e62625
e62625
* Thu Nov 26 2020 Jindrich Novy <jnovy@redhat.com> - 1.3.0-1
e62625
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.3.0
e62625
- Related: #1883490
e62625
e62625
* Mon Nov 09 2020 Jindrich Novy <jnovy@redhat.com> - 1.2.0-3
e62625
- be sure to harden the linked binary
e62625
- Related: #1883490
e62625
e62625
* Thu Oct 29 2020 Jindrich Novy <jnovy@redhat.com> - 1.2.0-2
e62625
- ensure fuse module is loaded
e62625
- Related: #1883490
e62625
e62625
* Wed Oct 21 2020 Jindrich Novy <jnovy@redhat.com> - 1.2.0-1
e62625
- synchronize with stream-container-tools-rhel8
e62625
- Related: #1883490
e62625
e62625
* Fri Sep 18 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.2-3
e62625
- fix "error bind mounting /dev from host into mount namespace"
e62625
  (the openat2 syscall is not yet supported by the RHEL8 kernel)
e62625
- Resolves: #1867447
e62625
e62625
* Tue Aug 11 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.2-2
e62625
- use proper CFLAGS
e62625
- Related: #1821193
e62625
e62625
* Mon Jun 29 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.2-1
e62625
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.1.2
e62625
- Related: #1821193
e62625
70265b
* Mon Jun 22 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.1-1
70265b
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.1.1
70265b
- Related: #1821193
70265b
70265b
* Thu Jun 18 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.0-1
70265b
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.1.0
70265b
- Related: #1821193
70265b
70265b
* Tue May 12 2020 Jindrich Novy <jnovy@redhat.com> - 1.0.0-1
70265b
- synchronize containter-tools 8.3.0 with 8.2.1
70265b
- Related: #1821193
70265b
70265b
* Tue Apr 07 2020 Jindrich Novy <jnovy@redhat.com> - 0.7.8-1
70265b
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v0.7.8
70265b
- Related: #1821193
70265b
70265b
* Thu Mar 19 2020 Jindrich Novy <jnovy@redhat.com> - 0.7.2-5
70265b
- latest iteration of segfault fix patch, thanks to Giuseppe Scrivano
70265b
- Resolves: #1805017
70265b
70265b
* Fri Mar 06 2020 Jindrich Novy <jnovy@redhat.com> - 0.7.2-4
70265b
- replace "fuse-overlayfs segfault" patch with improved one
70265b
  due to application to a different context
70265b
- Resolves: #1805017
70265b
70265b
* Thu Feb 20 2020 Jindrich Novy <jnovy@redhat.com> - 0.7.2-3
70265b
- fix "fuse-overlayfs segfault"
70265b
- Resolves: #1805017
70265b
70265b
* Mon Feb 17 2020 Jindrich Novy <jnovy@redhat.com> - 0.7.2-2
70265b
- fix "useradd and groupadd fail under rootless Buildah and podman"
70265b
- Resolves: #1803496
70265b
808575
* Fri Nov 29 2019 Jindrich Novy <jnovy@redhat.com> - 0.7.2-1
808575
- update to 0.7.2
808575
- Related: RHELPLAN-25139
808575
808575
* Fri Nov 29 2019 Jindrich Novy <jnovy@redhat.com> - 0.7.1-1
808575
- update to 0.7.1
808575
- Related: RHELPLAN-25139
808575
808575
* Mon Nov 18 2019 Jindrich Novy <jnovy@redhat.com> - 0.7-1
808575
- update to 0.7
808575
- apply patch to fix build on RHEL-8
808575
- Related: RHELPLAN-25139
808575
b2c83c
* Sat Jun 15 2019 Lokesh Mandvekar <lsm5@redhat.com> - 0.4.1-1
b2c83c
- Resolves: #1720654 - rebase to v0.4.1
b2c83c
b2c83c
* Wed Jan 16 2019 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.3-2
b2c83c
- rebase
b2c83c
- Resolves:#1666510
b2c83c
b2c83c
* Wed Oct 17 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-7.dev.git50c7a50
b2c83c
- Resolves: #1640232
b2c83c
- built commit 50c7a50
b2c83c
b2c83c
* Fri Aug 10 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-6.dev.git1c72a1a
b2c83c
- Resolves: #1614856 - add manpage
b2c83c
- built commit 1c72a1a
b2c83c
- add BR: go-md2man
b2c83c
b2c83c
* Fri Aug 10 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-5.dev.gitd40ac75
b2c83c
- built commit d40ac75
b2c83c
- remove fedora bz ids
b2c83c
- Exclude ix86 and ppc64
b2c83c
b2c83c
* Mon Jul 30 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-4.dev.git79c70fd
b2c83c
- Resolves: #1609598 - initial upload to Fedora
b2c83c
- bundled gnulib
b2c83c
b2c83c
* Mon Jul 30 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-3.dev.git79c70fd
b2c83c
- correct license field
b2c83c
b2c83c
* Mon Jul 30 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-2.dev.git79c70fd
b2c83c
- fix license
b2c83c
b2c83c
* Sun Jul 29 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-1.dev.git13575b6
b2c83c
- First package for Fedora