package init
This commit is contained in:
parent
7000294bc9
commit
6c1eefd777
BIN
erlang-rpm-macros-0.3.1.tar.gz
Normal file
BIN
erlang-rpm-macros-0.3.1.tar.gz
Normal file
Binary file not shown.
42
erlang-rpm-macros.spec
Normal file
42
erlang-rpm-macros.spec
Normal file
@ -0,0 +1,42 @@
|
||||
Name: erlang-rpm-macros
|
||||
Version: 0.3.1
|
||||
Release: 1
|
||||
Summary: Macros for simplifying building of Erlang packages
|
||||
License: MIT
|
||||
URL: https://github.com/fedora-erlang/erlang-rpm-macros
|
||||
VCS: scm:git:https://github.com/fedora-erlang/erlang-rpm-macros.git
|
||||
Source0: https://github.com/fedora-erlang/erlang-rpm-macros/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: erlang-crypto erlang-erlsyslog erlang-erts python3-pybeam
|
||||
BuildRequires: python3-pyelftools python3-rpm
|
||||
Requires: rpm-build >= 4.11 python3-pybeam python3-pyelftools python3-rpm
|
||||
%description
|
||||
Macros for simplifying building of Erlang packages.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
install -d %{buildroot}%{_rpmconfigdir}/fileattrs
|
||||
install -d %{buildroot}%{_rpmconfigdir}/macros.d
|
||||
install -p -m 0755 erlang-find-provides.py %{buildroot}%{_rpmconfigdir}/erlang-find-provides
|
||||
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
|
||||
%{_rpmconfigdir}/erlang-find-requires
|
||||
%{_rpmconfigdir}/fileattrs/erlang.attr
|
||||
%{_rpmconfigdir}/macros.d/macros.erlang
|
||||
|
||||
%changelog
|
||||
* Sat Sep 19 2020 huanghaitao <huanghaitao8@huawei.com> - 0.3.1-1
|
||||
- package init
|
||||
4
erlang-rpm-macros.yaml
Normal file
4
erlang-rpm-macros.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: fedora-erlang/erlang-rpm-macros
|
||||
tag_prefix: ""
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user