diff --git a/.gitignore b/.gitignore index 2a46ef4..025bbcc 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /erlang-rpm-macros-0.2.3.tar.gz /erlang-rpm-macros-0.2.4.tar.gz /erlang-rpm-macros-0.2.5.tar.gz +/erlang-rpm-macros-0.2.7.tar.gz diff --git a/erlang-rpm-macros.spec b/erlang-rpm-macros.spec index 3199ba3..d0b4c39 100644 --- a/erlang-rpm-macros.spec +++ b/erlang-rpm-macros.spec @@ -1,5 +1,5 @@ Name: erlang-rpm-macros -Version: 0.2.5 +Version: 0.2.7 Release: 1%{?dist} Summary: Macros for simplifying building of Erlang packages Group: Development/Libraries @@ -8,6 +8,10 @@ URL: https://github.com/lemenkov/erlang-rpm-macros VCS: scm:git:https://github.com/lemenkov/erlang-rpm-macros.git Source0: https://github.com/lemenkov/erlang-rpm-macros/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch +# THese three packages needed only for testing +BuildRequires: erlang-erlsyslog +BuildRequires: erlang-erts +BuildRequires: erlang-crypto Requires: rpm-build >= 4.11 # Requires for BEAM parsing Requires: python3-pybeam @@ -31,26 +35,29 @@ Macros for simplifying building of Erlang packages. %install install -d %{buildroot}%{_rpmconfigdir}/fileattrs install -d %{buildroot}%{_rpmconfigdir}/macros.d -install -p -m 0755 erlang-find-provides.escript %{buildroot}%{_rpmconfigdir}/ install -p -m 0755 erlang-find-provides.py %{buildroot}%{_rpmconfigdir}/erlang-find-provides -install -p -m 0755 erlang-find-requires.escript %{buildroot}%{_rpmconfigdir}/ install -p -m 0755 erlang-find-requires.py %{buildroot}%{_rpmconfigdir}/erlang-find-requires install -p -m 0644 macros.erlang %{buildroot}%{_rpmconfigdir}/macros.d/ install -p -m 0644 erlang.attr %{buildroot}%{_rpmconfigdir}/fileattrs/ +%check +make check + + %files %license LICENSE %doc README -%{_rpmconfigdir}/erlang-find-provides.escript %{_rpmconfigdir}/erlang-find-provides -%{_rpmconfigdir}/erlang-find-requires.escript %{_rpmconfigdir}/erlang-find-requires %{_rpmconfigdir}/fileattrs/erlang.attr %{_rpmconfigdir}/macros.d/macros.erlang %changelog +* Mon May 22 2017 Peter Lemenkov - 0.2.7-1 +- Ver. 0.2.7 + * Wed May 17 2017 Peter Lemenkov - 0.2.5-1 - Ver. 0.2.5 diff --git a/sources b/sources index acb678d..5d27501 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (erlang-rpm-macros-0.2.5.tar.gz) = f711f2b2a1e167ec7b32e72b82cfe09d291218ca41a476903a212d1ebf195f7f5787d46b025d8eee7aa9bb31f52028fb3d05fea6dcd9eaefc8b22eb2adc2366e +SHA512 (erlang-rpm-macros-0.2.7.tar.gz) = 503a0ec217bf083c0178ebb412fd4da9c63d93cbd275c46a0fc461e646763c42da54845fbf77bfe1d122b65377bdce78bbb16e8eb8352411c1462289c6b9eaa2