fix(release): RPM spec use %{_topdir}/SOURCES; fix Firefox manifest for FF115
This commit is contained in:
parent
c1434a0b61
commit
b4de2dec7a
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"manifest_version": 3,
|
"manifest_version": 3,
|
||||||
"name": "Verstak Bridge",
|
"name": "Verstak Bridge",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"description": "Отслеживает активные вкладки и отправляет события в Verstak",
|
"description": "Отслеживает активные вкладки и отправляет события в Verstak",
|
||||||
"author": "Verstak",
|
"author": "Verstak",
|
||||||
"homepage_url": "https://git.mirv.top/mirivlad/verstak",
|
"homepage_url": "https://git.mirv.top/mirivlad/verstak",
|
||||||
|
|
@ -10,10 +10,7 @@
|
||||||
"gecko": {
|
"gecko": {
|
||||||
"id": "verstak-bridge@verstak.app",
|
"id": "verstak-bridge@verstak.app",
|
||||||
"strict_min_version": "115.0",
|
"strict_min_version": "115.0",
|
||||||
"update_url": "https://mirv.top/verstak/firefox/updates.json",
|
"update_url": "https://mirv.top/verstak/firefox/updates.json"
|
||||||
"data_collection_permissions": {
|
|
||||||
"required": ["none"]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -191,20 +191,20 @@ $description
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
mkdir -p %{buildroot}/usr/local/bin
|
mkdir -p %{buildroot}/usr/local/bin
|
||||||
cp %{_sourcedir}/$pkg_name %{buildroot}/usr/local/bin/$pkg_name
|
cp %{_topdir}/SOURCES/$pkg_name %{buildroot}/usr/local/bin/$pkg_name
|
||||||
chmod 755 %{buildroot}/usr/local/bin/$pkg_name
|
chmod 755 %{buildroot}/usr/local/bin/$pkg_name
|
||||||
SPEC
|
SPEC
|
||||||
|
|
||||||
if [[ -n "$systemd_unit" && -f "$systemd_unit" ]]; then
|
if [[ -n "$systemd_unit" && -f "$systemd_unit" ]]; then
|
||||||
cat >> "$spec_file" <<SPEC
|
cat >> "$spec_file" <<SPEC
|
||||||
mkdir -p %{buildroot}/lib/systemd/system
|
mkdir -p %{buildroot}/lib/systemd/system
|
||||||
cp %{_sourcedir}/$(basename "$systemd_unit") %{buildroot}/lib/systemd/system/
|
cp %{_topdir}/SOURCES/$(basename "$systemd_unit") %{buildroot}/lib/systemd/system/
|
||||||
SPEC
|
SPEC
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat >> "$spec_file" <<SPEC
|
cat >> "$spec_file" <<SPEC
|
||||||
mkdir -p %{buildroot}/usr/share/doc/$pkg_name
|
mkdir -p %{buildroot}/usr/share/doc/$pkg_name
|
||||||
cp -r %{_sourcedir}/README.md %{buildroot}/usr/share/doc/$pkg_name/ 2>/dev/null || true
|
cp -r %{_topdir}/SOURCES/README.md %{buildroot}/usr/share/doc/$pkg_name/ 2>/dev/null || true
|
||||||
|
|
||||||
%files
|
%files
|
||||||
/usr/local/bin/$pkg_name
|
/usr/local/bin/$pkg_name
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue