Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang
stream_data
stream_data.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File stream_data.spec of Package stream_data
%def_enable check %def_without doc %define bname stream_data Name: %bname Version: 1.0.0 Release: 1 Summary: An Elixir library for data generation and property-based testing License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/whatyouhide/%bname Source: %bname-%version.tar.xz #Patch: %bname-%version-git.patch BuildArch: noarch Provides: elixir-%bname = %version-%release Requires: elixir >= 1.11 BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: elixir >= 1.11 BuildRequires: elixir-ex_unit >= 1.11 BuildRequires: mix >= 1.3.2-7 BuildRequires: elixir-hex %description StreamData is an Elixir library for data generation and property-based testing. %prep %setup -q -n %bname-%version #patch -p1 sed -i '/^ deps:/a\ prune_code_paths: false,' mix.exs sed -i '/^ deps:/s/: /&[], #/' mix.exs %build LANG=en_US.UTF-8 ERL_COMPILER_OPTIONS='[inline,verbose]' mix compile --force --no-deps-check %{?_with_doc:mix docs} erl -noshell -eval ' {ok, [{application, %bname, L}]} = file:consult("_build/dev/lib/%bname/ebin/%bname.app"), {_, A} = lists:keyfind(applications, 1, L), file:write_file("_build/dev/lib/%bname/ebin/%bname.app", io_lib:format("{application, %bname, ~101p}.~n", [lists:keyreplace(applications, 1, L, {applications, lists:delete(ex_doc, A)})]), [raw]), init:stop().' %install install -d -m 0755 %buildroot%_otplibdir/%bname-%version/ebin install -p -m 0644 _build/dev/lib/%bname/ebin/* %buildroot%_otplibdir/%bname-%version/ebin/ install -d -m 0755 %buildroot%_docdir/%name install -m 0644 *.md %buildroot%_docdir/%name/ %if_with doc install -d -m 0755 %buildroot%_otplibdir/%bname-%version/doc/dist install -p -m 0644 doc/dist/* %buildroot%_otplibdir/%bname-%version/doc/dist/ install -p -m 0644 doc/*.html %buildroot%_otplibdir/%bname-%version/doc/ ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html %endif %if_enabled check %check LANG=en_US.UTF-8 ERL_COMPILER_OPTIONS='[inline,verbose]' mix test --no-deps-check %endif %files %defattr(-,root,root) %doc %_docdir/%name %_otplibdir/* %changelog * Fri May 10 2024 Led <ledest@gmail.com> 1.0.0-1 - 1.0.0 * Fri May 10 2024 Led <ledest@gmail.com> 0.6.0-3 - fix Requires and BuildRequires * Fri May 10 2024 Led <ledest@gmail.com> 0.6.0-2 - fix build on Elixir >= 1.7 * Thu May 09 2024 Led <ledest@gmail.com> 0.6.0-1 - 0.6.0 * Sat Sep 02 2021 Led <ledest@gmail.com> 0.5.0-2 - clean up empty dirs * Wed Jul 21 2021 Led <ledest@gmail.com> 0.5.0-1 - 0.5.0 * Tue Sep 10 2019 Led <ledest@gmail.com> 0.4.3-2 - fix stream_data.app * Sat Sep 07 2019 Led <ledest@gmail.com> 0.4.3-1 - 0.4.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor