diff --git a/1f8d16200050b59ff9b859ee7565cdf7b08053bb.tar.gz b/pi-bluetooth-1f8d16200050b59ff9b859ee7565cdf7b08053bb.tar.gz similarity index 100% rename from 1f8d16200050b59ff9b859ee7565cdf7b08053bb.tar.gz rename to pi-bluetooth-1f8d16200050b59ff9b859ee7565cdf7b08053bb.tar.gz diff --git a/raspberrypi-bluetooth.spec b/raspberrypi-bluetooth.spec index c11af3d..e0ab7db 100644 --- a/raspberrypi-bluetooth.spec +++ b/raspberrypi-bluetooth.spec @@ -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 - 20200904-2 +- Change source0's name. + * Fri Sep 4 2020 Yafen Fang - 20200904-1 - Update pi-bluetooth version to 0.1.15 release.