From 9a9e352f941b4cf62f2711d4a502839986f08f37 Mon Sep 17 00:00:00 2001 From: Karol Lewandowski Date: Thu, 26 Sep 2013 17:37:52 +0200 Subject: [PATCH] Hardcode exact version in Source0 field This commit partially reverts cb142d0b9 ("do not hardcode versio, use %{version} with substitution instead") as substitution doesn't seem to be applied while exporting package to OBS. With previous patch applied ``icu4c-UNEXPANDEDSHELLSCRIPT-src.tgz'' is exported to OBS. RPM handles substitution macro correctly, which results in build break: [ 33s] error: File /home/abuild/rpmbuild/SOURCES/icu4c-4_8_1_1-src.tgz: No such file or directory Change-Id: I57ac9555cb61ee6130d0456601a220f63ac81efe --- packaging/icu.changes | 3 +++ packaging/icu.spec | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packaging/icu.changes b/packaging/icu.changes index 8de20a7..45c75c7 100644 --- a/packaging/icu.changes +++ b/packaging/icu.changes @@ -1,3 +1,6 @@ +* Thu 26 Sep 2013 Karol Lewandowski +- hardcode package version due to OBS export not working well with version substitution macros + * Fri Sep 06 2013 Anas Nashif accepted/tizen/20130710.220328@cb142d0 - fix stray configure call - resetting manifest requested domain to floor diff --git a/packaging/icu.spec b/packaging/icu.spec index 765a483..4817eb5 100644 --- a/packaging/icu.spec +++ b/packaging/icu.spec @@ -5,8 +5,7 @@ Summary: International Components for Unicode Group: System/Libraries License: ICU URL: http://www.icu-project.org/ -%define tar_version %(echo %{version} | sed -e "s/\\./\_/g") -Source0: icu4c-%{tar_version}-src.tgz +Source0: icu4c-4_8_1_1-src.tgz Source1001: icu.manifest BuildRequires: doxygen BuildRequires: autoconf -- 2.7.4