commit sexp for openSUSE:Factory

2023-06-23 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sexp for openSUSE:Factory checked in 
at 2023-06-23 21:53:39

Comparing /work/SRC/openSUSE:Factory/sexp (Old)
 and  /work/SRC/openSUSE:Factory/.sexp.new.15902 (New)


Package is "sexp"

Fri Jun 23 21:53:39 2023 rev:3 rq:1094875 version:0.8.6

Changes:

--- /work/SRC/openSUSE:Factory/sexp/sexp.changes2023-06-21 
22:41:29.326959610 +0200
+++ /work/SRC/openSUSE:Factory/.sexp.new.15902/sexp.changes 2023-06-23 
21:53:46.807019103 +0200
@@ -1,0 +2,8 @@
+Fri Jun 23 12:10:51 UTC 2023 - Andreas Stieger 
+
+- sexp 0.8.6
+  * Explicitly indicate library versioning (SOVERSION)
+  * Add a manpage for the sexp CLI
+- drop sexp-0.8.5-soversion.patch
+
+---

Old:

  sexp-0.8.5-soversion.patch
  sexp-0.8.5.tar.gz

New:

  sexp-0.8.6.tar.gz



Other differences:
--
++ sexp.spec ++
--- /var/tmp/diff_new_pack.miix7F/_old  2023-06-23 21:53:47.431022679 +0200
+++ /var/tmp/diff_new_pack.miix7F/_new  2023-06-23 21:53:47.439022725 +0200
@@ -19,13 +19,12 @@
 
 %define soversion 0
 Name:   sexp
-Version:0.8.5
+Version:0.8.6
 Release:0
 Summary:S-expressions parser and generator library
 License:MIT
 URL:https://github.com/rnpgp/sexp
 Source: 
https://github.com/rnpgp/sexp/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-Patch1: sexp-0.8.5-soversion.patch
 BuildRequires:  c++_compiler
 BuildRequires:  cmake >= 3.14
 BuildRequires:  gtest >= 1.8.1
@@ -79,10 +78,12 @@
 %license LICENSE.md
 %doc README.adoc
 %{_bindir}/sexp
