Accepting request 317222 from home:olh:branches:multimedia:libs

- Fix build in SLE_11 by disabling usage of help2man

OBS-URL: https://build.opensuse.org/request/show/317222
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/librubberband?expand=0&rev=12
This commit is contained in:
Dave Plater 2015-07-17 16:36:01 +00:00 committed by Git OBS Bridge
parent 619661999a
commit 7ea3024cd3
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 16 14:44:18 UTC 2015 - olaf@aepfle.de
- Fix build in SLE_11 by disabling usage of help2man
-------------------------------------------------------------------
Mon Feb 16 15:34:47 UTC 2015 - tchvatal@suse.com

View File

@ -116,6 +116,7 @@ make %{?_smp_mflags}
make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm %{buildroot}%{_libdir}/*.a
%if 0%{?suse_version} > 1140
mkdir -p %{buildroot}%{_mandir}/man1
pushd %{buildroot}%{_mandir}/man1
cp -v %{buildroot}%{_bindir}/rubberband ./
@ -123,6 +124,7 @@ help2man --no-discard-stderr \
-N -o rubberband.1 ./rubberband
rm rubberband
popd
%endif
%post -n %{library_name} -p /sbin/ldconfig
@ -143,7 +145,9 @@ popd
%files -n rubberband-cli
%defattr(-,root,root,-)
%{_bindir}/rubberband
%if 0%{?suse_version} > 1140
%{_mandir}/man1/rubberband.1.gz
%endif
%files -n rubberband-ladspa
%defattr(-,root,root,-)