[nesc] Updated to 1.3.3

Shakthi Kannan shakthimaan at fedoraproject.org
Fri Dec 30 06:50:58 UTC 2011


commit b3dea5ab83110eedb56ff058b7d6ec4defd7166b
Author: Shakthi Kannan <skannan at redhat.com>
Date:   Fri Dec 30 12:16:03 2011 +0530

    Updated to 1.3.3

 .gitignore |    1 +
 nesc.spec  |   23 +++++++++++++++++------
 sources    |    2 +-
 3 files changed, 19 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 542b523..d564060 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 nesc-1.3.2.tar.gz
+/nesc-1.3.3.tar.gz
diff --git a/nesc.spec b/nesc.spec
index 010e3c5..9a5f81b 100644
--- a/nesc.spec
+++ b/nesc.spec
@@ -2,8 +2,8 @@
 %global pkgname nesC
 
 Name:           nesc
-Version:        1.3.2
-Release:        4%{?dist}
+Version:        1.3.3
+Release:        1%{?dist}
 Summary:        Compiler used by TinyOS
 
 Group:          Applications/Engineering
@@ -18,6 +18,10 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  java-devel
 BuildRequires:  jpackage-utils
 
+%if 0%{?rhel} >= 6
+BuildRequires:  puppet
+%endif
+
 Requires:       java 
 Requires:       jpackage-utils
 Requires:       perl
@@ -61,8 +65,8 @@ package to use %{pkgname} with GNU Emacs.
 
 %if 0%{?fedora}
 %patch0 -p1 -b .emacs
-%patch1 -p1 -b .fix
 %endif
+%patch1 -p1 -b .fix
 
 %build
 %configure CFLAGS="%{optflags}"
@@ -76,21 +80,24 @@ package to use %{pkgname} with GNU Emacs.
 %{__rm} -rf %{buildroot}
 %{__make} install DESTDIR=%{buildroot}
 
+%{__mkdir} -p %{buildroot}/%{_datadir}/vim/vimfiles/ftdetect
+%{__mkdir} -p %{buildroot}/%{_datadir}/vim/vimfiles/syntax
+
 %if 0%{?fedora}
 %{__mkdir} -p %{buildroot}/%{_emacs_sitelispdir}/%{pkg}
 %{__mkdir} -p %{buildroot}/%{_emacs_sitestartdir}
-%{__mkdir} -p %{buildroot}/%{_datadir}/vim/vimfiles/ftdetect
-%{__mkdir} -p %{buildroot}/%{_datadir}/vim/vimfiles/syntax
 
 %{__install} -pm 644 tools/editor-modes/emacs/*.elc %{buildroot}/%{_emacs_sitelispdir}/%{pkg} 
 %{__install} -pm 644 tools/editor-modes/emacs/*.el  %{buildroot}/%{_emacs_sitelispdir}/%{pkg}
 %{__install} -pm 644 %{SOURCE1} %{buildroot}/%{_emacs_sitestartdir}
 
+%endif
+
+
 # properly install vim syntax file
 %{__install} -pm 644 tools/editor-modes/vim/filetype.vim %{buildroot}/%{_datadir}/vim/vimfiles/ftdetect/nesc.vim
 %{__install} -pm 644 tools/editor-modes/vim/nesc.vim %{buildroot}/%{_datadir}/vim/vimfiles/syntax/nesc.vim
 
-%endif
 
 %{__rm} -rf %{buildroot}/%{_datadir}/ncc/editor-modes/emacs
 %{__rm} -rf %{buildroot}/%{_datadir}/ncc/editor-modes/gedit
@@ -124,6 +131,10 @@ package to use %{pkgname} with GNU Emacs.
 %endif
 
 %changelog
+* Fri Dec 30 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject DOT org> - 1.3.3-1
+- Updated to 1.3.3.
+- Provide vim files for EL6.
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.2-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index cd2aba9..c7f3875 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9daf68f3d7f4a188d4de9d50c8bc3188  nesc-1.3.2.tar.gz
+f48a8b316de3f75ef1074c5585681f91  nesc-1.3.3.tar.gz


More information about the scm-commits mailing list