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


Name:       erlang-%{srcname}
Version:    1.0.6
Release:    2%{?dist}

License:    ASL 2.0
Summary:    Erlang utility modules from ProcessOne
URL:        https://github.com/processone/p1_utils/
Source0:    https://github.com/processone/p1_utils/archive/%{version}.tar.gz

BuildRequires: erlang-rebar


%description
p1_utils is an application containing ProcessOne modules and tools that are
leveraged in other development projects.


%prep
%autosetup -n %{srcname}-%{version}
# This file was 755 upstream, which causes an rpmlint warning. This pull request has
# been created to fix the issue upstream:
# https://github.com/processone/p1_utils/pull/4
chmod 0644 doc/style.css


%build
%{rebar_compile}
%{rebar_doc}


%check
%{rebar_eunit}


%install
%{erlang_install}


%files
%license LICENSE.txt
%doc CHANGELOG.md
%doc doc
%doc README.md
%{erlang_appdir}


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

* Fri Dec 30 2016 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.0.6-1
- Update to 1.0.6 (#1394996).

* Tue Jul 05 2016 Jeremy Cline <jeremy@jcline.org> 1.0.5-1
- Update to 1.0.5 (#1352508)

* Mon Apr 11 2016 Randy Barlow <rbarlow@redhat.com> - 1.0.4-1
- Update to 1.0.4.
- Use the new Erlang macros.

* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Sat Jan 09 2016 Randy Barlow <rbarlow@redhat.com> - 1.0.3-2
- Use the erllibdir macro.

* Wed Jan 06 2016 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1.0.3-1
- Update to 1.0.3 (#1295977)

* Tue Jan 05 2016 Randy Barlow <rbarlow@redhat.com> - 1.0.2-4
- Enable the eunit test suite.
- Drop builddep on Erlang, since it is pulled in by others.

* Tue Jan 05 2016 Randy Barlow <rbarlow@redhat.com> - 1.0.2-3
- Remove BuildArch noarch, as it causes the package to be installed into the wrong location.

* Sun Jan 03 2016 Randy Barlow <rbarlow@redhat.com> - 1.0.2-2
- Remove an unnecessary install -d.
- Add a comment tracking a pull request for the css permissions issue.
- Use the srcname variable in the autosetup macro.

* Tue Dec 29 2015 Randy Barlow <rbarlow@redhat.com> - 1.0.2-1
- Initial release.