Accepting request 72488 from Virtualization
I would like to submit libyajl to SLE11-SP2 (FATE#310918) but can't get it accepted with 'no-manual-page-for-binary' rpmlint filter. I've created some simple man pages for json_{reformat,verify} and would like to submit here for review/comment before re-submitting to SUSE:SLE-11-SP2:GA. Thanks. - Add man pages for json_{reformat,verify} OBS-URL: https://build.opensuse.org/request/show/72488 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libyajl?expand=0&rev=8
This commit is contained in:
parent
674112b1cb
commit
bd646bb122
22
json_reformat.1
Normal file
22
json_reformat.1
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
.TH json_reformat 1
|
||||||
|
.SH NAME
|
||||||
|
json_reformat \- Reformat json from stdin
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B json_reformat
|
||||||
|
[
|
||||||
|
.I OPTION
|
||||||
|
]
|
||||||
|
.SH "DESCRIPTION"
|
||||||
|
A sample program to demonstrate the use of yajl. json_reformat reformats json from stdin.
|
||||||
|
.SH OPTIONS
|
||||||
|
.TP
|
||||||
|
.B \-m
|
||||||
|
minimize json rather than beautify (default)
|
||||||
|
.TP
|
||||||
|
.B \-u
|
||||||
|
allow invalid UTF8 inside strings during parsing
|
||||||
|
.BR
|
||||||
|
.SH AUTHORS
|
||||||
|
Lloyd Hilaiel <lloyd@hilaiel.com>
|
||||||
|
|
||||||
|
|
25
json_verify.1
Normal file
25
json_verify.1
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
.TH json_verify 1
|
||||||
|
.SH NAME
|
||||||
|
json_verify \- Validate json from stdin
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B json_verify
|
||||||
|
[
|
||||||
|
.I OPTION
|
||||||
|
]
|
||||||
|
.SH "DESCRIPTION"
|
||||||
|
A sample program to demonstrate the use of yajl. json_verify validates json from stdin.
|
||||||
|
.SH OPTIONS
|
||||||
|
.TP
|
||||||
|
.B \-q
|
||||||
|
quiet mode
|
||||||
|
.TP
|
||||||
|
.B \-c
|
||||||
|
allow comments
|
||||||
|
.TP
|
||||||
|
.B \-u
|
||||||
|
allow invalid utf8 inside strings
|
||||||
|
.BR
|
||||||
|
.SH AUTHORS
|
||||||
|
Lloyd Hilaiel <lloyd@hilaiel.com>
|
||||||
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
|||||||
addFilter("no-dependency-on libyajl/libyajl-libs/liblibyajl")
|
addFilter("no-dependency-on libyajl/libyajl-libs/liblibyajl")
|
||||||
addFilter("libyajl-devel-static..*: W: shlib-policy-missing-lib")
|
addFilter("libyajl-devel-static..*: W: shlib-policy-missing-lib")
|
||||||
addFilter("no-manual-page-for-binary .*")
|
|
||||||
addFilter("macro-in-comment .*")
|
addFilter("macro-in-comment .*")
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 1 22:33:07 MDT 2011 - jfehlig@novell.com
|
||||||
|
|
||||||
|
- Add man pages for json_{reformat,verify}
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 13 10:43:49 MDT 2011 - jfehlig@novell.com
|
Wed Apr 13 10:43:49 MDT 2011 - jfehlig@novell.com
|
||||||
|
|
||||||
|
@ -46,6 +46,8 @@ Summary: Yet Another JSON Library
|
|||||||
# http://download.github.com/lloyd-yajl-%{version}-0-g%{githash}.tar.gz
|
# http://download.github.com/lloyd-yajl-%{version}-0-g%{githash}.tar.gz
|
||||||
Source: lloyd-yajl-%{version}-0-g%{githash}.tar.bz2
|
Source: lloyd-yajl-%{version}-0-g%{githash}.tar.bz2
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
|
Source2: json_reformat.1
|
||||||
|
Source3: json_verify.1
|
||||||
Patch1: libyajl-optflags.patch
|
Patch1: libyajl-optflags.patch
|
||||||
Patch2: libyajl-lib_suffix.patch
|
Patch2: libyajl-lib_suffix.patch
|
||||||
Source99: %{name}-rpmlintrc
|
Source99: %{name}-rpmlintrc
|
||||||
@ -134,6 +136,8 @@ popd build
|
|||||||
pushd build
|
pushd build
|
||||||
%makeinstall
|
%makeinstall
|
||||||
popd build
|
popd build
|
||||||
|
install -d -m 0755 $RPM_BUILD_ROOT%{_mandir}/man1
|
||||||
|
install -m644 %SOURCE2 %SOURCE3 $RPM_BUILD_ROOT/%{_mandir}/man1
|
||||||
|
|
||||||
%check
|
%check
|
||||||
cd test
|
cd test
|
||||||
@ -162,6 +166,8 @@ cd test
|
|||||||
|
|
||||||
%files -n yajl
|
%files -n yajl
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%doc %{_mandir}/man1/json_reformat.1*
|
||||||
|
%doc %{_mandir}/man1/json_verify.1*
|
||||||
%{_bindir}/json_reformat
|
%{_bindir}/json_reformat
|
||||||
%{_bindir}/json_verify
|
%{_bindir}/json_verify
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user