From e388c1dd4ee84ad6484f12b57560dde81a0413c1 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Mar 01 2016 14:17:30 +0000 Subject: Ver. 0.2.0 Signed-off-by: Peter Lemenkov --- diff --git a/.gitignore b/.gitignore index a466144..d1f7ba2 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /lemenkov-erlang-rpm-macros-0.1.3-0-g3e3d3a8.tar.gz /erlang-rpm-macros-0.1.3.tar.gz /erlang-rpm-macros-0.1.4.tar.gz +/erlang-rpm-macros-0.2.0.tar.gz diff --git a/erlang-rpm-macros.spec b/erlang-rpm-macros.spec index f5f4c1b..bbb3eda 100644 --- a/erlang-rpm-macros.spec +++ b/erlang-rpm-macros.spec @@ -1,6 +1,6 @@ Name: erlang-rpm-macros -Version: 0.1.4 -Release: 3%{?dist} +Version: 0.2.0 +Release: 1%{?dist} Summary: Macros for simplifying building of Erlang packages Group: Development/Libraries License: MIT @@ -9,6 +9,8 @@ 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 Requires: rpm-build >= 4.11 +# Requires for BEAM parsing +Requires: python2-pybeam %description @@ -24,25 +26,34 @@ 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.sh %{buildroot}%{_rpmconfigdir}/ +install -p -m 0755 erlang-find-provides.py %{buildroot}%{_rpmconfigdir}/ install -p -m 0755 erlang-find-requires.escript %{buildroot}%{_rpmconfigdir}/ -install -p -m 0755 erlang-find-requires.sh %{buildroot}%{_rpmconfigdir}/ -install -p -m 0644 macros.erlang %{buildroot}%{_rpmconfigdir}/macros.d +install -p -m 0755 erlang-find-requires.py %{buildroot}%{_rpmconfigdir}/ +install -p -m 0644 macros.erlang %{buildroot}%{_rpmconfigdir}/macros.d/ +install -p -m 0644 erlang.attr %{buildroot}%{_rpmconfigdir}/fileattrs/ %files -%doc README LICENSE -%{_rpmconfigdir}/macros.d/macros.erlang +%license LICENSE +%doc README %{_rpmconfigdir}/erlang-find-provides.escript -%{_rpmconfigdir}/erlang-find-provides.sh +%{_rpmconfigdir}/erlang-find-provides.py %{_rpmconfigdir}/erlang-find-requires.escript -%{_rpmconfigdir}/erlang-find-requires.sh +%{_rpmconfigdir}/erlang-find-requires.py +%{_rpmconfigdir}/fileattrs/erlang.attr +%{_rpmconfigdir}/macros.d/macros.erlang +%exclude %{_rpmconfigdir}/*.pyc +%exclude %{_rpmconfigdir}/*.pyo %changelog +* Tue Mar 1 2016 Peter Lemenkov - 0.2.0-1 +- Ver. 0.2.0 + * Wed Feb 03 2016 Fedora Release Engineering - 0.1.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index c4eeeb9..283b87f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f69a0df2c70b35863dcbf98edf34d197 erlang-rpm-macros-0.1.4.tar.gz +83f59fe930411c8a807efd7cf2be8740 erlang-rpm-macros-0.2.0.tar.gz