change source0's name
This commit is contained in:
parent
b6722177fd
commit
38f79bacf3
@ -7,7 +7,7 @@
|
||||
|
||||
Name: raspberrypi-bluetooth
|
||||
Version: 20200904
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: bluetooth files used for RaspberryPi
|
||||
License: BSD-3-Clause
|
||||
ExclusiveArch: aarch64
|
||||
@ -15,21 +15,20 @@ ExclusiveArch: aarch64
|
||||
Provides: raspberrypi-bluetooth = %{version}-%{release}
|
||||
|
||||
URL: https://github.com/RPi-Distro/pi-bluetooth
|
||||
Source0: https://github.com/RPi-Distro/pi-bluetooth/archive/%{commitid}.tar.gz
|
||||
Source0: https://github.com/RPi-Distro/pi-bluetooth/archive/%{commitid}/pi-bluetooth-%{commitid}.tar.gz
|
||||
|
||||
%description
|
||||
This package contains executable files of bluetooth required by some RaspberryPi devices.
|
||||
|
||||
%prep
|
||||
%setup -q -n pi-bluetooth-%{version} -c
|
||||
mv pi-bluetooth-%{commitid} %{name}-%{version}
|
||||
%setup -q -n %{name}-%{version} -c
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_bin_path}
|
||||
mkdir -p %{buildroot}%{_rules_path}
|
||||
mkdir -p %{buildroot}%{_systemd_path}
|
||||
mkdir -p %{buildroot}%{_license_path}
|
||||
cd %{name}-%{version}
|
||||
cd pi-bluetooth-%{commitid}
|
||||
install -p -m 755 usr/bin/* %{buildroot}%{_bin_path}/
|
||||
install -p -m 644 lib/udev/rules.d/90-pi-bluetooth.rules %{buildroot}%{_rules_path}/
|
||||
install -p -m 644 debian/pi-bluetooth.bthelper\@.service %{buildroot}%{_systemd_path}/bthelper\@.service
|
||||
@ -48,6 +47,9 @@ cd -
|
||||
%{_systemd_path}/*
|
||||
|
||||
%changelog
|
||||
* Wed Sep 16 2020 Yafen Fang<yafen@iscas.ac.cn> - 20200904-2
|
||||
- Change source0's name.
|
||||
|
||||
* Fri Sep 4 2020 Yafen Fang<yafen@iscas.ac.cn> - 20200904-1
|
||||
- Update pi-bluetooth version to 0.1.15 release.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user