Accepting request 936251 from home:aplanas:branches:security
- Obsoletes libtss2-fapi0 OBS-URL: https://build.opensuse.org/request/show/936251 OBS-URL: https://build.opensuse.org/package/show/security/tpm2-0-tss?expand=0&rev=113
This commit is contained in:
parent
7fefa963ed
commit
525e740b90
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 7 09:33:54 UTC 2021 - Alberto Planas Dominguez <aplanas@suse.com>
|
||||||
|
|
||||||
|
- Obsoletes libtss2-fapi0
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 15 15:51:04 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
Thu Jul 15 15:51:04 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||||
|
|
||||||
|
@ -25,16 +25,16 @@ Group: Productivity/Security
|
|||||||
URL: https://github.com/tpm2-software/tpm2-tss
|
URL: https://github.com/tpm2-software/tpm2-tss
|
||||||
Source0: https://github.com/tpm2-software/tpm2-tss/releases/download/%{version}/tpm2-tss-%{version}.tar.gz
|
Source0: https://github.com/tpm2-software/tpm2-tss/releases/download/%{version}/tpm2-tss-%{version}.tar.gz
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
BuildRequires: doxygen
|
|
||||||
BuildRequires: gcc-c++
|
|
||||||
BuildRequires: pkgconfig(libcurl)
|
|
||||||
BuildRequires: libgcrypt-devel
|
|
||||||
BuildRequires: pkgconfig(json-c)
|
|
||||||
BuildRequires: pkgconfig(libopenssl)
|
|
||||||
BuildRequires: pkgconfig
|
|
||||||
BuildRequires: pkgconfig(udev)
|
|
||||||
BuildRequires: /usr/sbin/groupadd
|
BuildRequires: /usr/sbin/groupadd
|
||||||
BuildRequires: acl
|
BuildRequires: acl
|
||||||
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: libgcrypt-devel
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: pkgconfig(json-c)
|
||||||
|
BuildRequires: pkgconfig(libcurl)
|
||||||
|
BuildRequires: pkgconfig(libopenssl)
|
||||||
|
BuildRequires: pkgconfig(udev)
|
||||||
# The same user is employed by trousers (and was employed by the old
|
# The same user is employed by trousers (and was employed by the old
|
||||||
# resourcemgr shipped with the tpm2-0-tss package):
|
# resourcemgr shipped with the tpm2-0-tss package):
|
||||||
#
|
#
|
||||||
@ -70,8 +70,8 @@ Requires: libtss2-sys1 = %{version}
|
|||||||
Requires: libtss2-tcti-cmd0 = %{version}
|
Requires: libtss2-tcti-cmd0 = %{version}
|
||||||
Requires: libtss2-tcti-device0 = %{version}
|
Requires: libtss2-tcti-device0 = %{version}
|
||||||
Requires: libtss2-tcti-mssim0 = %{version}
|
Requires: libtss2-tcti-mssim0 = %{version}
|
||||||
Requires: libtss2-tcti-swtpm0 = %{version}
|
|
||||||
Requires: libtss2-tcti-pcap0 = %{version}
|
Requires: libtss2-tcti-pcap0 = %{version}
|
||||||
|
Requires: libtss2-tcti-swtpm0 = %{version}
|
||||||
Requires: libtss2-tctildr0 = %{version}
|
Requires: libtss2-tctildr0 = %{version}
|
||||||
Requires: tpm2-0-tss = %{version}
|
Requires: tpm2-0-tss = %{version}
|
||||||
|
|
||||||
@ -148,6 +148,7 @@ protocol exposed by the Microsoft software TPM2 simulator.
|
|||||||
%package -n libtss2-fapi1
|
%package -n libtss2-fapi1
|
||||||
Summary: FAPI interface library
|
Summary: FAPI interface library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
Obsoletes: libtss2-fapi0 < %{version}
|
||||||
|
|
||||||
%description -n libtss2-fapi1
|
%description -n libtss2-fapi1
|
||||||
This is the tpm2 Feature API (FAPI) library. This API is designed to be very
|
This is the tpm2 Feature API (FAPI) library. This API is designed to be very
|
||||||
@ -192,7 +193,7 @@ export PATH="$PATH:%{_sbindir}"
|
|||||||
--with-runstatedir=%{_rundir} \
|
--with-runstatedir=%{_rundir} \
|
||||||
--with-tmpfilesdir=%{_tmpfilesdir} \
|
--with-tmpfilesdir=%{_tmpfilesdir} \
|
||||||
--with-sysusersdir=%{_sysusersdir}
|
--with-sysusersdir=%{_sysusersdir}
|
||||||
make %{?_smp_mflags} PTHREAD_LDFLAGS=-pthread
|
%make_build PTHREAD_LDFLAGS=-pthread
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
@ -204,7 +205,7 @@ mv %{buildroot}%{_udevrulesdir}/tpm-udev.rules %{buildroot}%{_udevrulesdir}/%{ud
|
|||||||
rm %{buildroot}%{_sysusersdir}/tpm2-tss.conf
|
rm %{buildroot}%{_sysusersdir}/tpm2-tss.conf
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%_bindir/udevadm trigger -s tpm -s tpmrm || :
|
%{_bindir}/udevadm trigger -s tpm -s tpmrm || :
|
||||||
|
|
||||||
%post -n libtss2-esys0 -p /sbin/ldconfig
|
%post -n libtss2-esys0 -p /sbin/ldconfig
|
||||||
%postun -n libtss2-esys0 -p /sbin/ldconfig
|
%postun -n libtss2-esys0 -p /sbin/ldconfig
|
||||||
@ -220,9 +221,11 @@ rm %{buildroot}%{_sysusersdir}/tpm2-tss.conf
|
|||||||
%postun -n libtss2-mu0 -p /sbin/ldconfig
|
%postun -n libtss2-mu0 -p /sbin/ldconfig
|
||||||
%post -n libtss2-rc0 -p /sbin/ldconfig
|
%post -n libtss2-rc0 -p /sbin/ldconfig
|
||||||
%postun -n libtss2-rc0 -p /sbin/ldconfig
|
%postun -n libtss2-rc0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n libtss2-fapi1
|
%post -n libtss2-fapi1
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%tmpfiles_create %_tmpfilesdir/tpm2-tss-fapi.conf
|
%tmpfiles_create %{_tmpfilesdir}/tpm2-tss-fapi.conf
|
||||||
|
|
||||||
%postun -n libtss2-fapi1 -p /sbin/ldconfig
|
%postun -n libtss2-fapi1 -p /sbin/ldconfig
|
||||||
%post -n libtss2-tcti-cmd0 -p /sbin/ldconfig
|
%post -n libtss2-tcti-cmd0 -p /sbin/ldconfig
|
||||||
%postun -n libtss2-tcti-cmd0 -p /sbin/ldconfig
|
%postun -n libtss2-tcti-cmd0 -p /sbin/ldconfig
|
||||||
@ -231,7 +234,6 @@ rm %{buildroot}%{_sysusersdir}/tpm2-tss.conf
|
|||||||
%post -n libtss2-tcti-pcap0 -p /sbin/ldconfig
|
%post -n libtss2-tcti-pcap0 -p /sbin/ldconfig
|
||||||
%postun -n libtss2-tcti-pcap0 -p /sbin/ldconfig
|
%postun -n libtss2-tcti-pcap0 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc *.md
|
%doc *.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@ -239,10 +241,10 @@ rm %{buildroot}%{_sysusersdir}/tpm2-tss.conf
|
|||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
%{_mandir}/man7/tss2-*
|
%{_mandir}/man7/tss2-*
|
||||||
%{_udevrulesdir}/%{udev_rule_file}
|
%{_udevrulesdir}/%{udev_rule_file}
|
||||||
%dir /etc/tpm2-tss/
|
%dir %{_sysconfdir}/tpm2-tss/
|
||||||
%config /etc/tpm2-tss/fapi-config.json
|
%config %{_sysconfdir}/tpm2-tss/fapi-config.json
|
||||||
%dir /etc/tpm2-tss/fapi-profiles
|
%dir %{_sysconfdir}/tpm2-tss/fapi-profiles
|
||||||
%config /etc/tpm2-tss/fapi-profiles/*.json
|
%config %{_sysconfdir}/tpm2-tss/fapi-profiles/*.json
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/tss2
|
%{_includedir}/tss2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user