Remaining rpmlint complaint is the download URL. There's currently no
public tar to download.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com
Release: %{release}%{?dist}
License: BSD
Group: Development/Libraries
-Url: http://sourceforge.net/projects/ibmswtpm
-Source: http://bergerstefan.users.sourceforge.net/libtpms/%{name}-%{version}.tar.gz
-Provides: libtpms-%{crypto_subsystem}
+Url: http://github.com/stefanberger/libtpms
+Source: http://github.com/stefanberger/libtpms/archive/v%{version}.tar.gz
+Provides: libtpms-%{crypto_subsystem} = %{version}-%{release}
%if "%{crypto_subsystem}" == "openssl"
BuildRequires: openssl-devel
CFLAGS=-O0
%endif
./autogen.sh \
- --with-tpm2 \
+ --with-tpm2 \
--disable-static \
--prefix=/usr \
--libdir=%{_libdir} \
Release: %{release}%{?dist}
License: BSD
Group: Development/Libraries
-Url: http://sourceforge.net/projects/ibmswtpm
-Source: http://bergerstefan.users.sourceforge.net/libtpms/%{name}-%{version}.tar.gz
-Provides: libtpms-%{crypto_subsystem}
+Url: http://github.com/stefanberger/libtpms
+Source: http://github.com/stefanberger/libtpms/archive/v%{version}.tar.gz
+Provides: libtpms-%{crypto_subsystem} = %{version}-%{release}
%if "%{crypto_subsystem}" == "openssl"
BuildRequires: openssl-devel
CFLAGS=-O0
%endif
./autogen.sh \
- --with-tpm2 \
+ --with-tpm2 \
--disable-static \
--prefix=/usr \
--libdir=%{_libdir} \