From b8c93177e7d17401b2e8941a358c898bfe55517e Mon Sep 17 00:00:00 2001 From: Jason McIntosh Date: Wed, 17 Apr 2019 12:17:11 -0500 Subject: [PATCH] Updated to use docker builder --- README.md | 4 +--- pkg | 2 ++ .../esl-erlang-compat-20.2.2-1.noarch.rpm | Bin 2172 -> 2116 bytes .../esl-erlang-compat-20.3.8.20-1.noarch.rpm | Bin 0 -> 2244 bytes .../esl-erlang-compat-21.2.6-1.noarch.rpm | Bin 0 -> 2228 bytes rpmbuild/SPECS/esl-erlang-compat.spec | 7 +++++-- .../SRPMS/esl-erlang-compat-20.2.2-1.src.rpm | Bin 0 -> 2515 bytes .../esl-erlang-compat-20.3.8.20-1.src.rpm | Bin 0 -> 2674 bytes .../SRPMS/esl-erlang-compat-21.2.6-1.src.rpm | Bin 0 -> 2670 bytes 9 files changed, 8 insertions(+), 5 deletions(-) create mode 100755 pkg create mode 100644 rpmbuild/RPMS/noarch/esl-erlang-compat-20.3.8.20-1.noarch.rpm create mode 100644 rpmbuild/RPMS/noarch/esl-erlang-compat-21.2.6-1.noarch.rpm create mode 100644 rpmbuild/SRPMS/esl-erlang-compat-20.2.2-1.src.rpm create mode 100644 rpmbuild/SRPMS/esl-erlang-compat-20.3.8.20-1.src.rpm create mode 100644 rpmbuild/SRPMS/esl-erlang-compat-21.2.6-1.src.rpm diff --git a/README.md b/README.md index e62cf67..d47a0e4 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/pkg b/pkg new file mode 100755 index 0000000..be31aac --- /dev/null +++ b/pkg @@ -0,0 +1,2 @@ +cd ~/ +rpmbuild -ba rpmbuild/SPECS/esl-erlang-compat.spec diff --git a/rpmbuild/RPMS/noarch/esl-erlang-compat-20.2.2-1.noarch.rpm b/rpmbuild/RPMS/noarch/esl-erlang-compat-20.2.2-1.noarch.rpm index 97054ea5572c6d3e5ae5c5256a603986b14a8089..03f68b4e3072cc2ebb6ffab5e4a0ce168489bee3 100644 GIT binary patch delta 567 zcmYk2yGue*9LLYS_tdQ+FzjK`V3R=x>e2fsq8Aw9A5eh}KCUzr1T~a{E)6*q-Nm7y z$)Tmep(#*sm0EHOY75#dqQRo?(cjR4!{>a?@BAK|j;Gx}VZH>#W$ zYcPc|?F;P3ZjgV2gV=B69Z<$U$$xsT1jv8M=X%aZ$fM-r-~d`}f-1WEK+afEIl!S0 z=LvdnNs6} zlXp9>87q@AgpoFdnPt^!URQnpul(T{RwQKGg1KXQ(^I`_&nDI@{?_jP!%L~T>VD{@ EKP2~10ssI2 delta 614 zcma)&&npCB7{}+wyOsl{C_gSJg@b8l%&ZwDio{L1;5KG0xic|Py+KF|Bidnc8oqx@h(w;V<9NhNzMVdYmS!4GLNzQ?RSZ=%wO*C``{GV=uWNSqt!1#PEWQ>t_CJsLj_N#e16Xm6W0!%( zALgE5JjaP&U4d?cR%!-7{ZEN~)c8{{eSE%G$^Hu)m?4*4b+zWXVNSF8&_hCg8E!LWGQJ$>L! z%v-+aF4-A3>-lr?V#Zxrm)E@I1wU(LGoCA3vhCQionF6+v0Fj=_wiOmS4>4$&0aHj auDF*@inaQC`^#$nqR`gwT|Wdj@x5Qs>1VJ2 diff --git a/rpmbuild/RPMS/noarch/esl-erlang-compat-20.3.8.20-1.noarch.rpm b/rpmbuild/RPMS/noarch/esl-erlang-compat-20.3.8.20-1.noarch.rpm new file mode 100644 index 0000000000000000000000000000000000000000..64a17234d071fb857cf550166a5458426cec1a4b GIT binary patch literal 2244 zcmb7GTWl0n7(UxB0s;w96RRRQN@7}JraQCS?G{_)Qi~NzOG^VZDmgoIcJ|P@F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/RPMS/noarch/esl-erlang-compat-21.2.6-1.noarch.rpm b/rpmbuild/RPMS/noarch/esl-erlang-compat-21.2.6-1.noarch.rpm new file mode 100644 index 0000000000000000000000000000000000000000..1340eefd1bac1f66ecab5a7d3ddc9ee4abc62b15 GIT binary patch literal 2228 zcmb7FZD<@t7@kW`TWu?`^`qJrMhlu?cXNApxn62h`w^qDjY*q?exTOb-PyfK_jb3t zd)MUbAEj8qQVZc7MFp+rGk0@M@DSp_yU#xJ ze#|@X&O3YQoy*^J5{wj&J&i{m^Igpf${|a%tf6Q1f@Vndf<}s5_iwx7?_Ef#IjNg~ zY=SI;3_`lF@G{`_5IJDmc>$P)tW*3aptR3GVBh&OQ0g~BQbvKB*_>nAEMM&J%Nn_& zWAZ|OF=Jb%nKz97V$m?yXLGQ{SoGTIXHz#n_vG_OzdTWV>xr;>43mc;jhyQB`uljt z8idTt`)(}v2c{l?Adj@nPukd!#Sl4KdCPrtDE=c*@>>+YsQ4-_?h`dP()14{iF#bwSizRXwJ{{@u#D~exj^3=VG|E;*z{EHgZwF$(sog;AF})Iq^;01b-!^@R(jQU$PQ`y!yc>vk9k&9JPr3+%f5&R2?*}4& zM@I1tiq{n%0>Zyj)=B#B0m45GpGH1=fp|~LZzJUIWVS{}m8xtauS9*FP`y+elmgkY@i7gKVMAj-rn6I86fT@`TRW%b73=s>0^9 z*@5tgOQKA>n|{I+o=9eTXvnMs%x#2Vo);YYk08ufajrSoJmkL3eQQQ1-Zp<^y83Q!V%mir6dXC4ZXdt zNJR?UgcmKRJ_B7TTR2Wol{x&O=bA!bH` z;~qJq=hVE<$*X3HM8P492!yM19>bHaVv;y z&9y8oJ|q&WgrZZbl?zaolZwv=T<-HoSi}lNK&ERXtGZE(xLv|eztN$Z>sQFCgD=qA zrk1a`>GIR(ublbpsN9>pYa9Q;dj0A-ymwt)U)!?}efa&KOW)`qccqqNa_z@Q*PSCz zku{H#mCL?Oo4JnrxBM`+C^@+G)SGX=e9w2EpZr2!U6;QP*q+^b-{{5e-w$4hl2sps pGfOs}9Y22J6kEILnI%U~*L0HFdAR5NOJA>ib^9ymb*!{^-#>)y8dU%Q literal 0 HcmV?d00001 diff --git a/rpmbuild/SPECS/esl-erlang-compat.spec b/rpmbuild/SPECS/esl-erlang-compat.spec index 23a48c4..1edf8c6 100755 --- a/rpmbuild/SPECS/esl-erlang-compat.spec +++ b/rpmbuild/SPECS/esl-erlang-compat.spec @@ -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 @@ -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 +- Updated to use environment variables for version and docker builder + * Tue Feb 20 2018 Michael Klishin - Updated to use 20.2.2 as minimum version diff --git a/rpmbuild/SRPMS/esl-erlang-compat-20.2.2-1.src.rpm b/rpmbuild/SRPMS/esl-erlang-compat-20.2.2-1.src.rpm new file mode 100644 index 0000000000000000000000000000000000000000..7c2a21a884063d8e9521af8ac9904812f2a38a8e GIT binary patch literal 2515 zcmb7_3rrMO6ozMAq$r|PK`7QZHK`)PFf+T$?#e?Dgd*Srp{NDJ%>F~r+82{H2Dp~Y3*65NM;DPR#` z?|{XCdBUqbKwZI5gIH-ds0&yi=6j$ho(6+>=|fQDj|7usu^gjf)GYi2hLv+XC(Gh_ zIWH4bG*7c345N}OS%nf}p}GA~TlRQnLfirJn%;QncHzZ2kZL4}qc>Etne^YA@%F)-eKe4=7?U%y%(Q!i?563T!gw`5%)fV!wb(Rj2^h|#)$M;yQ$8Zk>0w1nPn zx7cO{2kS(;-oaBa*Whf4RS_5np+PK{Pp55hgQd)#!)cxemU{^t!Zp zf`Ziuyh_C=_$)0gSE!f}jha*O3WjBArIO_tP9{_FYFbOPv|J|Rv|5=wgyvWl;*~HN zXCrxsXwV8);-$i!GX%vn8kyB%G>E)^EF40Ns1s~<+YAEtMZ=A36>K&^i@ftWqX0fR z6++Q)J3W0a@DdMGdLto()N&M$ZWbGQl9ishP+yqq8GYV=!ks ztinpcnzNcRTXhk{{|Jrac&jKty)5QnH;tT5Cz{DH9c6okkvbzM8qmf^5cAN^lS!KR z;jM=`;6uoMJt&AwwP-oJphYF;unDBIL`lv@8by<6bQsB8!DsZYjb~l&pnG*@o9fUW$T?yy3X9fje(Or;vS0qO5fR= zCylL$pA^2Ny@{&ZcK2j+QNVZO(wlC~+-^?k^Q{KTDM|&o+2r)uB^yFUq&}ZR;({$(=wZi+P0sRpQ=>ZFzwO zABX1^eC=Iwp|YtdbV=&_5&d4JXM+9Cr0?04Fc2`(dbQ?Y+j{A=i+RE`MV-%VsiuF; zl1LnT@+Tfnw){f5KD!jzT9D~^FGBi6dS_bd*w#a?Z5x8+-;eMa zzthVnwl&Ph_37h=!Drz=dwU=2sJfro>AvvXj(kgcv`1(C^2Cx_v3B?M%Y(%gKaHWQ z)9mh%1)Yk^jRDc`fKVzWuc}}|~eo9d)ySpXg!_d&s RKR$Wn9^+Vad^=qDe*?2tmV^KR literal 0 HcmV?d00001 diff --git a/rpmbuild/SRPMS/esl-erlang-compat-20.3.8.20-1.src.rpm b/rpmbuild/SRPMS/esl-erlang-compat-20.3.8.20-1.src.rpm new file mode 100644 index 0000000000000000000000000000000000000000..2ee573d166cc729bc76d4892e0d105bd3aa1e357 GIT binary patch literal 2674 zcmb7Fdr(x@8NbVJ6ih6rP=T~?^^b~CF8A)2okUcgfOA_xO?x}-3xagbMGz) zu`zbgQKQbJE~L{Y^^s7aYO4g3h>eAi1fqzfIF61PCAEo>ku9(;0ha zzWLqX`5x!{&iT%{HxJypsHZ3$r9+yMj#NePy3$3T$1eoZjVxngY>bgj=cvaTI_io4 zw%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x{rSnk+|bUm-+i)HE9yAV*uJbj{?=V{X#1LX4t};Zzs2{b=eM;C^(>rTJin-^ zdHB$ZWlf#Gt0*3roe>I_?A+HL)0lZ?Zcrw6e8NLqc^H{c?SDqM^0Rx?A#moTzu(~Pew0i zf3aZ0#mlu(*GxB`E=#KKN_J1qYW*m>J&AR_Eq1mRy3e0pe@`1e*lPG`raoAaADwGH zJDB?GnLBSBZ`JMTx}G)fOnkq&U|rJg(@bpNoPn-W!`}zK`0VLvnd=XXN*j(3)fAlT boSm}b&v|#woqOSa)^GIhb1~nh!GHEYRD0S3 literal 0 HcmV?d00001 diff --git a/rpmbuild/SRPMS/esl-erlang-compat-21.2.6-1.src.rpm b/rpmbuild/SRPMS/esl-erlang-compat-21.2.6-1.src.rpm new file mode 100644 index 0000000000000000000000000000000000000000..82f4992a0d85ab36121941f129a1770420c79fed GIT binary patch literal 2670 zcmb7_3s4kS7KVGAiGmvi6(Zn9S}PSXk*0fI%qT%n1PK@df>a1Tdb)4VH1s^Sdj^D< zHEa^>i2swA=60N0D<=(1O ze}8?>J$)bN-oCcI=bWCRbd(NhN+MDf-s4OZylx-wPc(9jk+CLn)WbF%^~nE*uG@K8 zN8VvyAy_KdD6kB$Nci*^(2-!cL9G5Vr~zyS;h#ZqJPQW#`d(1%PXp6gB+kO|yhD;W zlf!5;n>fJ=WV8rYjzbbMvYeD`F`6J2TKJ+#e^^gHRyKaZ*q)l7ZXG)K8bv*l0FL08 z1_uYfglG5$MLjTX7>D5rcr_ag#$kv8#W5mS7#MCt}v$EOhf9Vo1iE{*V`glh=neaG>&gd>Rmb;5X! zasRgnM}y+{cL~Q3{s0u#+z<?KHYnuN4}HIs_%9RxV&cc+!TFbj z*Z^xBWDyj;7u*-@M}+Y{V3r7v4e^8xpfDZ-UPs+rYS{UvLg$;}sB}7X;%P}%5bgKU zPUNTW$Ky9X)mtHphz{Kl&_i>{ZaN{E>?#WBE2BHFsSJZb7>>P2A}6F z%%F-qnhy!GBqNb>`Tag^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