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