Accepting request 895050 from home:-miska-:influx
Little cleanup and update. Depends on sr#895049 OBS-URL: https://build.opensuse.org/request/show/895050 OBS-URL: https://build.opensuse.org/package/show/server:database/influxdb2?expand=0&rev=4
This commit is contained in:
parent
31826b6f76
commit
36b80b6fe0
2
_service
2
_service
@ -2,7 +2,7 @@
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="url">git://github.com/influxdata/influxdb.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">2.0</param>
|
||||
<param name="revision">2.0.6</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="changesgenerate">disable</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
|
@ -1,11 +1,12 @@
|
||||
[Unit]
|
||||
Description=InfluxDB database server
|
||||
Description=InfluxDB is an open-source, distributed, time series database
|
||||
Documentation=https://docs.influxdata.com/influxdb/
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Environment="config=/etc/influxdb/config.toml" "pidfile=/run/influxdb/influxdb.pid"
|
||||
LimitNOFILE=100000
|
||||
ExecStart=/usr/bin/influxd -config ${config} -pidfile ${pidfile}
|
||||
Environment="INFLUXD_CONFIG_PATH=/etc/influxdb2/config.toml"
|
||||
LimitNOFILE=65536
|
||||
ExecStart=/usr/bin/influxd
|
||||
Type=simple
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c761a72931ebe18027d8d1dbc0b7ec58092b3b242003052e0d8e06911693fa84
|
||||
size 11017508
|
3
influxdb2-2.0.6.tar.xz
Normal file
3
influxdb2-2.0.6.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:30e6807f34e94ff8a47cfbd71bd8d194d5ccb0a9dbf9b6b8821edf24a0c5b914
|
||||
size 11121036
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 19 21:51:38 UTC 2021 - Michal Hrusecky <michal.hrusecky@opensuse.org>
|
||||
|
||||
- Update to version 2.0.6, see
|
||||
* https://github.com/influxdata/influxdb/releases/tag/v2.0.6
|
||||
* https://github.com/influxdata/influxdb/releases/tag/v2.0.5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 17 21:34:31 UTC 2021 - Michal Hrusecky <michal.hrusecky@opensuse.org>
|
||||
|
||||
- Update service file not to use invalid options
|
||||
- Dropping config file as upstream does and dropping unused directories
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 18 08:12:08 UTC 2021 - Matwey Kornilov <matwey.kornilov@gmail.com>
|
||||
|
||||
|
@ -20,7 +20,7 @@ Name: influxdb2
|
||||
Summary: Scalable datastore for metrics, events, and real-time analytics
|
||||
License: MIT
|
||||
Group: Productivity/Databases/Servers
|
||||
Version: 2.0.4
|
||||
Version: 2.0.6
|
||||
Release: 0
|
||||
URL: https://github.com/influxdata/influxdb
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
@ -35,7 +35,7 @@ BuildRequires: fdupes
|
||||
BuildRequires: go >= 1.15
|
||||
BuildRequires: golang-packaging >= 15.0.8
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: pkgconfig(flux) = 0.105.1
|
||||
BuildRequires: pkgconfig(flux) >= 0.116.0
|
||||
%{!?_tmpfilesdir:%global _tmpfilesdir /usr/lib/tmpfiles.d}
|
||||
%{systemd_requires}
|
||||
Requires(post): systemd
|
||||
@ -72,10 +72,8 @@ export GO111MODULE=on
|
||||
%gosrc
|
||||
%fdupes -s %{buildroot}/%{go_contribsrcdir}/github.com/influxdata/influxdb
|
||||
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/influxdb
|
||||
mkdir -p %{buildroot}%{_localstatedir}/log/influxdb
|
||||
mkdir -p %{buildroot}%{_localstatedir}/lib/influxdb
|
||||
mkdir -p %{buildroot}%{_localstatedir}/lib/influxdb/{data,meta,hh,wal}
|
||||
mkdir -p %{buildroot}%{_sbindir}
|
||||
install -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/influxdb.service
|
||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcinfluxdb
|
||||
@ -102,7 +100,6 @@ install -D -m 0755 -t %{buildroot}%{_bindir} %{_builddir}/go/bin/*
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md CHANGELOG.md
|
||||
%dir %{_sysconfdir}/influxdb
|
||||
%{_bindir}/chronograf-migrator
|
||||
%{_bindir}/influx
|
||||
%{_bindir}/influxd
|
||||
@ -114,10 +111,6 @@ install -D -m 0755 -t %{buildroot}%{_bindir} %{_builddir}/go/bin/*
|
||||
%{_tmpfilesdir}/influxdb.conf
|
||||
%attr(0755, influxdb, influxdb) %dir %{_localstatedir}/log/influxdb
|
||||
%attr(0755, influxdb, influxdb) %dir %{_localstatedir}/lib/influxdb
|
||||
%attr(0755, influxdb, influxdb) %dir %{_localstatedir}/lib/influxdb/meta
|
||||
%attr(0755, influxdb, influxdb) %dir %{_localstatedir}/lib/influxdb/data
|
||||
%attr(0755, influxdb, influxdb) %dir %{_localstatedir}/lib/influxdb/hh
|
||||
%attr(0700, influxdb, influxdb) %dir %{_localstatedir}/lib/influxdb/wal
|
||||
|
||||
%files devel
|
||||
%license LICENSE
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d86c73cae27c699dbfcb4d8314138a1cb2e0d5c1b155c19edb3ca871f1c7b267
|
||||
size 7192488
|
||||
oid sha256:6bf8d16f72648d8438898066f22bff0d6ea724c2a04d72ac449e7828a414f8a5
|
||||
size 7386816
|
||||
|
Loading…
Reference in New Issue
Block a user