You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2018/08/10 14:55:16 UTC

[couchdb-pkg] branch 1.x updated (fa01de1 -> e1859d3)

This is an automated email from the ASF dual-hosted git repository.

wohali pushed a change to branch 1.x
in repository https://gitbox.apache.org/repos/asf/couchdb-pkg.git.


 discard fa01de1  buh
     new e1859d3  buh

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (fa01de1)
            \
             N -- N -- N   refs/heads/1.x (e1859d3)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 rpm/SPECS/couchdb.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


[couchdb-pkg] 01/01: buh

Posted by wo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch 1.x
in repository https://gitbox.apache.org/repos/asf/couchdb-pkg.git

commit e1859d3aae655399782cc4ebbe090944ab8634a4
Author: Joan Touzet <wo...@apache.org>
AuthorDate: Fri Aug 10 14:01:16 2018 +0000

    buh
---
 rpm/SPECS/couchdb.spec | 26 +++++++-------------------
 1 file changed, 7 insertions(+), 19 deletions(-)

diff --git a/rpm/SPECS/couchdb.spec b/rpm/SPECS/couchdb.spec
index 3fb128c..3882cc3 100644
--- a/rpm/SPECS/couchdb.spec
+++ b/rpm/SPECS/couchdb.spec
@@ -47,12 +47,11 @@ BuildRequires: python >= 2.6
 
 Requires(pre): shadow-utils
 
+Requires(post): esl-erlang = 0:19.3.6
 Requires(post): curl
 Requires(post): couch-js = 1:1.8.5
 Requires(post): libicu >= 4.2.1
 Requires(post): procps
-Requires(post): python-progressbar
-Requires(post): python-requests
 
 %if 0%{?fedora} || 0%{?rhel} >= 7
 BuildRequires:		xfsprogs-devel
@@ -81,8 +80,8 @@ languages and environments.
 %define __os_install_post %{nil}
 
 %build
-./configure -c
-%{__make} release
+./configure --disable-docs --prefix=/opt/couchdb
+%{__make}
 
 %clean
 %{__rm} -rf %{buildroot}
@@ -94,21 +93,13 @@ if ! /usr/bin/getent passwd couchdb > /dev/null; then /usr/sbin/adduser \
   --user-group couchdb; fi
 
 %install
-%{__install} -d -m0755 %{buildroot}/opt
-%{__cp} -r rel/couchdb %{buildroot}/opt
-%{__install} -d -m0750 %{buildroot}/var/log/%{name}
-%{__install} -d -m0750 %{buildroot}%{_sharedstatedir}/%{name}
-%{__install} -Dp -m0644 %{SOURCE3} %{buildroot}/opt/%{name}/etc/default.d/10-filelog.ini
-%{__install} -Dp -m0644 %{SOURCE5} %{buildroot}/etc/logrotate.d/%{name}
-/bin/find %{buildroot}/opt/%{name} -name *.ini -exec %{__chmod} 0640 {} \;
+%{__make} install DESTDIR=%{buildroot}
 
 %if 0%{?fedora} || 0%{?rhel} >= 7
 %{__install} -Dp -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service
 %else
 %{__install} -Dp -m0755 %{SOURCE2} %{buildroot}%{_initrddir}/%{name}
 %endif
-%{__ln_s} -f -T %{_sharedstatedir}/%{name} %{buildroot}/opt/%{name}/data
-%{__ln_s} -f -T /var/log/%{name} %{buildroot}/opt/%{name}/var/log/%{name}
 
 %post
 %{__chown} -R couchdb:couchdb /opt/%{name}
@@ -143,10 +134,8 @@ fi
 
 %files
 %attr(0755, %{name}, %{name}) /opt/couchdb
-%attr(0755, %{name}, %{name}) %dir %{_sharedstatedir}/%{name}
-%attr(0755, %{name}, %{name}) %dir /var/log/%{name}
-%config(noreplace) /opt/couchdb/etc/local.ini
-%config /etc/logrotate.d/%{name}
+%config(noreplace) /opt/couchdb/etc/couchdb/local.ini
+%config /opt/couchdb/etc/logrotate.d/%{name}
 %if 0%{?fedora} || 0%{?rhel} >= 7
 %{_unitdir}/%{name}.service
 %else
@@ -155,7 +144,6 @@ fi
 
 
 %changelog
-* Tue May 2 2017 CouchDB Developers <de...@couchdb.apache.org> 2.0.0-1
+* Fri Aug 10 2018 CouchDB Developers <de...@couchdb.apache.org> 1.7.2-1
 - New upstream version
 - New sysvinit and systemd service files
-- New backported couchup script