XYZ File Manager
Current Path:
/lib/rpm
lib
/
rpm
/
📁
..
📄
alt-nodejs18-fixdep
(3.48 KB)
📄
alt-nodejs18-provide.sh
(70 B)
📄
alt-nodejs18-require.sh
(69 B)
📄
alt-nodejs18-symlink-deps
(5.21 KB)
📄
alt-nodejs18.prov
(1.92 KB)
📄
alt-nodejs18.req
(6.75 KB)
📄
alt-nodejs18_native.req
(40 B)
📄
alt-nodejs20-fixdep
(3.48 KB)
📄
alt-nodejs20-provide.sh
(70 B)
📄
alt-nodejs20-require.sh
(69 B)
📄
alt-nodejs20-symlink-deps
(5.21 KB)
📄
alt-nodejs20.prov
(1.92 KB)
📄
alt-nodejs20.req
(6.75 KB)
📄
alt-nodejs20_native.req
(44 B)
📄
alt-nodejs22-fixdep
(3.48 KB)
📄
alt-nodejs22-provide.sh
(70 B)
📄
alt-nodejs22-require.sh
(69 B)
📄
alt-nodejs22-symlink-deps
(5.21 KB)
📄
alt-nodejs22.prov
(1.92 KB)
📄
alt-nodejs22.req
(6.75 KB)
📄
alt-nodejs22_native.req
(44 B)
📄
alt-nodejs24-fixdep
(3.48 KB)
📄
alt-nodejs24-provide.sh
(70 B)
📄
alt-nodejs24-require.sh
(69 B)
📄
alt-nodejs24-symlink-deps
(5.21 KB)
📄
alt-nodejs24.prov
(1.92 KB)
📄
alt-nodejs24.req
(6.75 KB)
📄
alt-nodejs24_native.req
(43 B)
📄
brp-boot-efi-times
(1.43 KB)
📄
brp-scl-compress
(1.77 KB)
📄
brp-scl-python-bytecompile
(3.04 KB)
📄
cmake.prov
(2.92 KB)
📄
cmake.req
(2.29 KB)
📁
fileattrs
📄
gstreamer1.prov
(950 B)
📁
lua
📄
macros
(43.12 KB)
📁
macros.d
📁
platform
📁
redhat
📄
rpm.daily
(296 B)
📄
rpm.log
(61 B)
📄
rpm.supp
(688 B)
📄
rpm2cpio.sh
(1.56 KB)
📄
rpmdb_dump
(41 B)
📄
rpmdb_load
(41 B)
📄
rpmpopt-4.16.1.3
(11.83 KB)
📄
rpmrc
(17.24 KB)
📄
scldeps.sh
(258 B)
📄
sysusers.generate-pre.sh
(2.22 KB)
📄
sysusers.prov
(605 B)
📄
tgpg
(937 B)
Editing: alt-nodejs20.prov
#!/usr/bin/python """ Automatic provides generator for Node.js libraries. Taken from package.json. See `man npm-json` for details. """ # Copyright 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. import json import subprocess import sys paths = [path.rstrip() for path in sys.stdin.readlines()] for path in paths: if path.endswith('package.json'): fh = open(path) metadata = json.load(fh) fh.close() if 'name' in metadata and not ('private' in metadata and metadata['private']): print 'alt-nodejs20-npm(' + metadata['name'] + ')', if 'version' in metadata: print '= ' + metadata['version'] else: print # invoke the regular RPM provides generator p = subprocess.Popen(['/usr/lib/rpm/find-provides'], stdout=subprocess.PIPE, stdin=subprocess.PIPE) print p.communicate(input='\n'.join(paths))[0]
Upload File
Create Folder