Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/gsm.git#58870ebbd00ce2664bd7e86b5d58591962146682
This commit is contained in:
DistroBaker 2021-02-04 00:48:12 +01:00
parent fcb7a62c23
commit 680603ffee

View File

@ -4,7 +4,7 @@
Name: gsm
Version: %{ver_major}.%{ver_minor}.%{ver_patch}
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Shared libraries for GSM speech compressor
License: MIT
@ -13,6 +13,7 @@ Source: http://www.quut.com/gsm/%{name}-%{version}.tar.gz
Patch0: %{name}-makefile.patch
Patch1: %{name}-warnings.patch
BuildRequires: gcc
BuildRequires: make
%global srcver %{ver_major}.%{ver_minor}-pl%{ver_patch}
@ -67,7 +68,7 @@ export LDFLAGS="%{?__global_ldflags}"
export LDFLAGS="%{?__global_ldflags}"
mkdir -p %{buildroot}{%{_bindir},%{_includedir}/gsm,%{_libdir},%{_mandir}/{man1,man3}}
make install \
%make_install \
INSTALL_ROOT=%{buildroot}%{_prefix} \
GSM_INSTALL_INC=%{buildroot}%{_includedir}/gsm \
GSM_INSTALL_LIB=%{buildroot}%{_libdir} \
@ -83,7 +84,7 @@ echo ".so toast.1" > %{buildroot}%{_mandir}/man1/untoast.1
# This is to ensure that the patch creates the proper library version.
[ -f %{buildroot}%{_libdir}/libgsm.so.%{version} ]
export LDFLAGS="%{?__global_ldflags}"
make addtst
%{__make} addtst
%ldconfig_scriptlets
@ -111,6 +112,9 @@ make addtst
%{_mandir}/man3/gsm_print.3*
%changelog
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.19-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.19-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild