[rubygem-coffee-script-source] Update to coffee-script-source 1.6.3. Un-bundle coffee-script.js.

Vít Ondruch vondruch at fedoraproject.org
Wed Jun 25 13:46:49 UTC 2014


commit 35830c1ade0d803ccc78bb803f8a6291fc9728ec
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Wed Jun 25 15:44:56 2014 +0200

    Update to coffee-script-source 1.6.3.
    Un-bundle coffee-script.js.

 .gitignore                        |    1 +
 rubygem-coffee-script-source.spec |   25 ++++++++++++++++++++-----
 sources                           |    2 +-
 3 files changed, 22 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 927645a..dec4dc7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /coffee-script-source-1.3.3.gem
 /coffee-script-source-1.6.1.gem
+/coffee-script-source-1.6.3.gem
diff --git a/rubygem-coffee-script-source.spec b/rubygem-coffee-script-source.spec
index 1277a22..a4fc910 100644
--- a/rubygem-coffee-script-source.spec
+++ b/rubygem-coffee-script-source.spec
@@ -1,22 +1,24 @@
 # Generated from coffee-script-source-1.2.0.gem by gem2rpm -*- rpm-spec -*-
 %global gem_name coffee-script-source
 
+%global coffee_script_version 1.6.3
+%global coffee_script_require coffee-script-common = %{coffee_script_version}
+
 
 Summary:        The CoffeeScript Compiler
 Name:           rubygem-%{gem_name}
-Version:        1.6.1
-Release:        3%{?dist}
+Version:        %{coffee_script_version}
+Release:        1%{?dist}
 Group:          Development/Languages
 License:        MIT
 URL:            http://jashkenas.github.com/coffee-script/
 Source0:        http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires:       ruby(release)
-Requires:       ruby(rubygems)
+Requires:       %{coffee_script_require}
 BuildRequires:  ruby(release)
 BuildRequires:  rubygems-devel
 BuildRequires:  ruby
+BuildRequires:  %{coffee_script_require}
 BuildArch:      noarch
-Provides:       rubygem(%{gem_name}) = %{version}
 
 %description
 CoffeeScript is a little language that compiles into JavaScript.
@@ -47,6 +49,15 @@ mkdir -p %{buildroot}%{gem_dir}
 cp -a .%{gem_dir}/* \
         %{buildroot}%{gem_dir}/
 
+# Un-bundle coffee-script.js.
+ln -sf %{_datadir}/coffee-script/extras/coffee-script.js \
+  %{buildroot}%{gem_libdir}/coffee_script/coffee-script.js
+
+
+%check
+# No test suite included. Some tests are included in rubygem-coffee-script,
+# which is the only consumer of this package.
+
 
 %files
 %dir %{gem_instdir}
@@ -59,6 +70,10 @@ cp -a .%{gem_dir}/* \
 
 
 %changelog
+* Mon Jun 23 2014 Vít Ondruch <vondruch at redhat.com> - 1.6.3-1
+- Update to coffee-script-source 1.6.3.
+- Un-bundle coffee-script.js.
+
 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.6.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index 0456431..7570f81 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a475588ead16e48130638f80a91e373f  coffee-script-source-1.6.1.gem
+ab2ee0cb693a3f701427aa87d46971d9  coffee-script-source-1.6.3.gem


More information about the scm-commits mailing list