Skip to content

Commit

Permalink
Updated this to be cleaner... probably still more work to do though
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason McIntosh committed Aug 5, 2015
1 parent d01a273 commit f417465
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rpmbuild/BUILD
Binary file not shown.
Binary file removed rpmbuild/SOURCES/esl-erlang-compat-R14B.tar.gz
Binary file not shown.
1 change: 0 additions & 1 deletion rpmbuild/SOURCES/esl-erlang-compat-R14B/version.txt

This file was deleted.

Binary file added rpmbuild/SOURCES/esl-erlang-compat.tar.gz
Binary file not shown.
1 change: 1 addition & 0 deletions rpmbuild/SOURCES/esl-erlang-compat/version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
R16B03
24 changes: 13 additions & 11 deletions rpmbuild/SPECS/esl-erlang-compat.spec
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
%define release R16B03
%define name esl-erlang-compat

Name: %{name}
Name: esl-erlang-compat
Version: R16B03
Release: 1%{?dist}
Release: 1
Summary: A compat file to get esl-erlang to provide erlang

URL: https://github.com/jasonmcintosh/esl-erlang-compat
License: MPLv1.1 and MIT and ASL 2.0 and BSD
Source0: %{name}-%{version}.tar.gz
Source0: $_sourcedir/esl-erlang-compat.tar.gz
BuildArch: noarch
Requires: esl-erlang >= R16B03
Provides: erlang
#BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRoot: %{_tmppath}/%{name}-root

%description
A compat file to allow esl-erlang to provide erlang dependencies. Updated to 16B03 for rabbitmq 3.6.0

%prep
%setup -q
%setup -qn esl-erlang-compat


%build

Expand All @@ -27,8 +25,12 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/esl-erlang-compat/
cp -p version.txt $RPM_BUILD_ROOT%{_sysconfdir}/esl-erlang-compat/

%files
%defattr(-,root,root,-)
/etc/esl-erlang-compat/version.txt
%defattr(-,root,root)
%{_sysconfdir}/esl-erlang-compat/version.txt

%changelog
* Wed Jul 5 2015 Jason McIntosh <mcintoshj@gmail.com>
- Updated to use R16B03 as minimum version

%clean
rm -rf $RPM_BUILD_ROOT
Binary file added rpmbuild/SRPMS/esl-erlang-compat-R16B03-1.src.rpm
Binary file not shown.

0 comments on commit f417465

Please sign in to comment.