use %make_build %make_install %ldconfig_scriptlets

This commit is contained in:
Rex Dieter 2018-06-28 11:55:38 -05:00
parent 53c066c055
commit b91e77734f

View File

@ -9,7 +9,7 @@
Summary: C++ user interface toolkit
Name: fltk
Version: 1.3.4
Release: 5%{?dist}
Release: 6%{?dist}
# see COPYING (or http://www.fltk.org/COPYING.php ) for exceptions details
License: LGPLv2+ with exceptions
@ -107,11 +107,12 @@ autoconf
--enable-xinerama \
--enable-xft
make %{?_smp_mflags}
%make_build
%install
make install DESTDIR=$RPM_BUILD_ROOT
%make_install
make install-linux -C fluid DESTDIR=$RPM_BUILD_ROOT
# we only apply this hack to multilib arch's
@ -135,8 +136,7 @@ rm -rv $RPM_BUILD_ROOT%{_mandir}/cat*
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/fluid.desktop
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%doc ANNOUNCEMENT CHANGES CREDITS README
@ -173,6 +173,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/fluid.desktop
%changelog
* Thu Jun 28 2018 Rex Dieter <rdieter@fedoraproject.org> - 1.3.4-6
- use %%make_build %%make_install %%ldconfig_scriptlets
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild