Fix version number to use script 35/228035/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix accepted/tizen_6.5_unified master sandbox/backup/lcov_1.14_20211221 tizen_6.0 tizen_6.0_hotfix tizen_6.5 accepted/tizen/6.0/unified/20201030.105554 accepted/tizen/6.0/unified/hotfix/20201102.234259 accepted/tizen/6.0/unified/hotfix/20201103.045741 accepted/tizen/6.5/unified/20211029.013247 accepted/tizen/unified/20200323.172947 submit/tizen/20200318.234938 submit/tizen/20200319.040042 submit/tizen/20200323.014356 submit/tizen_6.0/20201029.205502 submit/tizen_6.0_hotfix/20201102.192902 submit/tizen_6.0_hotfix/20201103.115102 submit/tizen_6.5/20211028.163501 tizen_6.0.m2_release tizen_6.5.m2_release
authorJIHUN <JIHUN87.PARK@samsung.com>
Wed, 18 Mar 2020 08:52:58 +0000 (17:52 +0900)
committerJIHUN <JIHUN87.PARK@samsung.com>
Wed, 18 Mar 2020 08:52:58 +0000 (17:52 +0900)
Change-Id: Ic7b7e4523d1fe5d89f7d46028f16fe98ffe5190a
Signed-off-by: JIHUN <JIHUN87.PARK@samsung.com>
.gitignore
.version [new file with mode: 0644]
bin/gendesc
bin/get_version.sh
packaging/lcov.spec

index 51f9520..ac604f1 100644 (file)
@@ -1,4 +1,3 @@
-.version
 *.gcda
 *.gcno
 *.info
diff --git a/.version b/.version
new file mode 100644 (file)
index 0000000..41d672d
--- /dev/null
+++ b/.version
@@ -0,0 +1,3 @@
+VERSION=1.14
+RELEASE=1.14
+FULL=1.14
index 775f8fe..97cde00 100755 (executable)
@@ -44,7 +44,7 @@ use Cwd qw/abs_path/;
 
 # Constants
 our $tool_dir          = abs_path(dirname($0));
-our $lcov_version      = "LCOV version 1.14";
+our $lcov_version      = 'LCOV version '.`$tool_dir/get_version.sh --full`;
 our $lcov_url          = "http://ltp.sourceforge.net/coverage/lcov.php";
 our $tool_name         = basename($0);
 
index b6d5de9..ac5a363 100755 (executable)
@@ -25,7 +25,7 @@ else
 fi
 
 # Fallback
-[ -z "$VERSION" ] && VERSION="1.14"
+[ -z "$VERSION" ] && VERSION="1.0"
 [ -z "$RELEASE" ] && RELEASE="1"
 [ -z "$FULL" ]    && FULL="$VERSION"
 
index ff3d26f..753cd38 100644 (file)
@@ -5,8 +5,8 @@ Release: 1
 License: GPLv2+
 Group: Development/Tools
 URL: http://ltp.sourceforge.net/coverage/lcov.php
-Source0: http://downloads.sourceforge.net/ltp/lcov-%{version}.tar.gz
-BuildRoot: var/tmp/%{name}-%{version}-root
+Source0: http://downloads.sourceforge.net/ltp/%{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildArch: noarch
 Requires: perl >= 5.8.8
 Requires: perl-PerlIO-gzip