diff --git a/byobu.spec b/byobu.spec index 9b00588..a3bed31 100644 --- a/byobu.spec +++ b/byobu.spec @@ -29,7 +29,8 @@ and configuration utilities for the GNU screen window manager, such as toggle-able system status notifications. %prep -%setup -q +%autosetup + # remove swap file if [ -e "usr/bin/.byobu-status-print.swp" ]; then rm usr/bin/.byobu-status-print.swp fi @@ -57,10 +58,10 @@ sed -i "s#/lib/#/libexec/#g" usr/lib/byobu/include/Makefile.in %build export BYOBU_PYTHON=%{__python3} %configure -make %{?_smp_mflags} +%make_build %install -make DESTDIR=%{buildroot} INSTALL="install -p" CP="cp -p" docdir=%{_pkgdocdir} install +%make_install rm -rf %{buildroot}%{_sysconfdir}/profile.d # remove apport which is not available in fedora rm %{buildroot}/%{_libexecdir}/%{name}/apport