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