Skip to content

Commit

Permalink
Updated to use docker builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason McIntosh authored and Jason McIntosh committed Apr 17, 2019
1 parent ea71613 commit b8c9317
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 5 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,5 @@ See [GitHub releases](https://github.com/jasonmcintosh/esl-erlang-compat/release
## Building new RPMs
Command (with the right tools installed) to build:
```
cd rpmbuilds
rpmbuild -ba SPECS/esl-erlang-compat.spec
mv ~/rpmbuilds/RPMS/noarch/esl-erlang-compat-19.3.6-1.noarch.rpm ./RPMS/noarch
docker run -e "VERSION=1.2.3" -v $(pwd):/srv -v $(pwd):/home/builder rpmbuild/centos7
```
2 changes: 2 additions & 0 deletions pkg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cd ~/
rpmbuild -ba rpmbuild/SPECS/esl-erlang-compat.spec
Binary file modified rpmbuild/RPMS/noarch/esl-erlang-compat-20.2.2-1.noarch.rpm
Binary file not shown.
Binary file not shown.
Binary file not shown.
7 changes: 5 additions & 2 deletions rpmbuild/SPECS/esl-erlang-compat.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Name: esl-erlang-compat
Version: 20.2.2
Version: %{getenv:VERSION}
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
BuildArch: noarch
Requires: esl-erlang >= 20.2.2
Requires: esl-erlang >= %{getenv:VERSION}
Provides: erlang
BuildRoot: %{_tmppath}/%{name}-root

Expand All @@ -21,6 +21,9 @@ A shim (compatibility) package to allow esl-erlang to provide an erlang package
%files

%changelog
* Tue Feb 20 2018 Jason McIntosh <mcintoshj@gmail.com>
- Updated to use environment variables for version and docker builder

* Tue Feb 20 2018 Michael Klishin <michael@clojurewerkz.org>
- Updated to use 20.2.2 as minimum version

Expand Down
Binary file added rpmbuild/SRPMS/esl-erlang-compat-20.2.2-1.src.rpm
Binary file not shown.
Binary file not shown.
Binary file added rpmbuild/SRPMS/esl-erlang-compat-21.2.6-1.src.rpm
Binary file not shown.

0 comments on commit b8c9317

Please sign in to comment.