Take prefix into account when compressing man pages etc for Flatpak builds
From the original PR (https://src.fedoraproject.org/rpms/rpm/pull-request/15): The way that a Flatpak works is that the runtime is mounted at /usr and the application and included libraries are mounted at /app. So the application and included libraries need to be rebuilt with a prefix of /app. This patch makes brp-compress find man pages and info pages under current prefix, avoiding the name for spec file changes for the rebuild.
This commit is contained in:
parent
06f829d1d3
commit
1eb187d393
6
rpm.spec
6
rpm.spec
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
%global rpmver 4.14.2.1
|
%global rpmver 4.14.2.1
|
||||||
#global snapver rc2
|
#global snapver rc2
|
||||||
%global rel 2
|
%global rel 3
|
||||||
|
|
||||||
%global srcver %{version}%{?snapver:-%{snapver}}
|
%global srcver %{version}%{?snapver:-%{snapver}}
|
||||||
%global srcdir %{?snapver:testing}%{!?snapver:%{name}-%(echo %{version} | cut -d'.' -f1-2).x}
|
%global srcdir %{?snapver:testing}%{!?snapver:%{name}-%(echo %{version} | cut -d'.' -f1-2).x}
|
||||||
@ -60,6 +60,7 @@ Patch6: 0001-find-debuginfo.sh-decompress-DWARF-compressed-ELF-se.patch
|
|||||||
|
|
||||||
# Patches already upstream:
|
# Patches already upstream:
|
||||||
Patch103: 0001-rpmfc-push-name-epoch-version-release-macro-before-i.patch
|
Patch103: 0001-rpmfc-push-name-epoch-version-release-macro-before-i.patch
|
||||||
|
Patch104: 0001-Take-_prefix-into-account-when-compressing-man-pages.patch
|
||||||
|
|
||||||
# These are not yet upstream
|
# These are not yet upstream
|
||||||
Patch906: rpm-4.7.1-geode-i686.patch
|
Patch906: rpm-4.7.1-geode-i686.patch
|
||||||
@ -582,6 +583,9 @@ make check || (cat tests/rpmtests.log; exit 1)
|
|||||||
%doc doc/librpm/html/*
|
%doc doc/librpm/html/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-3
|
||||||
|
- Take prefix into account when compressing man pages etc for Flatpak builds
|
||||||
|
|
||||||
* Wed Oct 24 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-2
|
* Wed Oct 24 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-2
|
||||||
- Selinux plugin requires a base policy to work (#1641631)
|
- Selinux plugin requires a base policy to work (#1641631)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user