Source0 change to url and Update pi-bluetooth version to 0.1.15

This commit is contained in:
yafen 2020-09-03 23:54:56 +08:00
parent 042134e2d2
commit eba4c5581d
5 changed files with 116 additions and 43 deletions

Binary file not shown.

View File

@ -1,32 +0,0 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pi-bluetooth
Source: https://github.com/RPi-Distro/pi-bluetooth
Files: *
Copyright: 2016 Raspberry Pi (Trading) Ltd.
License: BSD-3-Clause
License: BSD-3-Clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE HOLDERS OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@ -2,11 +2,12 @@
%global _rules_path /lib/udev/rules.d
%global _systemd_path /lib/systemd/system
%global _license_path /usr/share/licenses/raspi
%global commitid 1f8d16200050b59ff9b859ee7565cdf7b08053bb
%global debug_package %{nil}
Name: raspberrypi-bluetooth
Version: 20200729
Release: 2
Version: 20200904
Release: 1
Summary: bluetooth files used for RaspberryPi
License: BSD-3-Clause
ExclusiveArch: aarch64
@ -14,26 +15,26 @@ ExclusiveArch: aarch64
Provides: raspberrypi-bluetooth = %{version}-%{release}
URL: https://github.com/RPi-Distro/pi-bluetooth
Source0: %{name}-%{version}.tar.gz
Source1: LICENCE.pi-bluetooth
%prep
%setup -q -c
Source0: https://github.com/RPi-Distro/pi-bluetooth/archive/%{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}
%install
mkdir -p %{buildroot}%{_bin_path}
mkdir -p %{buildroot}%{_rules_path}
mkdir -p %{buildroot}%{_systemd_path}
mkdir -p %{buildroot}%{_license_path}
install -p -m 644 %{_sourcedir}/LICENCE.* %{buildroot}%{_license_path}/
cd %{name}-%{version}
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
install -p -m 644 debian/pi-bluetooth.hciuart.service %{buildroot}%{_systemd_path}/hciuart.service
install -p -m 644 debian/copyright %{buildroot}%{_license_path}/LICENSE.pi-bluetooth
cd -
@ -47,7 +48,10 @@ cd -
%{_systemd_path}/*
%changelog
* Mon 31 Aug 2020 Yafen Fang<yafen@iscas.ac.cn> - 20200729-2
* Fri Sep 4 2020 Yafen Fang<yafen@iscas.ac.cn> - 20200904-1
- Update pi-bluetooth version to 0.1.15 release.
* Mon Aug 31 2020 Yafen Fang<yafen@iscas.ac.cn> - 20200729-2
- Add source url in spec.
* Wed Jul 29 2020 Yafen Fang<yafen@iscas.ac.cn> - 20200729-1

View File

@ -1,4 +1,105 @@
version_control: github
src_repo: RPi-Distro/pi-bluetooth
tag_prefix: "^v"
seperator: "."
tag_prefix: ^
seperator: .
last_query:
time_stamp: 2020-09-04 09:08:54.467147364 +08:00
raw_data:
{
"sha": "1f8d16200050b59ff9b859ee7565cdf7b08053bb",
"node_id": "MDY6Q29tbWl0Nzk4MTA0NTQ6MWY4ZDE2MjAwMDUwYjU5ZmY5Yjg1OWVlNzU2NWNkZjdiMDgwNTNiYg==",
"commit": {
"author": {
"name": "Serge Schneider",
"email": "serge@raspberrypi.com",
"date": "2020-08-19T14:46:31Z"
},
"committer": {
"name": "Serge Schneider",
"email": "serge@raspberrypi.com",
"date": "2020-08-19T14:46:31Z"
},
"message": "0.1.15 release",
"tree": {
"sha": "80fc22fcf7eb64d4cfb679bc7fbb597e8953116c",
"url": "https://api.github.com/repos/RPi-Distro/pi-bluetooth/git/trees/80fc22fcf7eb64d4cfb679bc7fbb597e8953116c"
},
"url": "https://api.github.com/repos/RPi-Distro/pi-bluetooth/git/commits/1f8d16200050b59ff9b859ee7565cdf7b08053bb",
"comment_count": 0,
"verification": {
"verified": false,
"reason": "unsigned",
"signature": null,
"payload": null
}
},
"url": "https://api.github.com/repos/RPi-Distro/pi-bluetooth/commits/1f8d16200050b59ff9b859ee7565cdf7b08053bb",
"html_url": "https://github.com/RPi-Distro/pi-bluetooth/commit/1f8d16200050b59ff9b859ee7565cdf7b08053bb",
"comments_url": "https://api.github.com/repos/RPi-Distro/pi-bluetooth/commits/1f8d16200050b59ff9b859ee7565cdf7b08053bb/comments",
"author": {
"login": "XECDesign",
"id": 1716509,
"node_id": "MDQ6VXNlcjE3MTY1MDk=",
"avatar_url": "https://avatars0.githubusercontent.com/u/1716509?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XECDesign",
"html_url": "https://github.com/XECDesign",
"followers_url": "https://api.github.com/users/XECDesign/followers",
"following_url": "https://api.github.com/users/XECDesign/following{/other_user}",
"gists_url": "https://api.github.com/users/XECDesign/gists{/gist_id}",
"starred_url": "https://api.github.com/users/XECDesign/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/XECDesign/subscriptions",
"organizations_url": "https://api.github.com/users/XECDesign/orgs",
"repos_url": "https://api.github.com/users/XECDesign/repos",
"events_url": "https://api.github.com/users/XECDesign/events{/privacy}",
"received_events_url": "https://api.github.com/users/XECDesign/received_events",
"type": "User",
"site_admin": false
},
"committer": {
"login": "XECDesign",
"id": 1716509,
"node_id": "MDQ6VXNlcjE3MTY1MDk=",
"avatar_url": "https://avatars0.githubusercontent.com/u/1716509?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XECDesign",
"html_url": "https://github.com/XECDesign",
"followers_url": "https://api.github.com/users/XECDesign/followers",
"following_url": "https://api.github.com/users/XECDesign/following{/other_user}",
"gists_url": "https://api.github.com/users/XECDesign/gists{/gist_id}",
"starred_url": "https://api.github.com/users/XECDesign/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/XECDesign/subscriptions",
"organizations_url": "https://api.github.com/users/XECDesign/orgs",
"repos_url": "https://api.github.com/users/XECDesign/repos",
"events_url": "https://api.github.com/users/XECDesign/events{/privacy}",
"received_events_url": "https://api.github.com/users/XECDesign/received_events",
"type": "User",
"site_admin": false
},
"parents": [
{
"sha": "4607b8d8c3c0ad377d51a98cad64d527423411d8",
"url": "https://api.github.com/repos/RPi-Distro/pi-bluetooth/commits/4607b8d8c3c0ad377d51a98cad64d527423411d8",
"html_url": "https://github.com/RPi-Distro/pi-bluetooth/commit/4607b8d8c3c0ad377d51a98cad64d527423411d8"
}
],
"stats": {
"total": 9,
"additions": 9,
"deletions": 0
},
"files": [
{
"sha": "0a45565fc370c7c2c9aa553be8df3300499a6f9b",
"filename": "debian/changelog",
"status": "modified",
"additions": 9,
"deletions": 0,
"changes": 9,
"blob_url": "https://github.com/RPi-Distro/pi-bluetooth/blob/1f8d16200050b59ff9b859ee7565cdf7b08053bb/debian/changelog",
"raw_url": "https://github.com/RPi-Distro/pi-bluetooth/raw/1f8d16200050b59ff9b859ee7565cdf7b08053bb/debian/changelog",
"contents_url": "https://api.github.com/repos/RPi-Distro/pi-bluetooth/contents/debian/changelog?ref=1f8d16200050b59ff9b859ee7565cdf7b08053bb",
"patch": "@@ -1,3 +1,12 @@\n+pi-bluetooth (0.1.15) buster; urgency=medium\n+\n+ [ Phil Elwell ]\n+ * bthelper: Change BT address with hcitool instead\n+ * bthelper: FIX: Only run for onboard BT modems\n+\n+\n+ -- Serge Schneider <serge@raspberrypi.com> Wed, 19 Aug 2020 15:45:46 +0100\n+\n pi-bluetooth (0.1.14) buster; urgency=medium\n \n [ Phil Elwell ]"
}
]
}