Blame erlang-rpm-macros.spec

1a9d70
Name:		erlang-rpm-macros
54648c
Version:	0.2.9
0ca76f
Release:	3%{?dist}
1a9d70
Summary:	Macros for simplifying building of Erlang packages
1a9d70
License:	MIT
54648c
URL:		https://github.com/fedora-erlang/erlang-rpm-macros
54648c
VCS:		scm:git:https://github.com/fedora-erlang/erlang-rpm-macros.git
54648c
Source0:	https://github.com/fedora-erlang/erlang-rpm-macros/archive/%{version}/%{name}-%{version}.tar.gz
0ca76f
Patch1:		erlang-rpm-macros-0001-Don-t-use-byte-strings.patch
1a9d70
BuildArch:	noarch
133509
# These BRs needed only for testing
133509
BuildRequires:	erlang-crypto
1625d7
BuildRequires:	erlang-erlsyslog
1625d7
BuildRequires:	erlang-erts
133509
BuildRequires:	python3-pybeam
133509
BuildRequires:	python3-pyelftools
133509
BuildRequires:	python3-rpm
7e3486
Requires:	rpm-build >= 4.11
e388c1
# Requires for BEAM parsing
40ac21
Requires:	python3-pybeam
ef9e34
# Requires for so-lib parsing
ef9e34
Requires:	python3-pyelftools
ef9e34
Requires:	python3-rpm
1a9d70
1a9d70
1a9d70
%description
1a9d70
Macros for simplifying building of Erlang packages.
1a9d70
1a9d70
1a9d70
%prep
0ca76f
%autosetup -p1
1a9d70
1a9d70
1a9d70
%build
688e66
# Nothing to build
1a9d70
1a9d70
1a9d70
%install
e388c1
install -d %{buildroot}%{_rpmconfigdir}/fileattrs
7e3486
install -d %{buildroot}%{_rpmconfigdir}/macros.d
40ac21
install -p -m 0755 erlang-find-provides.py %{buildroot}%{_rpmconfigdir}/erlang-find-provides
40ac21
install -p -m 0755 erlang-find-requires.py %{buildroot}%{_rpmconfigdir}/erlang-find-requires
e388c1
install -p -m 0644 macros.erlang %{buildroot}%{_rpmconfigdir}/macros.d/
e388c1
install -p -m 0644 erlang.attr %{buildroot}%{_rpmconfigdir}/fileattrs/
1a9d70
1a9d70
1625d7
%check
1625d7
make check
1625d7
1625d7
1a9d70
%files
e388c1
%license LICENSE
e388c1
%doc README
40ac21
%{_rpmconfigdir}/erlang-find-provides
40ac21
%{_rpmconfigdir}/erlang-find-requires
e388c1
%{_rpmconfigdir}/fileattrs/erlang.attr
e388c1
%{_rpmconfigdir}/macros.d/macros.erlang
1a9d70
1a9d70
1a9d70
%changelog
0ca76f
* Mon Jul 30 2018 Peter Lemenkov <lemenkov@gmail.com> - 0.2.9-3
0ca76f
- Fix FTBFS in Rawhide
0ca76f
Fedora Release Engineering 13d4ac
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-2
Fedora Release Engineering 13d4ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Fedora Release Engineering 13d4ac
54648c
* Tue Mar 13 2018 Peter Lemenkov <lemenkov@gmail.com> - 0.2.9-1
54648c
- Ver. 0.2.9
54648c
Fedora Release Engineering 51650b
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-3
Fedora Release Engineering 51650b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Fedora Release Engineering 51650b
Fedora Release Engineering cf2178
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-2
Fedora Release Engineering cf2178
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
Fedora Release Engineering cf2178
83b68c
* Wed Jul 19 2017 Peter Lemenkov <lemenkov@gmail.com> - 0.2.8-1
83b68c
- Ver. 0.2.8
83b68c
1625d7
* Mon May 22 2017 Peter Lemenkov <lemenkov@gmail.com> - 0.2.7-1
1625d7
- Ver. 0.2.7
1625d7
ef9e34
* Wed May 17 2017 Peter Lemenkov <lemenkov@gmail.com> - 0.2.5-1
ef9e34
- Ver. 0.2.5
ef9e34
Fedora Release Engineering 94db34
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-3
Fedora Release Engineering 94db34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
Fedora Release Engineering 94db34
Miro Hrončok dbfe7b
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.2.4-2
Miro Hrončok dbfe7b
- Rebuild for Python 3.6
Miro Hrončok dbfe7b
dee569
* Thu Sep  1 2016 Peter Lemenkov <lemenkov@gmail.com> - 0.2.4-1
dee569
- Ver. 0.2.4
ef9e34
40ac21
* Thu May 12 2016 Peter Lemenkov <lemenkov@gmail.com> - 0.2.3-1
40ac21
- Ver. 0.2.3
40ac21
- Switch to Python3
40ac21
2d6c3b
* Thu Mar 10 2016 Peter Lemenkov <lemenkov@gmail.com> - 0.2.2-1
2d6c3b
- Ver. 0.2.2
2d6c3b
2cba62
* Mon Mar  7 2016 Peter Lemenkov <lemenkov@gmail.com> - 0.2.1-2
2cba62
- Allow skippind dependency checking in rebar
2cba62
5ac1d5
* Sun Mar  6 2016 Peter Lemenkov <lemenkov@gmail.com> - 0.2.1-1
5ac1d5
- Ver. 0.2.1
5ac1d5
92ffb1
* Tue Mar  1 2016 Peter Lemenkov <lemenkov@gmail.com> - 0.2.0-2
92ffb1
- Added missing Requires
92ffb1
e388c1
* Tue Mar  1 2016 Peter Lemenkov <lemenkov@gmail.com> - 0.2.0-1
e388c1
- Ver. 0.2.0
e388c1
1d5baf
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-3
1d5baf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1d5baf
2ccd70
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-2
2ccd70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2ccd70
7e3486
* Fri Jun 13 2014 Peter Lemenkov <lemenkov@gmail.com> - 0.1.4-1
7e3486
- Ver. 0.1.4
7e3486
- Dropped support for pre-4.11 rpms (EL7 or Fedora is required)
7e3486
8dd3bf
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-7
8dd3bf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8dd3bf
688e66
* Sat Aug 31 2013 Peter Lemenkov <lemenkov@gmail.com> - 0.1.3-6
688e66
- Cleaning up spec-file
688e66
a25884
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-5
a25884
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a25884
Ralf Corsépius 008385
* Mon Mar 11 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.1.3-4
Ralf Corsépius 008385
- Remove %%config from %%{_sysconfdir}/rpm/macros.*
Ralf Corsépius 008385
  (https://fedorahosted.org/fpc/ticket/259).
Ralf Corsépius 008385
f9f327
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-3
f9f327
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f9f327
50745f
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-2
50745f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
50745f
c68fcb
* Mon May 07 2012 Peter Lemenkov <lemenkov@gmail.com> - 0.1.3-1
c68fcb
- Ver. 0.1.3
c68fcb
8bdd0e
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-4
8bdd0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
8bdd0e
0b4e14
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-3
0b4e14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0b4e14
1a9d70
* Mon Nov 15 2010 Peter Lemenkov <lemenkov@gmail.com> - 0.1.2-2
1a9d70
- Drop explicit Requires: erlang-erts
1a9d70
1a9d70
* Mon Nov 15 2010 Peter Lemenkov <lemenkov@gmail.com> - 0.1.2-1
1a9d70
- Ver. 0.1.2
1a9d70
- Added missing runtime requirements
1a9d70
1a9d70
* Wed Oct 27 2010 Peter Lemenkov <lemenkov@gmail.com> - 0.1.1-1
1a9d70
- Initial build as separate package (splitted off from erlang)