mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-25 17:25:14 +03:00
[rpm-build] remove obsolete dependency
This commit is contained in:
parent
554b4ad272
commit
ac5758acd4
1 changed files with 5 additions and 5 deletions
10
gulpfile.js
10
gulpfile.js
|
@ -302,7 +302,7 @@ function get_release_filename(platform, ext, addition = '') {
|
||||||
function build_win_zip(arch) {
|
function build_win_zip(arch) {
|
||||||
return function build_win_zip_proc(done) {
|
return function build_win_zip_proc(done) {
|
||||||
var pkg = require('./package.json');
|
var pkg = require('./package.json');
|
||||||
|
|
||||||
// Create ZIP
|
// Create ZIP
|
||||||
console.log(`Creating ${arch} ZIP file...`);
|
console.log(`Creating ${arch} ZIP file...`);
|
||||||
var src = path.join(appsDir, pkg.name, arch);
|
var src = path.join(appsDir, pkg.name, arch);
|
||||||
|
@ -328,7 +328,7 @@ function build_win_iss(arch) {
|
||||||
// Create Installer
|
// Create Installer
|
||||||
console.log(`Creating ${arch} Installer...`);
|
console.log(`Creating ${arch} Installer...`);
|
||||||
const innoSetup = require('@quanle94/innosetup');
|
const innoSetup = require('@quanle94/innosetup');
|
||||||
|
|
||||||
const APPS_DIR = './apps/';
|
const APPS_DIR = './apps/';
|
||||||
const pkg = require('./package.json');
|
const pkg = require('./package.json');
|
||||||
|
|
||||||
|
@ -386,7 +386,7 @@ gulp.task('release-osx64', function(done) {
|
||||||
|
|
||||||
// Check if the bundle is signed
|
// Check if the bundle is signed
|
||||||
const codesignCheckArgs = [ 'codesign', '-vvv', '--deep', '--strict', src ];
|
const codesignCheckArgs = [ 'codesign', '-vvv', '--deep', '--strict', src ];
|
||||||
execSync.apply(this, codesignCheckArgs);
|
execSync.apply(this, codesignCheckArgs);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 'old' .zip mode
|
// 'old' .zip mode
|
||||||
|
@ -419,7 +419,7 @@ gulp.task('release-osx64', function(done) {
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
archive.finalize();
|
archive.finalize();
|
||||||
}
|
}
|
||||||
// 'new' .dmg mode
|
// 'new' .dmg mode
|
||||||
else {
|
else {
|
||||||
const appdmg = require('appdmg');
|
const appdmg = require('appdmg');
|
||||||
|
@ -643,7 +643,7 @@ function release_rpm(arch) {
|
||||||
vendor: metadata.author,
|
vendor: metadata.author,
|
||||||
summary: metadata.description,
|
summary: metadata.description,
|
||||||
license: 'GNU General Public License v3.0',
|
license: 'GNU General Public License v3.0',
|
||||||
requires: ['libgconf-2-4', 'libatomic1'],
|
requires: ['libatomic1'],
|
||||||
prefix: '/opt',
|
prefix: '/opt',
|
||||||
files: [{
|
files: [{
|
||||||
cwd: path.join(appsDir, metadata.name, arch),
|
cwd: path.join(appsDir, metadata.name, arch),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue