Use autoreconf -f to remove rpath

Use --disable-static to disable static builds
Use current make macros
This commit is contained in:
Orion Poplawski 2020-12-13 12:13:42 -07:00
parent c6ec340ace
commit 7e9da46caa

View File

@ -1,6 +1,6 @@
Name: jbig2dec Name: jbig2dec
Version: 0.19 Version: 0.19
Release: 2%{?dist} Release: 3%{?dist}
Summary: A decoder implementation of the JBIG2 image compression format Summary: A decoder implementation of the JBIG2 image compression format
License: AGPLv3+ License: AGPLv3+
URL: http://jbig2dec.sourceforge.net/ URL: http://jbig2dec.sourceforge.net/
@ -48,14 +48,13 @@ which requires the jbig2dec library.
%build %build
autoreconf -i autoreconf -fi
%configure %configure --disable-static
make %{?_smp_mflags} %make_build
%install %install
make DESTDIR=%{buildroot} install %make_install
rm -f %{buildroot}%{_libdir}/*.a
rm -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_libdir}/*.la
%ldconfig_scriptlets libs %ldconfig_scriptlets libs
@ -80,6 +79,11 @@ rm -f %{buildroot}%{_libdir}/*.la
%changelog %changelog
* Sun Dec 13 2020 Orion Poplawski <orion@nwra.com> - 0.19-3
- Use autoreconf -f to remove rpath
- Use --disable-static to disable static builds
- Use current make macros
* Fri Sep 18 2020 Michael J Gruber <mjg@fedoraproject.org> - 0.19-2 * Fri Sep 18 2020 Michael J Gruber <mjg@fedoraproject.org> - 0.19-2
- remove ABI patch (and coordinate builds) - remove ABI patch (and coordinate builds)