Files
erlang-jsx/erlang-jsx.spec
Michael Vetter 0d8cd23691 Accepting request 988581 from home:matwey:branches:devel:languages:erlang
- Update to version v3.1.0:
  * set github actions os to ubuntu-18.04
  * version bump 3.1.0
  * Deal with dialyzer issues
  * remove main.yml comment from relx and add otp versions
  * remove unneeded makefile
  * swap master to main in gh actions thing
  * drop support for versions before OTP-17 and bump to 3.0.0
  * add github link to hex metadata
  * version bump to 2.11.0
  * Add `with_tail` to `decode` spec
  * Make the map term more specific
  * Fix error detected by dialyzer
  * Prevent dialyzer warning
  * Prevent dialyzer warning
  * test erlang/otp 22
  * add licenses hex metadata
  * verison bump 2.10.0
  * Support custom newline symbol(s) for format option
  * test erlang/otp 20 and 21
  * missing description for {key, binary()} added
  * Allow -spec(). to reflect what's really going on
  * Update -spec(). for proper module readibility
  * bump version to 2.9.0
  * add `control_codes` mode to strict parsing that rejects strings with ascii control codes
  * jsx_to_term:parse_config/2: Honor `return_maps` option value
  * Correct documentation of semantics of `strict` option
  * Fix typo in readme on utf8 option
  * v2.8.2
  * update versions to test against on travis

OBS-URL: https://build.opensuse.org/request/show/988581
OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/erlang-jsx?expand=0&rev=4
2022-07-13 07:07:14 +00:00

56 lines
1.6 KiB
RPMSpec

#
# spec file for package erlang-jsx
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: erlang-jsx
Version: 3.1.0
Release: 0
%define mod_ver %(echo "%{version}" | cut -d "+" -f1)
Summary: Application for consuming, producing and manipulating json
License: MIT
Group: Development/Libraries/Other
URL: https://github.com/talentdeficit/jsx
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: jsx-%{version}.tar.xz
BuildRequires: erlang-rebar
%description
Jsx is an erlang application for consuming, producing and manipulating json.
%prep
%setup -q -n jsx-%{version}
%build
%__rebar compile
%install
for dir in ebin ; do
install -d %{buildroot}%{erlang_libdir}/jsx-%{mod_ver}/${dir}
cp -r ${dir}/* %{buildroot}%{erlang_libdir}/jsx-%{mod_ver}/${dir}/
done
%check
%__rebar eunit
%files
%defattr(-,root,root)
%doc LICENSE README.md CHANGES.md
%dir %{erlang_libdir}/jsx-%{mod_ver}
%{erlang_libdir}/jsx-%{mod_ver}/ebin
%changelog