+%{_mandir}/man1/*.1%{?ext_man}
 
 %files -n libsexp%{soversion}
 %license LICENSE.md
 %{_libdir}/libsexp.so.%{soversion}
+%{_libdir}/libsexp.so.%{soversion}.*
 
 %files devel
 %license LICENSE.md

++ sexp-0.8.5.tar.gz -> sexp-0.8.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sexp-0.8.5/CMakeLists.txt 
new/sexp-0.8.6/CMakeLists.txt
--- old/sexp-0.8.5/CMakeLists.txt   2023-06-20 19:52:20.0 +0200
+++ new/sexp-0.8.6/CMakeLists.txt   2023-06-22 21:32:24.0 +0200
@@ -130,8 +130,20 @@
 $
 $
 )
-set_target_properties(sexp PROPERTIES POSITION_INDEPENDENT_CODE ON)
-set_target_properties(sexp PROPERTIES RUNTIME_OUTPUT_DIRECTORY 
${CMAKE_BINARY_DIR}/bin)
+
+string(REGEX MATCH "^([0-9]+)\\.[0-9]+\\.[0-9]+$" vmatches "${SEXP_VERSION}")
+if (NOT vmatches)
+  message(FATAL_ERROR "Failed to extract major version from SEXP_VERSION 
(${SEXP_VERSION}).")
+endif()
+set(SEXP_MAJOR_VERSION "${CMAKE_MATCH_1}")
+
+set_target_properties(sexp PROPERTIES
+  POSITION_INDEPENDENT_CODE ON
+  RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
+  VERSION "${SEXP_VERSION}"
+  SOVERSION "${SEXP_MAJOR_VERSION}"
+  OUTPUT_NAME "sexp"
+)
 
 if(WITH_SEXP_CLI)
 add_executable (sexp-cli
@@ -257,4 +269,5 @@
 install(FILES "${CONFIGURED_PC}" DESTINATION 
"${CMAKE_INSTALL_LIBDIR}/pkgconfig")
 if(WITH_SEXP_CLI)
 install(TARGETS sexp-cli DESTINATION "${CMAKE_INSTALL_BINDIR}")
+install(FILES man/sexp.1 DESTINATION "${CMAKE_INSTALL_MANDIR}/man1")
 endif(WITH_SEXP_CLI)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sexp-0.8.5/man/sexp.1 new/sexp-0.8.6/man/sexp.1
--- old/sexp-0.8.5/man/sexp.1   1970-01-01 01:00:00.0 +0100
+++ new/sexp-0.8.6/man/sexp.1   2023-06-22 21:32:24.0 +0200
@@ -0,0 +1,67 @@
+.TH SEXP "1" "June 2023" "sexp" "User Commands"
+
+.SH NAME
+
+sexp - Read, parse, and print out S-expressions
+
+.SH SYNOPSIS
+
+.B cat certificate-file | sexp -a -x
+
+.SH DESCRIPTION
+
+\fBsexp\fP typically reads an S-expression from standard input and rewrites it 
to standard output.
+
+Running without switches implies: -p -a -b -c -x
+
+.SH INPUT OPTIONS
+
+.B -i filename
+Takes input from file instead of stdin.
+.TP
+.B -p
+Prompts user for console input.
+.TP
+.B -s
+Treat input up to EOF as a single string, instead of parsing.
+
+.SH CONTROL LOOP
+
+The main routine typically reads one S-expression, prints it out again, and 
stops.  This may be modified:
+.TP
+.B -x
+Execute main loop repeatedly until end of file.
+
+.SH OUTPUT OPTIONS
+
+The output format is normally canonical, but this can be changed.
+More than one output format can be requested at once.
+
+.TP
+.B -o filename
+Write output to file instead of stdout.
+.TP
+.B -a
+Write output in advanced transport format.
+.TP
+.B -b
+Write output in base-64 output format.
+.TP
+.B -c
+Write output in canonical format.
+.TP
+.B -l
+Suppress linefeeds after output.
+.TP
+.B -w width
+Changes line width to specified width 

commit sexp for openSUSE:Factory

2023-06-21 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sexp for openSUSE:Factory checked in 
at 2023-06-21 22:40:37

Comparing /work/SRC/openSUSE:Factory/sexp (Old)
 and  /work/SRC/openSUSE:Factory/.sexp.new.15902 (New)


Package is "sexp"

Wed Jun 21 22:40:37 2023 rev:2 rq:1094486 version:0.8.5

Changes:

--- /work/SRC/openSUSE:Factory/sexp/sexp.changes2023-06-16 
16:54:26.101560474 +0200
+++ /work/SRC/openSUSE:Factory/.sexp.new.15902/sexp.changes 2023-06-21 
22:41:29.326959610 +0200
@@ -1,0 +2,9 @@
+Wed Jun 21 19:46:57 UTC 2023 - Andreas Stieger 
+
+- sexp 0.8.5:
+  * license clarified to MIT
+  * Limit allowed nesting layers in print_xxx
+- drop sexp-0.8.4-shared-lib.patch
+- add sexp-0.8.5-soversion.patch
+
+---

Old:

  sexp-0.8.4-shared-lib.patch
  sexp-0.8.4.tar.gz

New:

  sexp-0.8.5-soversion.patch
  sexp-0.8.5.tar.gz



Other differences:
--
++ sexp.spec ++
--- /var/tmp/diff_new_pack.5exZXK/_old  2023-06-21 22:41:30.074964111 +0200
+++ /var/tmp/diff_new_pack.5exZXK/_new  2023-06-21 22:41:30.078964136 +0200
@@ -1,6 +1,7 @@
 #
 # spec file for package sexp
 #
+# Copyright (c) 2023 SUSE LLC
 # Copyright (c) 2023 Andreas Stieger 
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,13 +19,13 @@
 
 %define soversion 0
 Name:   sexp
-Version:0.8.4
+Version:0.8.5
 Release:0
 Summary:S-expressions parser and generator library
 License:MIT
 URL:https://github.com/rnpgp/sexp
 Source: 
https://github.com/rnpgp/sexp/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-Patch0: sexp-0.8.4-shared-lib.patch
+Patch1: sexp-0.8.5-soversion.patch
 BuildRequires:  c++_compiler
 BuildRequires:  cmake >= 3.14
 BuildRequires:  gtest >= 1.8.1
@@ -62,6 +63,7 @@
 %build
 %cmake \
-DDOWNLOAD_GTEST:BOOL=OFF \
+   -DBUILD_SHARED_LIBS:BOOL=ON \
%{nil}
 %cmake_build
 

++ sexp-0.8.5-soversion.patch ++
Index: sexp-0.8.5/CMakeLists.txt
===
--- sexp-0.8.5.orig/CMakeLists.txt
+++ sexp-0.8.5/CMakeLists.txt
@@ -124,6 +124,7 @@ add_library(sexp ${TYPE}
 "include/sexp/sexp-error.h"
 "include/sexp/ext-key-format.h"
 )
+set_target_properties(sexp PROPERTIES SOVERSION 0)
 
 target_compile_features(sexp PUBLIC cxx_std_11)
 target_include_directories(sexp PUBLIC

++ sexp-0.8.4.tar.gz -> sexp-0.8.5.tar.gz ++
 2440 lines of diff (skipped)