SHA256
1
0
forked from pool/jc

Accepting request 913707 from home:mnhauke

- Update to version 1.16.1
  * Fix issue with process substitution with the magic syntax.
  * Fix issue with globs not including filenames with spaces with
    magic syntax.

- Update to version 1.16.0
  * Fix Man page location in source packages.
  * Add sfdisk command parser tested on linux.
  * Update unit test files to change the timezone when needed
    (POSIX only).

OBS-URL: https://build.opensuse.org/request/show/913707
OBS-URL: https://build.opensuse.org/package/show/utilities/jc?expand=0&rev=11
This commit is contained in:
Michael Vetter 2021-08-25 07:10:57 +00:00 committed by Git OBS Bridge
parent d1753df813
commit af43fd3fd9
4 changed files with 30 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ccb6769ded0ae53f8cba4aa82bc6c762b186dcd4f6e6b111b61bd314bde6767
size 2147755

3
jc-1.16.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c156816c30b93fbca33c4340eb72713c3b19d6cd5816dd282fcba84b4411c32f
size 2532367

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Thu Aug 19 19:08:12 UTC 2021 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.16.1
* Fix issue with process substitution with the magic syntax.
* Fix issue with globs not including filenames with spaces with
magic syntax.
-------------------------------------------------------------------
Wed Jul 21 16:55:07 UTC 2021 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.16.0
* Fix Man page location in source packages.
* Add sfdisk command parser tested on linux.
* Update unit test files to change the timezone when needed
(POSIX only).
-------------------------------------------------------------------
Fri Jan 8 10:04:14 UTC 2021 - Martin Hauke <mardnh@gmx.de>

12
jc.spec
View File

@ -18,7 +18,7 @@
Name: jc
Version: 1.14.1
Version: 1.16.1
Release: 0
Summary: JSON CLI output utility
License: MIT
@ -35,6 +35,7 @@ Requires: python3-xmltodict >= 0.12.0
Recommends: jq
BuildArch: noarch
# SECTION test requirements
BuildRequires: python3-Faker
BuildRequires: python3-Pygments >= 2.3.0
BuildRequires: python3-ifconfig-parser >= 0.0.5
BuildRequires: python3-pytest
@ -54,15 +55,22 @@ and file types for easier parsing in scripts.
%install
%python3_install
install -Dpm 0644 man/jc.1 %{buildroot}/%{_mandir}/man1/jc.1
%fdupes %{buildroot}%{python3_sitelib}
%check
python3 -m pytest -v
# checks disabled for now since checks need to be run with specific timezone settings.
# For some reason this does not correctly work in the OBS chroot.
# * https://github.com/kellyjonbrazil/jc/issues/126
# * https://github.com/kellyjonbrazil/jc/issues/148
#export TZ="America/Los_Angeles"
#python3 -m pytest -v
%files
%license LICENSE.md
%doc CHANGELOG README.md
%{_bindir}/jc
%{_mandir}/man1/jc.1%{?ext_man}
%{python3_sitelib}/jc*
%changelog