From aed83300d0cc2c8f7f8c3bb338418d757f8292e1 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Fri, 20 Oct 2023 15:19:10 +0530 Subject: [PATCH] Do not specify versions twice, leading to less things to overlook --- linphone.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/linphone.spec b/linphone.spec index 6d1f180..12ca709 100644 --- a/linphone.spec +++ b/linphone.spec @@ -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 - 3.6.1-54 +- Do not specify versions twice, leading to less things to overlook + * Fri Oct 20 2023 Pratham Patel - 3.6.1-53 - Fix incorrect URL in Source0