[plowshare] update to 1.0.6

Elder Marco eldermarco at fedoraproject.org
Sat Nov 8 22:30:02 UTC 2014


commit 86bd61697e3eded48d41e9f66a4effa8384a7d33
Author: Elder Marco <eldermarco at gmail.com>
Date:   Sat Nov 8 20:29:41 2014 -0200

    update to 1.0.6

 .gitignore     |    1 +
 plowshare.spec |   13 +++++++------
 sources        |    2 +-
 3 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 27598cf..c311b5a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,3 +39,4 @@
 /plowshare4-snapshot-git20140112.7ad41c8.tar.gz
 /v1.0.1.zip
 /v1.0.4.tar.gz
+/v1.0.6.tar.gz
diff --git a/plowshare.spec b/plowshare.spec
index b57337f..19d7df1 100644
--- a/plowshare.spec
+++ b/plowshare.spec
@@ -1,8 +1,5 @@
-%global commit 282efaf334c8ce25be0e2bedfba08458df7b292e
-%global shortcommit %(c=%{commit}; echo ${c:0:12})
-
 Name:           plowshare
-Version:        1.0.4
+Version:        1.0.6
 Release:        1%{?dist}
 Summary:        Download and upload files from file-sharing websites
 Summary(pt_BR): Baixe e carregue arquivos em sites de compartilhamento
@@ -10,7 +7,6 @@ Summary(ru):    терминальный аплоадер/доунлоадер 
 Group:          Applications/Internet
 License:        GPLv3+
 URL:            http://plowshare.googlecode.com
-# 
 Source0:        https://plowshare.googlecode.com/archive/v%{version}.tar.gz
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -45,7 +41,7 @@ plowshare это терминальный аплоадер/доунлоадер
 ZShare, Badongo, DepositFiles и Mediafire. Смотрите README для подробностей.
 
 %prep
-%setup -q -n %{name}-%{shortcommit}
+%setup -q -n %{name}-v%{version}
 chmod +x scripts/version
 
 %build
@@ -53,6 +49,7 @@ chmod +x scripts/version
 
 %install
 rm -rf %{buildroot}
+export PLOWSHARE_FORCE_VERSION=%{version}
 make PREFIX=%{_prefix} DESTDIR=%{buildroot} install
 
 # We remove at destination, so we still have install
@@ -73,6 +70,10 @@ rm -rf %{buildroot}
 %{_mandir}/man5/%{name}.conf.5.*
 
 %changelog
+* Sat Nov 08 2014 Elder Marco <eldermarco at fedoraproject.org> - 1.0.6-1
+- Update to new upstream version, 1.0.6
+- Force version with environment variable PLOWSHARE_FORCE_VERSION
+
 * Sun Jul 27 2014 Elder Marco <eldermarco at fedoraproject.org> - 1.0.4-1
 - Update to new upstream version
 
diff --git a/sources b/sources
index 2a0e3a6..87049b2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-005bd0bfc3a97805c5c88c9ba30a62b2  v1.0.4.tar.gz
+1c798891a1a78e914e55d68237bd9ec5  v1.0.6.tar.gz


More information about the scm-commits mailing list