Hello community,

here is the log from the commit of package tpm2-0-tss for openSUSE:Factory 
checked in at 2020-10-28 09:58:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tpm2-0-tss (Old)
 and      /work/SRC/openSUSE:Factory/.tpm2-0-tss.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tpm2-0-tss"

Wed Oct 28 09:58:30 2020 rev:24 rq:844057 version:3.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes    2020-02-26 
15:02:08.792844028 +0100
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new.3463/tpm2-0-tss.changes  
2020-10-28 09:58:47.723162099 +0100
@@ -1,0 +2,18 @@
+Thu Oct 22 11:38:52 UTC 2020 - Matthias Gerstner <matthias.gerst...@suse.com>
+
+- move the tcti-fapi tmpfiles.d config file into the libtss2-fapi1 sub-package.
+- improve the descriptions of new libraries (fapi1, cmd0, swtpm0)
+- adjust baselibs.conf to match new library versions and added libraries
+
+-------------------------------------------------------------------
+Mon Oct 19 13:30:39 UTC 2020 - Guillaume GARDET <guillaume.gar...@opensuse.org>
+
+- Update to 3.0.1, changelog at:
+  https://github.com/tpm2-software/tpm2-tss/blob/3.0.x/CHANGELOG.md
+- Update libtss2-sys0 to libtss2-sys1
+- Add new libs:
+  * libtss2-fapi1
+  * libtss2-tcti-cmd0
+  * libtss2-tcti-swtpm0
+
+-------------------------------------------------------------------

Old:
----
  tpm2-tss-2.3.3.tar.gz

New:
----
  tpm2-tss-3.0.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ tpm2-0-tss.spec ++++++
--- /var/tmp/diff_new_pack.D3aA8L/_old  2020-10-28 09:58:48.759162824 +0100
+++ /var/tmp/diff_new_pack.D3aA8L/_new  2020-10-28 09:58:48.763162827 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package tpm2-0-tss
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           tpm2-0-tss
-Version:        2.3.3
+Version:        3.0.1
 Release:        0
 Summary:        Intel's TCG Software Stack access libraries for TPM 2.0 chips
 License:        BSD-2-Clause
@@ -27,7 +27,9 @@
 Source2:        baselibs.conf
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
+BuildRequires:  libcurl-devel
 BuildRequires:  libgcrypt-devel
+BuildRequires:  libjson-c-devel
 BuildRequires:  libopenssl-devel
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(udev)
@@ -60,11 +62,14 @@
 Group:          Development/Libraries/C and C++
 Requires:       glibc-devel
 Requires:       libtss2-esys0 = %{version}
+Requires:       libtss2-fapi1 = %{version}
 Requires:       libtss2-mu0 = %{version}
 Requires:       libtss2-rc0 = %{version}
-Requires:       libtss2-sys0 = %{version}
+Requires:       libtss2-sys1 = %{version}
+Requires:       libtss2-tcti-cmd0 = %{version}
 Requires:       libtss2-tcti-device0 = %{version}
 Requires:       libtss2-tcti-mssim0 = %{version}
+Requires:       libtss2-tcti-swtpm0 = %{version}
 Requires:       libtss2-tctildr0 = %{version}
 Requires:       tpm2-0-tss = %{version}
 
@@ -84,11 +89,11 @@
 encryption values. Both the synchronous and asynchronous API are exposed
 through this library.
 
-%package -n libtss2-sys0
+%package -n libtss2-sys1
 Summary:        TPM2 System API (SAPI)
 Group:          System/Libraries
 
-%description -n libtss2-sys0
+%description -n libtss2-sys1
 System API (SAPI) as described in the system level API and TPM command
 transmission interface specification. This API is a 1-to-1 mapping of the TPM2
 commands documented in Part 3 of the TPM2 specification. Additionally there
@@ -138,11 +143,42 @@
 TPM Command Transmission Interface library for communicating using the
 protocol exposed by the Microsoft software TPM2 simulator.
 
+%package -n     libtss2-fapi1
+Summary:        FAPI interface library
+Group:          System/Libraries
+
+%description -n libtss2-fapi1
+This is the tpm2 Feature API (FAPI) library. This API is designed to be very
+high-level API, intended to make programming with the TPM as simple as
+possible.
+
+%package -n     libtss2-tcti-cmd0
+Summary:        TCTI cmd interface library
+Group:          System/Libraries
+
+%description -n libtss2-tcti-cmd0
+A TCTI for interaction with a subprocess. It abstracts the details of direct
+communication with the interface and protocol exposed by a subprocess that can
+receive and transmit raw TPM2 command and response buffers.
+
+%package -n     libtss2-tcti-swtpm0
+Summary:        TCTI swtpm interface library
+Group:          System/Libraries
+
+%description -n libtss2-tcti-swtpm0
+A TCTI for interaction with the TPM2 software simulator. It abstracts the
+details of direct communication with the interface and protocol exposed by the
+daemon hosting the TPM2 reference implementation.
+
 %prep
 %setup -q -n tpm2-tss-%{version}
 
 %build
