]> git.proxmox.com Git - libtpms.git/commitdiff
rpm: Address some of the rpmlint complaints
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Wed, 12 Sep 2018 23:31:05 +0000 (19:31 -0400)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Thu, 13 Sep 2018 13:48:45 +0000 (09:48 -0400)
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
dist/libtpms.spec
dist/libtpms.spec.in

index addad2f2e0f9f64f398d6358f93a5ff84adcd7da..3504ad53c7827a4735bd5739d8c2ca3ba30599db 100644 (file)
@@ -18,9 +18,9 @@ Version:        %{version}
 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
@@ -86,7 +86,7 @@ Libtpms header files and documentation.
 CFLAGS=-O0
 %endif
 ./autogen.sh \
-       --with-tpm2 \
+        --with-tpm2 \
         --disable-static \
         --prefix=/usr \
         --libdir=%{_libdir} \
index 368309980b8e94b7461172e16ea77fbaa0f24f9f..d41ccd63e48776cc6be1147de4e558a5be0943fc 100644 (file)
@@ -18,9 +18,9 @@ Version:        %{version}
 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
@@ -86,7 +86,7 @@ Libtpms header files and documentation.
 CFLAGS=-O0
 %endif
 ./autogen.sh \
-       --with-tpm2 \
+        --with-tpm2 \
         --disable-static \
         --prefix=/usr \
         --libdir=%{_libdir} \