qrpm 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/exe/qrpm +44 -1
  3. data/lib/qrpm/version.rb +1 -1
  4. data/lib/qrpm.rb +4 -5
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 69442a72ca837b3c52ffbda68a8859a7591cb626ce919f583bf7e39f116cc4ef
4
- data.tar.gz: 6d08a9ed16af1b3c8f9a6afe9d1d31958a78dc8d7ce19638039abac01ef9642f
3
+ metadata.gz: 46adf6022a282921ffec7babe5d51a630265fdc006fe6a8f2108b05175d3801f
4
+ data.tar.gz: 152bedc386c3b1f80d4727c89bb2eda22aea5f98dec9d4bc505eb7484419e93c
5
5
  SHA512:
6
- metadata.gz: 45fafccf06fb93ff1933ab932022421ad1952df731b7133bb831f8a3cedd303787fc46d82222f98c2b9845c3d5ed090ae8afdb075f24a4eb376b8f675580ad37
7
- data.tar.gz: c4a3d9c6f372de9e4fccb67af861aea6bc2529dccced89bd3028e2a46dcf122b16f01a9075c0981a7543e456fe90d2ed5504be02c7da532af78923bf744608fa
6
+ metadata.gz: 5c97e24da7f3bde2793c624300c93ccd8197cae6f8c204e708663a2549c9c718cbd64f1a741c8a576c0aac65af8bcf9272eb633dafe3ca7def268a92a5bae73a
7
+ data.tar.gz: aab20b330f1968edeac8e4eeb96ba2a1953cb688f74b8274804d7e9c1b8b53ab023552338b438d13ebcdae32f2cf52837d4a9527284349440d55b7c677450601
data/exe/qrpm CHANGED
@@ -55,6 +55,49 @@ begin
55
55
 
56
56
  BUILT-IN VARIABLES
57
57
 
58
+ There are the following built-in variables. They are listed below with their
59
+ default values:
60
+
61
+ rootdir /
62
+ rootconfdir /etc
63
+ rootexecdir /usr
64
+ rootlibdir /usr
65
+ rootconstdir /usr/share
66
+ rootdocdir /usr/share
67
+ rootdatadir /var
68
+
69
+ sysetcdir /etc
70
+ sysbindir /usr/bin
71
+ syssbindir /usr/sbin
72
+ syslibdir /usr/lib64
73
+ syslibexecdir /usr/libexec
74
+ syssharedir /usr/share
75
+ sysdocdir /usr/share/doc
76
+ sysvardir /var/lib
77
+ sysspooldir /var/spool
78
+ sysrundir /var/run
79
+ syslockdir /var/lock
80
+ syscachedir /var/cache
81
+ syslogdir /var/log
82
+ systmpdir /tmp
83
+
84
+ pcketcdir /etc/NAME
85
+ pckbindir /usr/bin
86
+ pcksbindir /usr/sbin
87
+ pcklibdir /usr/lib64/NAME
88
+ pcklibexecdir /usr/libexec/NAME
89
+ pcksharedir /usr/share/NAME
90
+ pckdocdir /usr/share/doc/NAME
91
+ pckvardir /var/NAME
92
+ pckspooldir /var/spool/NAME
93
+ pckrundir /var/run/NAME
94
+ pcklockdir /var/lock/NAME
95
+ pckcachedir /var/cache/NAME
96
+ pcklogdir /var/log/NAME
97
+ pcktmpdir /tmp/NAME
98
+
99
+ Note that there are no package specific directories for bin and sbin
100
+
58
101
  INSTALLATION DIRECTORIES
59
102
 
60
103
  OPTIONS
@@ -131,7 +174,7 @@ begin
131
174
  File.directory?(qrpmdir) or error "Can't find '#{qrpmdir}'"
132
175
 
133
176
  # Compute builddir
134
- if opts.builddir? && opts.force_builddir?
177
+ if opts.builddir? && opts.force_builddir?
135
178
  ShellOpts.error "Can't use both --builddir and --force-builddir"
136
179
  elsif opts.builddir? || opts.force_builddir?
137
180
  builddir = opts.builddir || opts.force_builddir || "builddir"
data/lib/qrpm/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Qrpm
4
- VERSION = "0.3.4"
4
+ VERSION = "0.3.5"
5
5
  end
data/lib/qrpm.rb CHANGED
@@ -68,8 +68,8 @@ module Qrpm
68
68
  syssbindir: "$rootexecdir/sbin",
69
69
  syslibdir: "$rootlibdir/lib64",
70
70
  syslibexecdir: "$rootexecdir/libexec",
71
- syssharedir: "$rootconstdir/$pckdir", # Always a subdir of /usr/share
72
- sysdocdir: "$syssharedir",
71
+ syssharedir: "$rootconstdir",
72
+ sysdocdir: "$syssharedir/doc",
73
73
  sysvardir: "$rootdatadir/lib",
74
74
  sysspooldir: "$rootdatadir/spool",
75
75
  sysrundir: "$rootdatadir/run",
@@ -79,11 +79,10 @@ module Qrpm
79
79
  systmpdir: "/tmp" # Always /tmp because of security
80
80
  }
81
81
 
82
- # There are no package-specific versions of bindir and sbindir
83
82
  PACKAGE_DIRS = {
84
83
  pcketcdir: "$sysetcdir/$pckdir",
85
- pckbindir: "$sysbindir", # No subdir
86
- pcksbindir: "$syssbindir", # No subdir
84
+ pckbindir: "$sysbindir", # No package-specific directory
85
+ pcksbindir: "$syssbindir", # No package-specific directory
87
86
  pcklibdir: "$syslibdir/$pckdir",
88
87
  pcklibexecdir: "$syslibexecdir/$pckdir",
89
88
  pcksharedir: "$syssharedir/$pckdir",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qrpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claus Rasmussen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-15 00:00:00.000000000 Z
11
+ date: 2024-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: shellopts