From: Anas Nashif Date: Fri, 22 Mar 2013 21:16:17 +0000 (-0700) Subject: Do not parse changes file X-Git-Tag: accepted/tizen/base/20151223.052249~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f20995f3f3e84fb2b4eb6416cc44d384afa59da;p=platform%2Fupstream%2Felfutils.git Do not parse changes file --- diff --git a/packaging/elfutils.changes b/packaging/elfutils.changes index e735c6f..e3c8402 100644 --- a/packaging/elfutils.changes +++ b/packaging/elfutils.changes @@ -1,7 +1,5 @@ +* Fri Mar 22 2013 Anas Nashif submit/trunk/20130322.175838@d05566b +- Do not parse changes file + * Fri Mar 22 2013 Anas Nashif upstream/0.153@d038d48 - Fixed package groups - -------------------------------------------------------------------- -Tue Sep 4 13:05:25 UTC 2012 - anas.nashif@intel.com - -- Updated diff --git a/packaging/elfutils.spec b/packaging/elfutils.spec index 2651a23..9ef6353 100644 --- a/packaging/elfutils.spec +++ b/packaging/elfutils.spec @@ -117,10 +117,10 @@ to develop applications that require these. %setup -q -n elfutils-%{version} %build -modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" -DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" -TIME="\"$(date -d "${modified}" "+%%R")\"" -find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} + +#modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" +#DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" +#TIME="\"$(date -d "${modified}" "+%%R")\"" +#find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} + autoreconf -fi %configure --program-prefix=eu- make %{?_smp_mflags}