-%configure --disable-static --with-udevrulesdir=%{_udevrulesdir}
+%configure --disable-static \
+    --with-udevrulesdir=%{_udevrulesdir} \
+    --with-runstatedir=%{_rundir} \
+    --with-tmpfilesdir=%{_tmpfilesdir} \
+    --with-sysusersdir=%{_sysusersdir}
 make %{?_smp_mflags} PTHREAD_LDFLAGS=-pthread
 
 %install
@@ -157,8 +193,8 @@
 
 %post -n libtss2-esys0 -p /sbin/ldconfig
 %postun -n libtss2-esys0 -p /sbin/ldconfig
-%post -n libtss2-sys0 -p /sbin/ldconfig
-%postun -n libtss2-sys0 -p /sbin/ldconfig
+%post -n libtss2-sys1 -p /sbin/ldconfig
+%postun -n libtss2-sys1 -p /sbin/ldconfig
 %post -n libtss2-tctildr0 -p /sbin/ldconfig
 %postun -n libtss2-tctildr0 -p /sbin/ldconfig
 %post -n libtss2-tcti-device0 -p /sbin/ldconfig
@@ -169,14 +205,28 @@
 %postun -n libtss2-mu0 -p /sbin/ldconfig
 %post -n libtss2-rc0 -p /sbin/ldconfig
 %postun -n libtss2-rc0 -p /sbin/ldconfig
+%post -n libtss2-fapi1
+/sbin/ldconfig
+%tmpfiles_create %_tmpfilesdir/tpm2-tss-fapi.conf
+%postun -n libtss2-fapi1 -p /sbin/ldconfig
+%post -n libtss2-tcti-cmd0 -p /sbin/ldconfig
+%postun -n libtss2-tcti-cmd0 -p /sbin/ldconfig
+%post -n libtss2-tcti-swtpm0 -p /sbin/ldconfig
+%postun -n libtss2-tcti-swtpm0 -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
 %doc *.md
 %license LICENSE
 %{_mandir}/man3/*
+%{_mandir}/man5/*
 %{_mandir}/man7/tss2-*
 %{_udevrulesdir}/%{udev_rule_file}
+%{_sysusersdir}/tpm2-tss.conf
+%dir /etc/tpm2-tss/
+%config /etc/tpm2-tss/fapi-config.json
+%dir /etc/tpm2-tss/fapi-profiles
+%config /etc/tpm2-tss/fapi-profiles/*.json
 
 %files devel
 %defattr(-,root,root)
@@ -188,7 +238,7 @@
 %defattr(-,root,root)
 %{_libdir}/libtss2-esys.so.*
 
-%files -n libtss2-sys0
+%files -n libtss2-sys1
 %defattr(-,root,root)
 %{_libdir}/libtss2-sys.so.*
 
@@ -212,4 +262,25 @@
 %defattr(-,root,root)
 %{_libdir}/libtss2-tcti-mssim.so.*
 
+%files -n libtss2-fapi1
+%defattr(-,root,root)
+%{_libdir}/libtss2-fapi.so.*
+%{_tmpfilesdir}/tpm2-tss-fapi.conf
+# this would fix "tmpfile-not-in-filelist" warnings but when adding these
+# entries then it complains about "directories not owned by a package:" for
+# /run/tpm2-0-tss & friends. When adding them as %ghost, too, then Leap15.1
+# complains about "found conflict of libtss2-fapi1-3.0.1-lp152.103.1.x86_64
+# with libtss2-fapi1-3.0.1-lp152.103.1.x86_64". Thus leave it be for the
+# moment, some insane circle of errors is involved here.
+#%%ghost %{_sharedstatedir}/%{name}/system/keystore
+#%%ghost %{_rundir}/%{name}/eventlog
+
+%files -n libtss2-tcti-cmd0
+%defattr(-,root,root)
+%{_libdir}/libtss2-tcti-cmd.so.*
+
+%files -n libtss2-tcti-swtpm0
+%defattr(-,root,root)
+%{_libdir}/libtss2-tcti-swtpm.so.*
+
 %changelog

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.D3aA8L/_old  2020-10-28 09:58:48.803162855 +0100
+++ /var/tmp/diff_new_pack.D3aA8L/_new  2020-10-28 09:58:48.803162855 +0100
@@ -1,5 +1,10 @@
-libtss2-sys0
 libtss2-esys0
+libtss2-fapi1
 libtss2-mu0
+libtss2-rc0
+libtss2-sys1
+libtss2-tcti-cmd0
 libtss2-tcti-device0
+libtss2-tctildr0
 libtss2-tcti-mssim0
+libtss2-tcti-swtpm0

++++++ tpm2-tss-2.3.3.tar.gz -> tpm2-tss-3.0.1.tar.gz ++++++
++++ 160565 lines of diff (skipped)


Reply via email to