From: Kévin THIERRY Date: Mon, 22 Dec 2014 14:11:43 +0000 (+0100) Subject: Bump to version 2.10 X-Git-Tag: accepted/tizen/common/20150108.112544^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e5bb8261e0f9438cbdeed4c6028622dc8419e73;p=platform%2Fupstream%2Funifdef.git Bump to version 2.10 Change-Id: I178a0fea00e1c06815988e79a2136f7289611d45 Bug-Tizen: TC-2243 Signed-off-by: Kévin THIERRY Signed-off-by: Philippe Coval --- diff --git a/packaging/unifdef.spec b/packaging/unifdef.spec index 4c14fe5..2212060 100644 --- a/packaging/unifdef.spec +++ b/packaging/unifdef.spec @@ -1,12 +1,12 @@ Name: unifdef -Version: 2.8 -Release: 1 -License: BSD +Version: 2.10 +Release: 0 +License: BSD-2-Clause Summary: Removes ifdefs from C files Url: http://dotat.at/prog/unifdef/ Group: Development/Tools Source: http://dotat.at/prog/unifdef/%{name}-%{version}.tar.gz -Source1001: unifdef.manifest +Source1001: unifdef.manifest %description Unifdef is useful for removing ifdef'ed lines from a file while otherwise @@ -14,19 +14,12 @@ leaving the file alone. Unifdef acts on #ifdef, #ifndef, #else, and #en dif lines, and it knows only enough about C to know when one of these is inactive because it is inside a comment, or a single or double quote. -%track -prog %{name} = { - url = http://dotat.at/prog/unifdef/ - version = %{version} - regex = %{name}-(__VER__)\.tar\.gz -} - %prep %setup -q cp %{SOURCE1001} . %build -make %?_smp_mflags CC=gcc CFLAGS="%{optflags}" +%__make %{?_smp_mflags} CC=gcc CFLAGS="%{optflags}" %install make install DESTDIR=%{buildroot} prefix=%{_prefix} @@ -38,5 +31,3 @@ make install DESTDIR=%{buildroot} prefix=%{_prefix} %{_bindir}/unifdefall %{_mandir}/man1/unifdef.1* %{_mandir}/man1/unifdefall.1* - -%changelog