summaryrefslogtreecommitdiffstats
path: root/contrib/templates/rpm.spec
blob: 862a3b92b8b2b652eb044c105b5f61b598008d03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Name:           {{ package }}
Version:        {{ version }}
Release:        1%{?dist}
Summary:        Linux Firmware (upstream)
License:        Redistributable, no modification permitted
URL:            http://gitlab.com/kernel-firmware/linux-firmware
Source:         /dev/null
BuildArch:      noarch

%description
Monolithic snapshot of upstream linux-firmware package, intended to
to validate upstream firmware without conflicts to the distribution
package.

%prep
%setup -q

%build

%install
%define __strip /bin/true
rm -rf %{buildroot}
mkdir -p %{buildroot}/lib/firmware
cp -aR {{ cwd }}/updates %{buildroot}/lib/firmware

%files
%defattr(-,root,root,-)
/lib/firmware/updates/*

%post
dracut -fp --regenerate-all