From efaf248248f2a12447a37602c3b339bfcb5a3cea Mon Sep 17 00:00:00 2001
From: Jonny Heggheim <hegjon(a)gmail.com>
Date: Sun, 31 Jan 2016 19:25:21 +0000
Subject: Updated to latest snapshot. It is more stable than the 1.3.0 release
---
.gitignore | 1 +
Java-WebSocket.spec | 17 ++++++++++++-----
sources | 2 +-
3 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/.gitignore b/.gitignore
index cf68199..fd18799 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/Java-WebSocket-1.3.0.tar.gz
+/Java-WebSocket-58d1778.tar.gz
diff --git a/Java-WebSocket.spec b/Java-WebSocket.spec
index db0d14d..62ff9a0 100644
--- a/Java-WebSocket.spec
+++ b/Java-WebSocket.spec
@@ -1,11 +1,14 @@
+%global commit0 58d17786958ec2b629b75de1eed00915b3e4f7c4
+%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
+
Name: Java-WebSocket
-Version: 1.3.0
-Release: 1%{?dist}
+Version: 1.3.1
+Release: 0.1.git%{shortcommit0}%{?dist}
Summary: A barebones WebSocket client and server implementation written in 100% Java
License: MIT
URL:
http://java-websocket.org/
-Source0:
https://github.com/TooTallNate/%{name}/archive/%{name}-%{version}.tar.gz
+Source0:
https://github.com/TooTallNate/%{name}/archive/%{commit0}.tar.gz#/%{name}...
BuildArch: noarch
BuildRequires: maven-local
@@ -23,7 +26,7 @@ Summary: Javadoc for %{name}
This package contains the API documentation for %{name}.
%prep
-%setup -q -n Java-WebSocket-Java-WebSocket-%{version}
+%setup -qn %{name}-%{commit0}
#gradle wrapper
%{__rm} -rf gradle/ gradlew*
@@ -39,7 +42,8 @@ find -name "*.java" -exec sed -i
"s/org.java_websocket.util.Base64/net.iharder.B
%pom_remove_plugin :maven-source-plugin
%build
-%mvn_build
+#Disable tests for now, missing dependency info.cukes:cucumber-junit
+%mvn_build -f
%install
%mvn_install
@@ -53,5 +57,8 @@ find -name "*.java" -exec sed -i
"s/org.java_websocket.util.Base64/net.iharder.B
%license LICENSE
%changelog
+* Sun Jan 31 2016 Jonny Heggheim <hegjon(a)gmail.com> - 1.3.1-0.1.git58d1778
+- Updated to latest snapshot. It is more stable than the 1.3.0 release
+
* Sun Jun 14 2015 Jonny Heggheim <hegjon(a)gmail.com> - 1.3.0-1
- Inital packaging
diff --git a/sources b/sources
index 8541434..96f8dad 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3879c47a84f62eefb7ef1cad43272e76 Java-WebSocket-1.3.0.tar.gz
+25a2338e8d2cc504b2d0d5a4e94ecfe5 Java-WebSocket-58d1778.tar.gz
--
cgit v0.11.2
http://pkgs.fedoraproject.org/cgit/Java-WebSocket.git/commit/?h=master&am...