Blob Blame History Raw
%global srcname p1_mysql
# Erlang packages do not provide debug subpackages
%global debug_package %{nil}


Name:       erlang-%{srcname}
Version:    1.0.5
Release:    1%{?dist}

Summary:    Pure Erlang MySQL driver
License:    BSD
URL:        https://github.com/processone/p1_mysql/
Source0:    https://github.com/processone/p1_mysql/archive/%{version}/%{srcname}-%{version}.tar.gz

BuildRequires: erlang-eunit
BuildRequires: erlang-rebar
BuildRequires: erlang-rpm-macros

Requires: erlang-erts


%description
This is an Erlang MySQL driver, used by ejabberd.


%prep
%autosetup -n p1_mysql-%{version}


%build
%{rebar_compile}


%check
%{rebar_eunit}


%install
%{erlang_install}


%files
%license COPYING
%doc README.md
%{_erllibdir}/%{srcname}-%{version}


%changelog
* Tue Mar 27 2018 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.0.5-1
- Update to 1.0.5 (#1496442).
- https://github.com/processone/p1_mysql/blob/1.0.5/CHANGELOG.md

* Mon Jul 31 2017 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.0.3-1
- Update to 1.0.3 (#1459719).

* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Sat Dec 31 2016 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.0.2-1
- Update to 1.0.2 (#1398618).

* Wed Feb 24 2016 Randy Barlow <rbarlow@redhat.com> - 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 <rbarlow@redhat.com> - 1.0.0-1
- Release version 1.0.0.
- Update to the new upstream URL and Source0.

* Thu Dec 31 2015 Randy Barlow <rbarlow@redhat.com> - 0-1.20150929gitdfa87da9
- Initial release.