mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-22 20:57:53 +00:00
packager: OBS now builds package for Arch.
This commit is contained in:
parent
28620b2c49
commit
2163278ce1
|
@ -1,10 +1,21 @@
|
|||
all:
|
||||
perl -e 'exit $$ENV{YYYYMMDD} !~ /20/'
|
||||
cd ../debian/ && make
|
||||
osc rm home\:tange/parallel/parallel_*.dsc || true
|
||||
cp ../debian/parallel_*.dsc ../debian/parallel_*.tar.gz home\:tange/parallel/
|
||||
cp `ls ../../parallel-2*.tar.bz2|grep -v latest|tail -n1` home\:tange/parallel/
|
||||
perl -i -pe '/Version:/ and s/20\d\d\d\d\d\d/$$ENV{YYYYMMDD}/g' home:tange/parallel/parallel.spec
|
||||
cd home:tange/parallel && s=`sha256sum parallel-*.tar.bz2|field 1` perl -i -pe 's/(sha256sums=..)\w+(..)/$$1$$ENV{s}$$2/' PKGBUILD
|
||||
cd home\:tange/parallel/ && osc diff
|
||||
cd home\:tange/parallel/ && osc up
|
||||
cd home\:tange/parallel/ && parallel osc add ::: *.spec *.dsc *.tar.gz *.tar.bz2 && echo Src added OK || true
|
||||
cd home\:tange/parallel/ && osc ci -m "New release"
|
||||
# wait for "building" state
|
||||
cd home\:tange/parallel/ && yes building | parallel -j1 --delay 10 --halt now,success=1 'osc results|G -E {}'
|
||||
# wait for "building" state to end
|
||||
cd home\:tange/parallel/ && yes building | parallel -j1 --delay 10 --halt now,fail=1 'osc results|G -v Mageia -E {}' || true
|
||||
# wait for "finished" state of .deb
|
||||
cd home\:tange/parallel/ && echo succeeded | parallel -j1 --retries 30 --delay 10 --halt now,success=1 'osc results|G -E "(Debian|Ubuntu).*{}"'
|
||||
# wait for "finished" state of .rpm
|
||||
cd home\:tange/parallel/ && echo succeeded | parallel -j1 --retries 30 --delay 10 --halt now,success=1 'osc results|G -E "(SUSE|SLE|Scientific|RHEL|Fedora|CentOS).*{}"'
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
<directory name="parallel" rev="263" vrev="1" srcmd5="8b87746c214a1d5f4b6990c608a8ede5">
|
||||
<entry name="parallel-20200622.tar.bz2" md5="e62e7b7b03d8126981bb3460771782c4" size="2101845" mtime="1592864693" />
|
||||
<directory name="parallel" rev="287" vrev="20" srcmd5="cb1fb9a88b4884df45f2e21071ec7b08">
|
||||
<entry name="PKGBUILD" md5="303b5a802341093d5a3f013fceedcc04" size="1044" mtime="1595029268" />
|
||||
<entry name="parallel-20200622.tar.bz2" md5="d23e078dda56fa4a601cce888bf550e0" size="2102861" mtime="1595029269" />
|
||||
<entry name="parallel-20200622.tar.bz2.sig" md5="a579b17a046ebb5684a8b0b4adab6296" size="2080" mtime="1594940468" />
|
||||
<entry name="parallel.spec" md5="972d116c61da26a19bb23d8a5d5c0fa1" size="4876" mtime="1592864693" />
|
||||
<entry name="parallel_20200622.tar.gz" md5="0aca12221d99f5d1eab7d8e6dbc21d33" size="2290584" mtime="1592864693" />
|
||||
<entry name="parallel_20200622.dsc" md5="473472995f7bef52300bf9fb5db08742" size="556" mtime="1594972044" />
|
||||
<entry name="parallel_20200622.tar.gz" md5="e768cdd4a388538dc4ecdf2175a8f3d7" size="2290573" mtime="1594972044" />
|
||||
</directory>
|
||||
|
|
|
@ -47,7 +47,11 @@ GNU niceload slows down a program when the computer load average (or other syste
|
|||
<disable arch="ppc" repository="SLE_11"/>
|
||||
<disable arch="ppc" repository="SLE_11_SP1"/>
|
||||
<disable arch="ppc" repository="openSUSE_Factory"/>
|
||||
<disable repository="Arch_Core"/>
|
||||
</build>
|
||||
<publish>
|
||||
<disable repository="Arch_Core"/>
|
||||
</publish>
|
||||
<debuginfo>
|
||||
<disable/>
|
||||
</debuginfo>
|
||||
|
|
Loading…
Reference in a new issue