You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2022/02/07 14:36:59 UTC
[couchdb-pkg] 03/03: Update package metadata
This is an automated email from the ASF dual-hosted git repository.
kocolosk pushed a commit to branch 3.2.1
in repository https://gitbox.apache.org/repos/asf/couchdb-pkg.git
commit d59bd6cca5dcddb2959b9539a9ae2af4fde3aba5
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Mon Feb 7 09:35:56 2022 -0500
Update package metadata
---
Makefile | 7 +++++--
rpm/SPECS/couchdb.spec.in | 2 +-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index d000a56..add825f 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,10 @@
# the License.
COUCHDIR=../couchdb
-DEBCHANGELOG="Automatically generated package from upstream."
+DEBCHANGELOG="Bump to Erlang 23"
+
+# Define DEBVERSION to append a package version to the upstream CouchDB version
+DEBVERSION="1"
JS_DEBCHANGELOG="Automatically generated package from couchdb-ci repository."
JS_VERSION=1.8.5-1.0.0+couch-2
@@ -186,7 +189,7 @@ copy-debian:
cp -R debian $(DISTDIR)
update-changelog:
- cd $(DISTDIR) && dch -v $(VERSION)~$(PLATFORM) $(DEBCHANGELOG)
+ cd $(DISTDIR) && dch -v $(VERSION)-$(DEBVERSION)~$(PLATFORM) $(DEBCHANGELOG)
dpkg:
cd $(DISTDIR) && dpkg-buildpackage -b -us -uc
diff --git a/rpm/SPECS/couchdb.spec.in b/rpm/SPECS/couchdb.spec.in
index bbb611c..85a5a41 100644
--- a/rpm/SPECS/couchdb.spec.in
+++ b/rpm/SPECS/couchdb.spec.in
@@ -18,7 +18,7 @@ Summary: RESTful document oriented database
License: Apache License v2.0
Name: %{name}
Version: %{_version}
-Release: 1%{?dist}
+Release: 2%{?dist}
Source: https://www.apache.org/dist/couchdb/source/${version}/apache-couchdb-%{version}.tar.gz
Source1: %{name}.service
Source2: %{name}.init