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