Skip to content

Commit 5576595

Browse files
authored
Merge pull request #34 from jelu/release/0.05
Release 0.05
2 parents 1024843 + f180080 commit 5576595

File tree

4 files changed

+79
-3
lines changed

4 files changed

+79
-3
lines changed

Changes

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
Revision history for App::DSC::DataTool
22

3+
0.05 2019-05-31
4+
Release 0.05
5+
6+
Fixed issue with empty values in InfluxDB output, they are now
7+
quoted as an empty string.
8+
9+
9917c4e InfluxDB quote keys/values
10+
311
0.04 2019-01-21
412
Release 0.04
513

debian/changelog

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
dsc-datatool (0.05-1~unstable+1) unstable; urgency=low
2+
3+
* Release 0.05
4+
5+
Fixed issue with empty values in InfluxDB output, they are now
6+
quoted as an empty string.
7+
8+
9917c4e InfluxDB quote keys/values
9+
10+
-- Jerry Lundström <lundstrom.jerry@gmail.com> Fri, 31 May 2019 08:44:19 +0200
11+
112
dsc-datatool (0.04-1~unstable+1) unstable; urgency=low
213

314
* Release 0.04

lib/App/DSC/DataTool.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ App::DSC::DataTool - Export DSC data to other formats and/or databases
1010
1111
=head1 VERSION
1212
13-
Version 0.04
13+
Version 0.05
1414
1515
=cut
1616

17-
our $VERSION = '0.04';
17+
our $VERSION = '0.05';
1818

1919
=head1 SYNOPSIS
2020

rpm/dsc-datatool.spec

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: dsc-datatool
2-
Version: 0.04
2+
Version: 0.05
33
Release: 1%{?dist}
44
Summary: Export DSC data to other formats and/or databases
55
Group: Productivity/Networking/DNS/Utilities
@@ -13,7 +13,14 @@ Source0: %{name}_%{version}.orig.tar.gz
1313
BuildArch: noarch
1414

1515
BuildRequires: perl
16+
%if 0%{?suse_version} || 0%{?sle_version}
1617
BuildRequires: perl-macros
18+
%else
19+
BuildRequires: perl-macros
20+
BuildRequires: perl-generators
21+
BuildRequires: perl-interpreter
22+
BuildRequires: perl(ExtUtils::MakeMaker)
23+
%endif
1724
BuildRequires: perl(Test::More)
1825
BuildRequires: perl(Test::CheckManifest) >= 0.9
1926
BuildRequires: perl(common::sense) >= 3
@@ -40,27 +47,77 @@ Tool for converting, exporting, merging and transforming DSC data.
4047

4148

4249
%build
50+
%if 0%{?suse_version} || 0%{?sle_version}
4351
%{__perl} Makefile.PL
52+
%else
53+
%{__perl} Makefile.PL INSTALLDIRS=vendor
54+
%endif
4455
make %{?_smp_mflags}
4556

4657

4758
%install
59+
%if 0%{?suse_version} || 0%{?sle_version}
4860
%perl_make_install
4961
find %buildroot/%_prefix -name *.bs -a -size 0 | xargs rm -f
5062
%perl_process_packlist
5163
%perl_gen_filelist
64+
%else
65+
%{__make} pure_install DESTDIR=%{buildroot}
66+
find %{buildroot} -type f -name .packlist -delete
67+
%{_fixperms} -c %{buildroot}
68+
%endif
5269

5370

5471
%clean
5572
rm -rf $RPM_BUILD_ROOT
5673

5774

75+
%if 0%{?suse_version} || 0%{?sle_version}
5876
%files -f %{name}.files
5977
%defattr(-,root,root)
6078
%doc Changes LICENSE README.md
79+
%else
80+
%files
81+
%license LICENSE
82+
%doc Changes README.md
83+
%{_bindir}/dsc-datatool
84+
%{perl_vendorlib}/App/DSC/DataTool.pm
85+
%{perl_vendorlib}/App/DSC/DataTool/
86+
%{_mandir}/man1/dsc-datatool.1.gz
87+
%{_mandir}/man3/App::DSC::DataTool.3*
88+
%{_mandir}/man3/App::DSC::DataTool::Dataset.3*
89+
%{_mandir}/man3/App::DSC::DataTool::Dataset::Dimension.3*
90+
%{_mandir}/man3/App::DSC::DataTool::Error.3*
91+
%{_mandir}/man3/App::DSC::DataTool::Errors.3*
92+
%{_mandir}/man3/App::DSC::DataTool::Generator.3*
93+
%{_mandir}/man3/App::DSC::DataTool::Generator::client_ports_count.3*
94+
%{_mandir}/man3/App::DSC::DataTool::Generator::client_subnet_authority.3*
95+
%{_mandir}/man3/App::DSC::DataTool::Generator::client_subnet_country.3*
96+
%{_mandir}/man3/App::DSC::DataTool::Generators.3*
97+
%{_mandir}/man3/App::DSC::DataTool::Input.3*
98+
%{_mandir}/man3/App::DSC::DataTool::Input::DAT.3*
99+
%{_mandir}/man3/App::DSC::DataTool::Input::XML.3*
100+
%{_mandir}/man3/App::DSC::DataTool::Inputs.3*
101+
%{_mandir}/man3/App::DSC::DataTool::Log.3*
102+
%{_mandir}/man3/App::DSC::DataTool::Output.3*
103+
%{_mandir}/man3/App::DSC::DataTool::Output::Carbon.3*
104+
%{_mandir}/man3/App::DSC::DataTool::Output::InfluxDB.3*
105+
%{_mandir}/man3/App::DSC::DataTool::Outputs.3*
106+
%{_mandir}/man3/App::DSC::DataTool::Transformer.3*
107+
%{_mandir}/man3/App::DSC::DataTool::Transformer::Labler.3*
108+
%{_mandir}/man3/App::DSC::DataTool::Transformer::NetRemap.3*
109+
%{_mandir}/man3/App::DSC::DataTool::Transformer::ReRanger.3*
110+
%{_mandir}/man3/App::DSC::DataTool::Transformers.3*
111+
%endif
61112

62113

63114
%changelog
115+
* Fri May 31 2019 Jerry Lundström <lundstrom.jerry@gmail.com> 0.05-1
116+
- Release 0.05
117+
* Fixed issue with empty values in InfluxDB output, they are now
118+
quoted as an empty string.
119+
* Commits:
120+
9917c4e InfluxDB quote keys/values
64121
* Mon Jan 21 2019 Jerry Lundström <lundstrom.jerry@gmail.com> 0.04-1
65122
- Release 0.04
66123
* Package dependency fix and update of example Grafana dashboards.

0 commit comments

Comments
 (0)