[telegram-cli] Update to 1.0.1

Antonio Trande sagitter at fedoraproject.org
Mon Sep 1 19:31:56 UTC 2014


commit 150d69adc505c286dbb427b7c39e8384bf4f6a13
Author: sagitter <anto.trande at gmail.com>
Date:   Mon Sep 1 21:31:55 2014 +0200

    Update to 1.0.1

 .gitignore        |    1 +
 sources           |    2 +-
 telegram-cli.spec |   29 +++++++++++++++++++----------
 3 files changed, 21 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d220e95..e618b1c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /tg-1dad2e89933085ea1e3d9fb1becb1907ce5de55f.zip
+/tg-30ad29135da8714908d65e22958f619808ca2ac8.zip
diff --git a/sources b/sources
index fa984ca..4ae9976 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8b8fe8f890601da3d6162f9bfc55b77d  tg-1dad2e89933085ea1e3d9fb1becb1907ce5de55f.zip
+bfc8f28e7ac68ffe66043a5ce89a8ad6  tg-30ad29135da8714908d65e22958f619808ca2ac8.zip
diff --git a/telegram-cli.spec b/telegram-cli.spec
index d30ba44..f897fac 100644
--- a/telegram-cli.spec
+++ b/telegram-cli.spec
@@ -1,18 +1,18 @@
-%global   checkout   1dad2e89933085ea1e3d9fb1becb1907ce5de55f
-%global   date       20140321
+%global  checkout   30ad29135da8714908d65e22958f619808ca2ac8
+%global  date       20140831
 
 Name:    telegram-cli
-Version: 0
-Release: 0.7.%{date}git%(echo %{checkout} | cut -c-6)%{?dist}
+Version: 1.0.1
+Release: 1.%{date}git%(echo %{checkout} | cut -c-6)%{?dist}
 Summary: Linux Command-line interface for Telegram
-License: GPLv2+
+License: GPLv2+ and LGPLv2+
 URL:     https://github.com/vysheng/tg
 Source0: https://github.com/vysheng/tg/archive/tg-%{checkout}.zip
 
 ##Remove local include and libraries locations
 Patch0:  %{name}-compilerflags.patch
 
-BuildRequires:	lua-devel, openssl-devel, libconfig-devel, readline-devel
+BuildRequires: lua-devel, openssl-devel, libconfig-devel, readline-devel
 
 %description
 Telegram is an Open Source instant messaging platform for mobile and
@@ -25,7 +25,10 @@ This is a Linux Command-line interface for Telegram.
 
 %build
 %configure --enable-libconfig --enable-liblua
-make %{?_smp_mflags}
+
+##%{?_smp_mflags} originates fails during the code compilation
+##See https://github.com/vysheng/tg/issues/235
+make
 
 
 %install
@@ -34,17 +37,23 @@ make %{?_smp_mflags}
 mkdir -p %{buildroot}%{_bindir}
 mkdir -p %{buildroot}%{_sysconfdir}/telegram/server.pub
 
-install -p -m 0755 telegram %{buildroot}%{_bindir}
+install -p -m 0755 bin/telegram-cli %{buildroot}%{_bindir}
 install -p -m 0644 tg-server.pub %{buildroot}%{_sysconfdir}/telegram/server.pub
 
 %files
-%doc README.md LICENSE
-%{_bindir}/telegram
+%doc README.md README-LUA LICENSE
+%{_bindir}/telegram-cli
 %dir %{_sysconfdir}/telegram
 %dir %{_sysconfdir}/telegram/server.pub
 %config(noreplace) %{_sysconfdir}/telegram/server.pub/tg-server.pub
 
 %changelog
+* Mon Sep 01 2014 Antonio Trande <sagitterATfedoraproject.org> 1.0.1-1.20140831git30ad29
+- Release 1.0.1 (commit 30ad29)
+- Binary file renamed telegram-cli
+- Removed %%{?_smp_mflags} macro
+- Added license LGPLv2+
+
 * Mon Aug 18 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0-0.7.20140321git1dad2e
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list