From 9b872d7b3447b0f927eb4a52c7f0b7c11a0a7c5b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 25 Jun 2016 09:47:35 +0200 Subject: php-PHPMailer: better sources --- php-PHPMailer.spec | 9 +++++---- 1 file 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) -- cgit