Do not specify versions twice, leading to less things to overlook

This commit is contained in:
Pratham Patel 2023-10-20 15:19:10 +05:30
parent 3578d65609
commit aed83300d0
No known key found for this signature in database

View File

@ -1,12 +1,16 @@
%define major_ver 3
%define minor_ver 6
%define patch_ver 1
Name: linphone
Version: 3.6.1
Release: 53%{?dist}
Version: %{major_ver}.%{minor_ver}.%{patch_ver}
Release: 54%{?dist}
Summary: Phone anywhere in the whole world by using the Internet
License: GPLv2+
URL: http://www.linphone.org/
Source0: http://download.savannah.gnu.org/releases/linphone/3.6.x/sources/%{name}-%{version}.tar.gz
Source0: http://download.savannah.gnu.org/releases/linphone/%{major_ver}.%{minor_ver}.x/sources/%{name}-%{version}.tar.gz
Patch0: linphone-3.6.1-rootca.patch
Patch1: linphone-3.6.1-arm.patch
Patch2: linphone-3.6.1-theora-fix.patch
@ -225,6 +229,9 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/mediastreamer*/html doc/mediastreamer
%{_libdir}/pkgconfig/mediastreamer.pc
%changelog
* Fri Oct 20 2023 Pratham Patel <thefirst1322@gmail.com> - 3.6.1-54
- Do not specify versions twice, leading to less things to overlook
* Fri Oct 20 2023 Pratham Patel <thefirst1322@gmail.com> - 3.6.1-53
- Fix incorrect URL in Source0