9431ad
%global git0 https://github.com/containers/%{name}
5fb080
%global commit0 8c59873b00b3e8ee98be998fec8dbce4cfe984cc
9431ad
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
9431ad
9431ad
Name: fuse-overlayfs
5fb080
Version: 0.7.2
3e1a43
Release: 5%{?dist}
9431ad
Summary: FUSE overlay+shiftfs implementation for rootless containers
9431ad
License: GPLv3+
9431ad
URL: %{git0}
1d7f01
ExclusiveArch: aarch64 %{arm} ppc64le s390x x86_64
9431ad
Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
3e1a43
# related bug: https://bugzilla.redhat.com/show_bug.cgi?id=1802907
3e1a43
# backported:  https://patch-diff.githubusercontent.com/raw/containers/fuse-overlayfs/pull/184.patch
3e1a43
Patch0: fuse-overlayfs-1803495.patch
3e1a43
# related bug: https://bugzilla.redhat.com/show_bug.cgi?id=1804849
3e1a43
# patch:  https://bugzilla.redhat.com/attachment.cgi?id=1666385
3e1a43
Patch1: fuse-overlayfs-1804849.patch
9431ad
BuildRequires: autoconf
9431ad
BuildRequires: automake
9431ad
BuildRequires: fuse3-devel
9431ad
BuildRequires: gcc
9431ad
BuildRequires: git
9431ad
BuildRequires: go-md2man
9431ad
BuildRequires: make
9431ad
Provides: bundled(gnulib) = cb634d40c7b9bbf33fa5198d2e27fdab4c0bf143
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
9431ad
%autosetup -Sgit -n %{name}-%{commit0}
9431ad
9431ad
%build
9431ad
./autogen.sh
9431ad
./configure --prefix=%{_usr} --libdir=%{_libdir}
9431ad
%{__make} generate-man
9431ad
9431ad
%install
9431ad
make DESTDIR=%{buildroot} install install-man
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}
9431ad
%{_mandir}/man1/%{name}.1.gz
9431ad
9431ad
%changelog
3e1a43
* Thu Mar 26 2020 Jindrich Novy <jnovy@redhat.com> - 0.7.2-5
3e1a43
- be sure to work properly also with older rhel8 kernels, thanks to Giuseppe Scrivano
3e1a43
- Resolves: #1803495
3e1a43
3e1a43
* Tue Mar 24 2020 Jindrich Novy <jnovy@redhat.com> - 0.7.2-4
3e1a43
- latest iteration of segfault fix patch, thanks to Giuseppe Scrivano
3e1a43
- Resolves: #1803495
3e1a43
3e1a43
* Thu Feb 20 2020 Jindrich Novy <jnovy@redhat.com> - 0.7.2-3
3e1a43
- fix "fuse-overlayfs segfault"
3e1a43
- Resolves: #1805016
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"
3e1a43
- Resolves: #1803495
3e1a43
5fb080
* Fri Nov 29 2019 Jindrich Novy <jnovy@redhat.com> - 0.7.2-1
5fb080
- update to 0.7.2
5fb080
- Related: RHELPLAN-25138
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
5fb080
- Related: RHELPLAN-25138
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