makedeb


libapr2-svn 1904787-1


Apache Portable Runtime library. Version 2 from SVN trunk.

Click here to go back to the commit logs for libapr2-svn.

Commit:


Hash: e50c07dbb7c91b9d1fe1a69d547be4eca8abeb6c

Message: add dependency and conflicts/provides for the future

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 632d354..8d71bf2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,16 @@
 pkgbase = apr-2-svn
 	pkgdesc = Apache Portable Runtime library. This is version 2 from SVN trunk, possibly unstable.
 	pkgver = r1904703
-	pkgrel = 1
+	pkgrel = 2
 	url = https://apr.apache.org/
 	arch = x86_64
 	license = APACHE
 	makedepends = svn
+	depends = expat
 	optdepends = python
 	optdepends = sqlite
+	provides = apr-2
+	conflicts = apr-2
 	source = apr-2-svn::svn+https://svn.apache.org/repos/asf/apr/apr/trunk/
 	source = ship_find_apr.m4.patch
 	source = fix-apr.pc.patch
diff --git a/PKGBUILD b/PKGBUILD
index 50b1aac..0eba1e6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,17 @@
 # Maintainer: fft
 
 pkgname=apr-2-svn
-pkgver=r1904703
+pkgver=r1904787
 pkgrel=1
 pkgdesc='Apache Portable Runtime library. This is version 2 from SVN trunk, possibly unstable.'
 arch=('x86_64')
 url='https://apr.apache.org/'
+depends=('expat') # libxml2 also supported
 makedepends=('svn')
 optdepends=('python' 'sqlite')
 license=('APACHE')
+conflicts=(apr-2) # for the future, when APR 2 will be released.
+provides=(apr-2)
 source=("${pkgname}::svn+https://svn.apache.org/repos/asf/apr/apr/trunk/"
         'ship_find_apr.m4.patch'
         'fix-apr.pc.patch'