From 806ba896b33630c0c12757e3dbab388821071238 Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Feb 25 2016 04:11:27 +0000 Subject: Update to 1.0.1. --- diff --git a/.gitignore b/.gitignore index 3252853..2d6d010 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /dfa87da95f8fdb92e270741c2a53f796b682f918.tar.gz /1.0.0.tar.gz +/1.0.1.tar.gz diff --git a/erlang-p1_mysql.spec b/erlang-p1_mysql.spec index 11a7cbc..bdb6c6a 100644 --- a/erlang-p1_mysql.spec +++ b/erlang-p1_mysql.spec @@ -4,7 +4,7 @@ Name: erlang-%{srcname} -Version: 1.0.0 +Version: 1.0.1 Release: 1%{?dist} Summary: Pure Erlang MySQL driver @@ -12,6 +12,7 @@ License: BSD URL: https://github.com/processone/p1_mysql/ Source0: https://github.com/processone/p1_mysql/archive/%{version}.tar.gz +BuildRequires: erlang-eunit BuildRequires: erlang-rebar BuildRequires: erlang-rpm-macros @@ -30,6 +31,10 @@ This is an Erlang MySQL driver, used by ejabberd. %rebar_compile +%check +%__rebar eunit + + %install install -d $RPM_BUILD_ROOT%{_erllibdir}/%{srcname}-%{version}/ebin install -d $RPM_BUILD_ROOT%{_erllibdir}/%{srcname}-%{version}/include @@ -40,10 +45,16 @@ install -pm644 include/* $RPM_BUILD_ROOT%{_erllibdir}/%{srcname}-%{version}/incl %files %license COPYING +%doc README.md %{_erllibdir}/%{srcname}-%{version} %changelog +* Wed Feb 24 2016 Randy Barlow - 1.0.1-1 +- Update to 1.0.1. +- Add new upstream readme as a doc. +- Add an invocation to eunit as per the readme, despite there not yet being tests. + * Tue Feb 16 2016 Randy Barlow - 1.0.0-1 - Release version 1.0.0. - Update to the new upstream URL and Source0. diff --git a/sources b/sources index 7539733..56b41ce 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d5b2a3b8139e3eac4f53c59e203ab0dd 1.0.0.tar.gz +b61190b63ebe57226038ffa8e5c787b0 1.0.1.tar.gz