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