Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > by-pkgid > 9eeaaa23e61f9e81df65492b3748e68c > files > 4

erlang-rpm-macros-0.2.9-5.mga7.src.rpm

Name:		erlang-rpm-macros
Version:	0.2.9
Release:	%mkrel 5
Summary:	Macros for simplifying building of Erlang packages
Group:		Development/Erlang
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
# Fedora patches
Patch0:		erlang-rpm-macros-0001-Don-t-use-byte-strings.patch
# Mageia patches
Patch50:	erlang-rpm-macros-0.2.9-mageiafy.patch
BuildArch:	noarch
Requires:	rpm-build >= 4.11
# Requires for BEAM parsing
Requires:	python3-pybeam
# Requires for so-lib parsing
Requires:	python3-pyelftools
Requires:	python3-rpm


%description
Macros for simplifying building of Erlang packages.


%prep
%setup -q
%autopatch -p1

%build
# Nothing to 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/


%files
%license LICENSE
%doc README
%{_rpmconfigdir}/erlang-find-provides
%{_rpmconfigdir}/erlang-find-requires
%{_rpmconfigdir}/fileattrs/erlang.attr
%{_rpmconfigdir}/macros.d/macros.erlang


%changelog
* Thu Sep 20 2018 wally <wally> 0.2.9-5.mga7
  (not released yet)
+ Revision: 1287501
- fix typo in mageiafy patch

* Wed Sep 19 2018 wally <wally> 0.2.9-4.mga7
+ Revision: 1277568
- add patch from Fedora to fix erlang-find-requires fault (rhbz#1609593)

* Wed Sep 19 2018 wally <wally> 0.2.9-3.mga7
+ Revision: 1276309
- fix RPM group
- add patch to mageiafy LDFLAGS (we don't have %%__global_ldflags)
+ umeabot <umeabot>
- Mageia 7 Mass Rebuild
+ pterjan <pterjan>
- Sync with fedora (update to 0.2.9)

* Thu Nov 17 2016 neoclust <neoclust> 0.2.4-1.mga6
+ Revision: 1067914
- New version 0.2.4
- New version 0.2.3

* Fri Apr 22 2016 neoclust <neoclust> 0.2.2-1.mga6
+ Revision: 1004792
- imported package erlang-rpm-macros