Accepting request 974458 from home:jubalh:branches:devel:languages:erlang
- Update to version 0.5.0+git20160408.0148fb4: * Allow undefined as the default value * add new proplist_get to validate values out of a proplist * fix envy:get in host_to_ip/3 to put default in the right place * Add envy:one_of helper method * Added travis.yml * Improved envy:get's -specs * Experimental code to add parsing support to envy. * Remove debugval output, fix copyright. * Centralize type constraint declaration * envy_type_validator is a type spec, not an atom - Run spec-cleaner - Update URL OBS-URL: https://build.opensuse.org/request/show/974458 OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/erlang-envy?expand=0&rev=3
This commit is contained in:
2
_service
2
_service
@@ -1,6 +1,6 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="url">https://github.com/manderson26/envy</param>
|
||||
<param name="url">https://github.com/markan/envy</param>
|
||||
<param name="versionformat">@PARENT_TAG@+git%cd.%h</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
|
@@ -1,4 +1,6 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/manderson26/envy</param>
|
||||
<param name="changesrevision">8ba233bae37d87c319f3b4c5ae6973576986b36c</param></service></servicedata>
|
||||
<param name="changesrevision">8ba233bae37d87c319f3b4c5ae6973576986b36c</param></service><service name="tar_scm">
|
||||
<param name="url">https://github.com/markan/envy</param>
|
||||
<param name="changesrevision">dbb2a4c5e3becb212598cfe719eb73d3cf402d8e</param></service></servicedata>
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cd707164fc8f97f4d34f11a2ec0d61791e3ccee00ee12e1ac0de4c8c1aea4af3
|
||||
size 7764
|
3
envy-0.5.0+git20160408.0148fb4.tar.bz2
Normal file
3
envy-0.5.0+git20160408.0148fb4.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:50cbe72eb28e304a49c105e5c6277f5ed9a9af3d8b4adf4b9446536ca4283c68
|
||||
size 8129
|
@@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 02 16:13:32 UTC 2022 - mvetter@suse.com
|
||||
|
||||
- Update to version 0.5.0+git20160408.0148fb4:
|
||||
* Allow undefined as the default value
|
||||
* add new proplist_get to validate values out of a proplist
|
||||
* fix envy:get in host_to_ip/3 to put default in the right place
|
||||
* Add envy:one_of helper method
|
||||
* Added travis.yml
|
||||
* Improved envy:get's -specs
|
||||
* Experimental code to add parsing support to envy.
|
||||
* Remove debugval output, fix copyright.
|
||||
* Centralize type constraint declaration
|
||||
* envy_type_validator is a type spec, not an atom
|
||||
- Run spec-cleaner
|
||||
- Update URL
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 19 19:11:41 UTC 2016 - matwey.kornilov@gmail.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package erlang-envy
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@@ -12,24 +12,23 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define app_name envy
|
||||
Name: erlang-%{app_name}
|
||||
Version: 0.5.0+git20151105.8ba233b
|
||||
Release: 0
|
||||
%define app_ver %(echo "%{version}" | cut -d "+" -f1)
|
||||
Name: erlang-%{app_name}
|
||||
Version: 0.5.0+git20160408.0148fb4
|
||||
Release: 0
|
||||
Summary: An enhancement for application:get_env
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/Other
|
||||
Url: https://github.com/manderson26/envy
|
||||
URL: https://github.com/markan/envy
|
||||
Source: %{app_name}-%{version}.tar.bz2
|
||||
Requires: erlang
|
||||
BuildRequires: erlang
|
||||
BuildRequires: erlang-rebar
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: erlang
|
||||
|
||||
%description
|
||||
An enhancement for application:get_env to provide data validation and sensible error messages.
|
||||
@@ -38,7 +37,7 @@ An enhancement for application:get_env to provide data validation and sensible e
|
||||
%setup -q -n %{app_name}-%{version}
|
||||
|
||||
%build
|
||||
%rebar_set_vsn_cache %{app_ver}
|
||||
%{rebar_set_vsn_cache %{app_ver}}
|
||||
%rebar compile
|
||||
|
||||
%install
|
||||
@@ -51,8 +50,8 @@ done
|
||||
%rebar eunit
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README.md LICENSE
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%dir %{erlang_libdir}/%{app_name}-%{app_ver}
|
||||
%dir %{erlang_libdir}/%{app_name}-%{app_ver}/ebin
|
||||
%{erlang_libdir}/%{app_name}-%{app_ver}/ebin/%{app_name}.app
|
||||
|
Reference in New Issue
Block a user