spacepaste

  1.  
  2. From 9b8aa148fba708cf59683b9fdd1060d0ab891a48 Mon Sep 17 00:00:00 2001
  3. From: Victoria Ivanova <ivanova.informatics@gmail.com>
  4. Date: Sat, 26 May 2018 16:53:17 +0200
  5. Subject: [PATCH] Bump to 3.3
  6. diff --git a/.SRCINFO b/.SRCINFO
  7. index 8ba85e7..e4ae14d 100644
  8. --- a/.SRCINFO
  9. +++ b/.SRCINFO
  10. @@ -1,10 +1,8 @@
  11. -# Generated by mksrcinfo v8
  12. -# Sun Nov 5 10:24:10 UTC 2017
  13. pkgbase = rinse
  14. pkgdesc = Bootstrap a rpm based distribution like debootstrap
  15. - pkgver = 3.0.2
  16. - pkgrel = 3
  17. - url = http://collab-maint.alioth.debian.org/rinse/
  18. + pkgver = 3.3
  19. + pkgrel = 2
  20. + url = https://salsa.debian.org/debian/rinse.git
  21. arch = any
  22. license = GPL
  23. makedepends = make
  24. @@ -17,10 +15,10 @@ pkgbase = rinse
  25. depends = rpm-org
  26. depends = cpio
  27. backup = etc/rinse/rinse.conf
  28. - source = http://collab-maint.alioth.debian.org/rinse/download/rinse_3.0.2.tar.gz
  29. + source = https://salsa.debian.org/debian/rinse/-/archive/3.3/rinse-3.3.tar.gz
  30. source = sbin.patch
  31. - md5sums = 51c7875ae363ed35963e3b9fad344dd1
  32. - md5sums = a9f0c264fa8b2427bc7e327a632a2b0d
  33. + md5sums = aad4821a80959981769ea03302c65187
  34. + md5sums = ef452bd9b51722324ea31ea5ef7d5e78
  35. pkgname = rinse
  36. diff --git a/.gitignore b/.gitignore
  37. new file mode 100644
  38. index 0000000..6c0270e
  39. --- /dev/null
  40. +++ b/.gitignore
  41. @@ -0,0 +1,3 @@
  42. +pkg
  43. +src
  44. +rinse-*.tar.*
  45. diff --git a/PKGBUILD b/PKGBUILD
  46. index 17b419a..e9aa4e4 100644
  47. --- a/PKGBUILD
  48. +++ b/PKGBUILD
  49. @@ -3,11 +3,11 @@
  50. # Rinse RPM Distro Bootstrapper
  51. pkgname=rinse
  52. -pkgver=3.0.2
  53. -pkgrel=3
  54. +pkgver=3.3
  55. +pkgrel=2
  56. pkgdesc="Bootstrap a rpm based distribution like debootstrap"
  57. arch=('any')
  58. -url="http://collab-maint.alioth.debian.org/rinse/"
  59. +url="https://salsa.debian.org/debian/rinse.git"
  60. license=('GPL')
  61. groups=()
  62. depends=('glibc' 'perl' 'perl-html-parser' 'perl-uri' 'perl-libwww' 'wget' 'rpm-org' 'cpio')
  63. @@ -19,19 +19,20 @@ replaces=()
  64. backup=('etc/rinse/rinse.conf')
  65. options=()
  66. install=
  67. -source=("http://collab-maint.alioth.debian.org/rinse/download/rinse_3.0.2.tar.gz"
  68. - "sbin.patch")
  69. +source=("https://salsa.debian.org/debian/rinse/-/archive/3.3/rinse-3.3.tar.gz"
  70. + "sbin.patch")
  71. +
  72. noextract=()
  73. -md5sums=('51c7875ae363ed35963e3b9fad344dd1'
  74. - 'a9f0c264fa8b2427bc7e327a632a2b0d')
  75. +md5sums=('aad4821a80959981769ea03302c65187'
  76. + 'ef452bd9b51722324ea31ea5ef7d5e78')
  77. prepare() {
  78. - patch -p0 -i $srcdir/sbin.patch
  79. - sed -i 's|pod2man.*$|pod2man --release=3.0.2 --official --section=8 ./bin/rinse ./bin/rinse.8|' $srcdir/$pkgname/Makefile
  80. + patch -p0 -i $srcdir/sbin.patch
  81. + sed -i 's|pod2man.*$|pod2man --release=$pkgver --official --section=8 ./bin/rinse ./bin/rinse.8|' $srcdir/$pkgname-$pkgver/Makefile
  82. }
  83. package() {
  84. - cd "$srcdir/$pkgname"
  85. + cd "$srcdir/$pkgname-$pkgver"
  86. make PREFIX="$pkgdir/" sbindir="$pkgdir/bin" install
  87. }
  88. diff --git a/sbin.patch b/sbin.patch
  89. index f00c9f0..d8034d2 100644
  90. --- a/sbin.patch
  91. +++ b/sbin.patch
  92. @@ -2,7 +2,7 @@
  93. +++ rinse/Makefile 2015-10-19 11:45:52.398805700 +0600
  94. @@ -52,15 +52,15 @@
  95. install: fixupperms
  96. - mkdir -p ${PREFIX}/etc/bash_completion.d
  97. + mkdir -p ${PREFIX}/usr/share/bash-completion/completions
  98. mkdir -p ${PREFIX}/etc/rinse
  99. - mkdir -p ${PREFIX}/usr/sbin
  100. + mkdir -p ${PREFIX}/usr/bin
  101.