mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 21:38:34 +00:00
FS-11567: [Build-System] CentOS packaging: Put version parser into spec files.
This commit is contained in:
1 parent
2fb5a3938f
commit
efd35f682e
3 files changed
+10
-8
No files matched your search
@@ -28,7 +28,8 @@
|
||||
#
|
||||
######################################################################################################################
|
||||
|
||||
%define version 1.7.0
|
||||
%define nonparsedversion 1.7.0
|
||||
%define version %(echo '%{nonparsedversion}' | sed 's/-//g')
|
||||
%define release 1
|
||||
|
||||
%define fsname freeswitch
|
||||
@@ -74,7 +75,7 @@ Summary: Rayo configuration for the FreeSWITCH Open Source telephone platform.
|
||||
Group: System/Libraries
|
||||
Packager: Chris Rienzo
|
||||
URL: http://www.freeswitch.org/
|
||||
Source0: freeswitch-%{version}.tar.bz2
|
||||
Source0: freeswitch-%{nonparsedversion}.tar.bz2
|
||||
Requires: freeswitch
|
||||
Requires: freeswitch-application-conference
|
||||
Requires: freeswitch-application-esf
|
||||
@@ -103,7 +104,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
FreeSWITCH rayo server implementation.
|
||||
|
||||
%prep
|
||||
%setup -b0 -q -n freeswitch-%{version}
|
||||
%setup -b0 -q -n freeswitch-%{nonparsedversion}
|
||||
|
||||
%build
|
||||
|
||||
|
||||
Reference in new issue
Block a user