%global realname fuse %global upstream jlouis # # This package contains only arch-independent data but installis it into # arch-dependent directory thus making this package arch-dependent. In order to # suppress empty *-debuginfo generation we have to explicitly order # debuginfo-generator to skip trying to build *-debuiginfo for that package. # %global debug_package %{nil} Name: erlang-%{realname} Version: 2.4.0 Release: 1%{?dist} Summary: A Circuit Breaker for Erlang License: MIT URL: https://github.com/%{upstream}/%{realname} %if 0%{?el7}%{?fedora} VCS: scm:git:https://github.com/%{upstream}/%{realname}.git %endif Source0: https://github.com/%{upstream}/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz Patch1: erlang-fuse-0001-Disable-support-for-Prometheus-in-Fedora.patch BuildRequires: erlang-exometer_core BuildRequires: erlang-folsom # FIXME include into fedora oneday - see patch no. 1 #BuildRequires: erlang-prometheus BuildRequires: erlang-rebar %description This application implements a so-called circuit-breaker for Erlang. %prep %autosetup -p1 -n %{realname}-%{version} %build %{erlang_compile} %install %{erlang_install} %check # Requires a proprietary eqc library #%%{erlang_test} %files %license LICENSE %doc README.md %{erlang_appdir}/ %changelog * Thu Aug 31 2017 Peter Lemenkov - 2.4.0-1 - Initial build