Accepting request 127538 from home:deadpoint:branches:server:monitoring
I've updated check_postgres to the latest release and cleaned up the .spec removing commented code. OBS-URL: https://build.opensuse.org/request/show/127538 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/check_postgres?expand=0&rev=3
This commit is contained in:
parent
29227bb462
commit
60643dd5d7
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e172b6b0268ed85f8cff6485b36b8c00b1172ec2eebd55a63ed58eb44150f2c8
|
|
||||||
size 112058
|
|
3
check_postgres-2.19.0.tar.bz2
Normal file
3
check_postgres-2.19.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8eb71040e847f0fd42497bfe3e2d58be075b6ae0bc30df75caedf9b5bc8d621a
|
||||||
|
size 123251
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 10 16:39:09 UTC 2012 - darin@darins.net
|
||||||
|
|
||||||
|
- update to version 2.19.0
|
||||||
|
- cleaned up .spec
|
||||||
|
- fixed License
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 21 08:21:03 UTC 2011 - lars@linux-schulserver.de
|
Mon Feb 21 08:21:03 UTC 2011 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
@ -12,10 +12,10 @@
|
|||||||
|
|
||||||
Name: check_postgres
|
Name: check_postgres
|
||||||
Summary: Postgres monitoring script
|
Summary: Postgres monitoring script
|
||||||
Version: 2.16.0
|
Version: 2.19.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Url: http://bucardo.org/wiki/Check_postgres
|
Url: http://bucardo.org/wiki/Check_postgres
|
||||||
License: GPLv2+
|
License: GPL-2.0+
|
||||||
Group: System/Monitoring
|
Group: System/Monitoring
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Requires: postgresql
|
Requires: postgresql
|
||||||
@ -72,23 +72,9 @@ Nagios plugins way.
|
|||||||
perl Makefile.PL
|
perl Makefile.PL
|
||||||
make %{?jobs:-j%jobs}
|
make %{?jobs:-j%jobs}
|
||||||
|
|
||||||
##%check
|
|
||||||
#. DATADIR
|
|
||||||
#echo $DATADIR
|
|
||||||
#export PGBINDIR=%{_bindir}
|
|
||||||
#make test
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
## setup a postgresql instance
|
|
||||||
#export DATADIR=$(mktemp -d %{buildroot}/pgsql-XXXXXX)
|
|
||||||
#mkdir -p "$DATADIR"
|
|
||||||
#/usr/bin/initdb --locale="en_US.UTF-8" --auth="ident sameuser" "$DATADIR"
|
|
||||||
#/usr/bin/pg_ctl -D $DATADIR -l "$DATADIR/logfile" start
|
|
||||||
#echo "export DATADIR=$DATADIR" > DATADIR
|
|
||||||
# install the module
|
# install the module
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
|
||||||
mv %{buildroot}%perl_vendorlib/check_postgres.pl %{buildroot}%{_bindir}/
|
|
||||||
# do not perl_process_packlist (noarch)
|
# do not perl_process_packlist (noarch)
|
||||||
# remove .packlist file
|
# remove .packlist file
|
||||||
%{__rm} -rf %{buildroot}%perl_vendorarch
|
%{__rm} -rf %{buildroot}%perl_vendorarch
|
||||||
@ -121,6 +107,4 @@ rm -rf %buildroot
|
|||||||
%dir %libexecdir
|
%dir %libexecdir
|
||||||
%libexecdir/*
|
%libexecdir/*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user