fix pkgconfig links

This commit is contained in:
Sérgio M. Basto 2016-02-13 02:42:56 +00:00
parent 2ede32503f
commit c9ef9a5420

View File

@ -1,6 +1,6 @@
Name: soundtouch
Version: 1.9.2
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Audio Processing library for changing Tempo, Pitch and Playback Rates
License: LGPLv2+
Group: System Environment/Libraries
@ -66,8 +66,9 @@ rm -rf %{buildroot}%{_docdir}/%{name}
# pkgconfig compat links for compat with older (API compatible) releases
# dunno why upstream keeps changing the pkgconfig name
ln -s soundtouch-1.4.pc %{buildroot}%{_libdir}/pkgconfig/libSoundTouch.pc
ln -s soundtouch-1.4.pc %{buildroot}%{_libdir}/pkgconfig/soundtouch-1.0.pc
# Update 2016-02-13: now looks like that is soundtouch.pc without version
ln -s soundtouch.pc %{buildroot}%{_libdir}/pkgconfig/libSoundTouch.pc
ln -s soundtouch.pc %{buildroot}%{_libdir}/pkgconfig/soundtouch-1.0.pc
## soundtouch installs an autoheader generated header file which could very
## well conflict with other autoheader generated header files, so we override
@ -94,6 +95,9 @@ ln -s soundtouch-1.4.pc %{buildroot}%{_libdir}/pkgconfig/soundtouch-1.0.pc
%changelog
* Sat Feb 13 2016 Sérgio Basto <sergio@serjux.com> - 1.9.2-3
- fix pkgconfig links
* Sat Feb 13 2016 Sérgio Basto <sergio@serjux.com> - 1.9.2-2
- Add license tag.
- Add back sed on -O3 .