LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File ct_helper.spec of Package ct_helper (Project home:Ledest:erlang:19)

%define bname ct_helper
Name: %bname
Version: 0.1.0
Release: 6
Summary: Helper modules for Erlang/OTP common_test suites
License: BSD-3-Clause
Group: Development/Tools/Other
URL: https://github.com/extend/%bname
Source: %bname.tar.xz
BuildArch: noarch
Provides: erlang-%bname = %version-%release

BuildRequires: rpm-macros-erlang rpm-build-erlang
BuildRequires: erlang erlang.mk erlang-public_key-devel

This library includes a function that will generate files tailored for testing
web servers. The following snippet will create a directory containing all the
files and subsequently delete it all.

%setup -q -n %bname
ln -sf %_datadir/erlang.mk/erlang.mk ./

make %{?_smp_mflags} V=1 ERLC_OPTS="-Werror +inline +slim +warn_export_vars +warn_shadow_vars +warn_obsolete_guard +warn_export_all"

install -d -m 0755 %buildroot%_otplibdir/%bname-%version/ebin
install -p -m 0644 ebin/* %buildroot%_otplibdir/%bname-%version/ebin/

%doc README*

* Sun Jun 26 2016 Led <ledest@gmail.com> 0.1.0-6
- git ec8dcb3
- use system erlang.mk

* Sun Oct 11 2015 Led <ledest@gmail.com> 0.1.0-5
- git 33121af

* Thu May 07 2015 Led <ledest@gmail.com> 0.1.0-4
- git 8a8aacd

* Thu May 07 2015 Led <ledest@gmail.com> 0.1.0-3
- git 51357ab

* Sun Apr 12 2015 Led <ledest@gmail.com> 0.1.0-2
- clean up BuildRequires

* Wed Apr 01 2015 Led <ledest@gmail.com> 0.1.0-1
- initial build