Name: flatpak-rpm-macros Version: 27 Release: 6%{?dist} BuildArch: noarch Summary: Macros for building RPMS for flatpaks Source0: macros.flatpak License: MIT %description The macros in this package set up the RPM build environment so built applications install in /app rather than /usr. This package is meant only for installation in buildroots for modules that will be packaged as Flatpaks. %prep %build %install mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm install -t $RPM_BUILD_ROOT%{_sysconfdir}/rpm -p -m 644 %{SOURCE0} %files # The location in sysconfdir contradicts # https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_of_Additional_RPM_Macros # but I believe is necessary to properly override macros that are otherwise set. %{_sysconfdir}/rpm/ %changelog * Fri Jul 13 2018 Fedora Release Engineering - 27-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 27-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 27-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 27-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 13 2017 Owen Taylor - 27-2 See https://bugzilla.redhat.com/show_bug.cgi?id=1460076 - Wrap description lines - Own /etc/rpm, to avoid requiring rpm package - Preserve timestamp on installation * Wed May 31 2017 Owen Taylor - 27-1 - Initial version, based on work by Alex Larsson