Accepting request 1118132 from home:chrBrd:branches:hardware
Tidies and improvements to specfile. OBS-URL: https://build.opensuse.org/request/show/1118132 OBS-URL: https://build.opensuse.org/package/show/hardware/gasket-driver?expand=0&rev=16
This commit is contained in:
parent
c2905939b6
commit
9602260a0f
2
_service
2
_service
@ -12,7 +12,7 @@ https://en.opensuse.org/openSUSE:Build_Service_Concept_SourceService
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git</param>
|
||||
<param name="revision">main</param>
|
||||
<param name="version">1.0.18</param>
|
||||
<param name="versionformat">1.0.18_%h</param>
|
||||
</service>
|
||||
<!-- Compress source files into a tarball. -->
|
||||
<service name="tar" mode="buildtime"/>
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0dfde4e03666e728432b508a524e92495d3bf2bc131241042d89b370479b73b7
|
||||
size 257547
|
3
gasket-driver-1.0.18_09385d4.obscpio
Normal file
3
gasket-driver-1.0.18_09385d4.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b23694f2d97ed358dc8875a251f0148a5f5573e785a60a38495cab3fc6b504d3
|
||||
size 257547
|
@ -13,5 +13,3 @@ addFilter("E: no-binary")
|
||||
|
||||
# This error is introduced by the KMP sub-package build.
|
||||
addFilter("gasket-driver-kmp-.* E: suse-zypp-packageand")
|
||||
# This warning is introduced by the "pesign-repackage" Secure Boot cert package build.
|
||||
addFilter("gasket-driver-ueficert.* W: non-conffile-in-etc")
|
||||
|
@ -1,4 +1,4 @@
|
||||
name: gasket-driver
|
||||
version: 1.0.18
|
||||
version: 1.0.18_09385d4
|
||||
mtime: 1693941990
|
||||
commit: 09385d485812088e04a98a6e1227bf92663e0b59
|
||||
|
@ -33,8 +33,12 @@
|
||||
#
|
||||
# norootforbuild
|
||||
|
||||
# Upstream doesn't really do proper releases, so track the main branch
|
||||
# HEAD's commit hash as well.
|
||||
%define git_version 09385d4
|
||||
|
||||
Name: gasket-driver
|
||||
Version: 1.0.18
|
||||
Version: 1.0.18_%{git_version}
|
||||
Release: 0
|
||||
Summary: The Coral Gasket Driver allows usage of the Coral EdgeTPU on Linux systems
|
||||
License: GPL-2.0-only
|
||||
@ -43,7 +47,7 @@ URL: https://github.com/google/gasket-driver
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: group.conf
|
||||
Source2: preamble
|
||||
Source3: gasket-driver-rpmlintrc
|
||||
Source3: %{name}-rpmlintrc
|
||||
BuildRequires: %kernel_module_package_buildreqs
|
||||
BuildRequires: pesign-obs-integration
|
||||
BuildRequires: sysuser-tools
|
||||
@ -52,15 +56,18 @@ Requires: %{name}-kmp
|
||||
|
||||
# The dma-buf symbols used by this driver were moved into their own `DMA_BUF`
|
||||
# module namespace in kernel 5.16. Upstream's current attempt at fixing this
|
||||
# doesn't work with GCC versions that don't support the `__has_include` directive,
|
||||
# which is the case for Leap 15.5.
|
||||
|
||||
# doesn't work with GCC versions that don't support the `__has_include` directive.
|
||||
#
|
||||
# Affects:
|
||||
# - Leap 15.5
|
||||
#
|
||||
# See:
|
||||
# https://github.com/google/gasket-driver/pull/10
|
||||
# https://github.com/google/gasket-driver/pull/16
|
||||
# https://github.com/google/gasket-driver/issues/17
|
||||
#
|
||||
# PATCH-FIX-OPENSUSE leap-15-5-fix-for-backported-dma-buf-ns.patch gh#google/gasket-driver!10
|
||||
Patch0: leap-15-5-fix-for-backported-dma-buf-ns.patch
|
||||
# PATCH-FIX-OPENSUSE fix-for-backported-dma-buf-ns.patch gh#google/gasket-driver!10
|
||||
Patch0: fix-for-backported-dma-buf-ns.patch
|
||||
|
||||
# This directive instructs the build service to temporarily save the project's
|
||||
# certificate as %%_sourcedir/_projectcert.crt. See:
|
||||
@ -70,8 +77,8 @@ Patch0: leap-15-5-fix-for-backported-dma-buf-ns.patch
|
||||
#
|
||||
# needssslcertforbuild
|
||||
#
|
||||
# Having included the above directive, the below will cause the "ueficert" package
|
||||
#to get built.
|
||||
# Having included the above directive, the below line will
|
||||
# cause the "ueficert" package to get built.
|
||||
%kernel_module_package -p %_sourcedir/preamble
|
||||
|
||||
%description
|
||||
@ -81,18 +88,6 @@ The driver contains two modules:
|
||||
for lightweight communication with Google ASICs.
|
||||
- Apex refers to the EdgeTPU v1.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# This magic "KMP" subpackage is documented in
|
||||
# https://en.opensuse.org/Kernel_Module_Packages#Specfile_mechanisms
|
||||
|
||||
%package KMP
|
||||
Summary: Gasket Driver kernel modules
|
||||
Group: System/Kernel
|
||||
|
Loading…
x
Reference in New Issue
Block a user