--disable-docs because there's no c2man

This commit is contained in:
Caolán McNamara 2018-05-04 09:42:43 +01:00
parent 03a1b546ec
commit a7928769e5

View File

@ -37,7 +37,7 @@ export CFLAGS="$CFLAGS -DPAGE_SIZE=4096"
export CFLAGS="$RPM_OPT_FLAGS -DPAGE_SIZE=4096"
%endif
%endif
%configure --disable-static
%configure --disable-static --disable-docs
make %{?_smp_mflags}
%check
@ -46,8 +46,6 @@ make check
%install
make DESTDIR=$RPM_BUILD_ROOT install INSTALL="install -p"
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
# remove empty (compressed) man pages
find $RPM_BUILD_ROOT%{_mandir}/man3 -type f -empty -exec rm {} \;
%post -p /sbin/ldconfig
@ -62,11 +60,10 @@ find $RPM_BUILD_ROOT%{_mandir}/man3 -type f -empty -exec rm {} \;
%{_includedir}/fribidi
%{_libdir}/libfribidi.so
%{_libdir}/pkgconfig/*.pc
%{_mandir}/man3/%{name}_*.gz
%changelog
* Fri May 04 2018 Caolán McNamara <caolanm@redhat.com> - 1.0.2-1
- Resolves: rhbz#1574858 latest version
- Resolves: rhbz#1574858 latest version, --disable-docs because there's no c2man
* Wed Feb 28 2018 Caolán McNamara <caolanm@redhat.com> - 1.0.1-1
- Resolves: rhbz#1549934 latest version