| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Regression from 0bce5fcf270711a2e077fba0fb7c5979ea007eb5
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On some locales (e.g: french), sort interprets the space character as a
thousands separator. As a result, digit(s) at the beginning of package
names (e.g: '0' for 0ad), are merged with package installation
timestamp and the output of rpm -qa --last is wrong.
For instance, the following list:
1398777401 0ad-0.0.15-3.fc20.x86_64
1397901236 kernel-3.13.10-200.fc20.x86_64
1399198174 kernel-3.14.2-200.fc20.x86_64
is sorted like this:
1398777401 0ad-0.0.15-3.fc20.x86_64
1399198174 kernel-3.14.2-200.fc20.x86_64
1397901236 kernel-3.13.10-200.fc20.x86_64
instead of:
1399198174 kernel-3.14.2-200.fc20.x86_64
1398777401 0ad-0.0.15-3.fc20.x86_64
1397901236 kernel-3.13.10-200.fc20.x86_64
This patch ensures that the space character is not interpreted as a
thousands separator anymore by setting the environment variable
LC_NUMERIC to C locale for numeric sorts.
|
| |
|
|
|
|
|
|
|
|
|
| |
- Fixes a regression introduced in rpm >= 4.10 caused by query format
simplification (loss of zero padding support), in commit
1f1e5e88a1f6c60cf2d11014d809000e97a63aad.
- 'chmod' command doesn't need zero padding, just remove the formatting.
In fact we shouldn't be passing the entire mode to it but just the
permission bits, but fortunately chmod isn't too picky here.
|
|
|
|
| |
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Previously any arguments to interpreter were invisible unless
you happened to know that RPMTAG_FOOPROG are actually string
arrays despite their type showing plain string, and queried
as arrays. This makes all the arguments for all scriptlets
supporting interpreter arguments visible on --scripts query
and also serves as an example on how to properly query them.i
- Perhaps worth noting is the exact formatting of the query:
"(using[ %{PRETRANSPROG}]" instead of the more typical style of
"(using [%{PRETRANSPROG} ]" to avoid extra trailing blanks.
|
| |
|
|
|
|
|
| |
- Makes the popt foobar somewhat saner and fixes RhBug:717534 and
RhBug:735801 while at it.
|
| |
|
|
|
|
|
|
| |
- poptExecPath() pointing to meaningful place allows removal of these.
- Make test-suite rely on the --initdb exec alias so we catch out
if anything here breaks
|
|
|
|
|
| |
- It's been broken because of a typo for the last ten years and nobody
noticed, doesn't seem like a particularly useful switch...
|
|
|
|
|
|
| |
- This ensures its available in all our executables without adding
umphteen copies into rpmpopt (after the cli splits, this was missing
in eg rpmdb executable...)
|
|
|
|
|
|
| |
- Changing db_api to db_ver to force breakage on anything using the
value, db_ver containing the BDB major version just to put something
in the error messages where the dbapi version used to be.
|
|
|
|
|
|
| |
- In addition to the regular dependencies, add --buildrequires
and --buildconflicts which are just --srpm --requires and
--srpm --conflicts in reality
|
| |
|
|
|
|
|
|
| |
- Avoids having to link /bin/rpm with librpmbuild and everything it
might bring in (eg libmagic) which are not needed for core operation.
- Minimally preserve backwards compatibility with popt exec alias
|
|
|
|
|
|
|
| |
- Add popt exec aliases to rpmdb for backwards compatibility
- Change test-suite to use 'rpmdb --initdb' instead of 'rpm --initdb'
as popt exec aliases with absolute paths dont play very well
with the test-suite, duh...
|
|
|
|
| |
- Add popt exec aliases to rpmkeys for backwards compatibility
|
|
|
|
| |
- Add popt exec aliases to rpmsign for backwards compatibility (dejavu...)
|
|
|
|
|
|
| |
- This was broken for years without anybody complaining, should
be safe to conclude nobody will miss it later either. And if
somebody misses it, this is a job for rpmlint really.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Signing is better done in an environment completely separated from
the process of actually building packages. This is how its generally
done anyway by distros, this change just forces the issue.
- While signing on build seems handy and saves some io-churn, this
is very insecure as your precious secret passphrase remains unencrypted
in memory for the entire duration of the build where it's accessible
to whatever happens to be building. This change doesn't
affect fix the issue of unencrypted passphrase residing in memory
and potentially getting swapped out, it only limits the exposure
to the actual signing process which isn't subject to unknown scripts
poking around.
- Minimally preserve rpmbuild's --sign functionality via popt --pipe hack
to call rpm --addsign when build completes
|
| |
|
|
|
|
|
|
|
|
|
| |
- macro fiddling to pass the macros set by --httpproxy etc popt aliases
to the url helper
- ftp proxy and http proxy control the same thing (http proxy) now to
keep things simple
- while at it, add %__urlhelper_localopts for local customization needs
without having to override the entire __urlhelperopts macro
|
| |
|
| |
|
|
|
|
| |
- doesn't need much as the capabilities are stored in human readable format
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- "rpm" for building packages hasn't worked in ~six years, time to clean
up the junk from rpmpopt
|
|
|
|
| |
- these haven't been enabled in six years and not coming back...
|
| |
|
| |
|
|
|
|
|
| |
- highly vendor specific
- not even RH uses them anymore..
|
| |
|
|
|
|
|
|
| |
- rpm doesn't manage selinux contexts so it doesn't need to know about them
other than when creating files
- implement --fscontext as popt alias since it's easy to do so...
|
|
|
|
|
|
|
| |
The SELinux file contexts can and do change, and local policies might be
in place, the contexts on the build system at build time have zero relevance
to anything and are just header bloat.
Remove --filecontexts alias while at it, not useful for anything anyway.
|
|
|
|
| |
Patch from Michal Marek.
|
| |
|
|
|
|
|
|
| |
Happens for example if a package is not installed (--pipe also captures stderr).
Patch from OpenSuSE.
|
|
|
|
|
|
|
|
|
| |
- add --xml popt alias for query modes.
- remove _rpmdb now that python2.[34] are commonly available.
CVS patchset: 7770
CVS date: 2005/02/16 19:05:36
|
|
|
|
|
|
| |
CVS patchset: 7692
CVS date: 2005/01/09 17:48:19
|
|
|
|
|
|
| |
CVS patchset: 7454
CVS date: 2004/10/13 05:47:55
|
|
|
|
|
|
| |
CVS patchset: 7047
CVS date: 2003/12/30 13:14:49
|
|
|
|
|
|
| |
CVS patchset: 6994
CVS date: 2003/12/22 07:47:45
|
|
|
|
|
|
| |
CVS patchset: 6026
CVS date: 2003/01/24 21:01:50
|
|
|
|
|
|
| |
CVS patchset: 5989
CVS date: 2002/12/31 01:23:03
|