summaryrefslogtreecommitdiffstats
path: root/php-PHPMailer.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-06-25 09:47:35 +0200
committerRemi Collet <fedora@famillecollet.com>2016-06-25 09:47:35 +0200
commit9b872d7b3447b0f927eb4a52c7f0b7c11a0a7c5b (patch)
tree82688b43eabe33c1d036aac23b90ac259d948472 /php-PHPMailer.spec
parent649d91865c3b305be644de522bc51b751d51e0e0 (diff)
php-PHPMailer: better sources
Diffstat (limited to 'php-PHPMailer.spec')
-rw-r--r--php-PHPMailer.spec9
1 files changed, 5 insertions, 4 deletions
diff --git a/php-PHPMailer.spec b/php-PHPMailer.spec
index a7e2e2a..21d321a 100644
--- a/php-PHPMailer.spec
+++ b/php-PHPMailer.spec
@@ -7,9 +7,10 @@
#
# Please preserve changelog entries
#
-%global github_user PHPMailer
-%global github_app PHPMailer
-%global github_tag 1d85f9ef3ecfc42bbc4f3c70d5e37ca9a65f629a
+%global github_user PHPMailer
+%global github_app PHPMailer
+%global github_tag 1d85f9ef3ecfc42bbc4f3c70d5e37ca9a65f629a
+%global github_short %(c=%{github_tag}; echo ${c:0:7})
%global arch_name %{github_app}-%{github_tag}
@@ -21,7 +22,7 @@ License: LGPLv2+
Group: System Environment/Libraries
URL: http://phpmailer.worxware.com/
-Source0: https://github.com/%{github_user}/%{github_app}/archive/%{github_tag}/%{github_app}-%{version}.tar.gz
+Source0: https://github.com/%{github_user}/%{github_app}/archive/%{github_tag}/%{github_app}-%{version}-%{github_short}.tar.gz
# Fix language default path
# Don't rely on autoloader (for app which overides __construct)