diff options
author | jbj <devnull@localhost> | 2001-06-15 04:56:33 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-06-15 04:56:33 +0000 |
commit | f0d2abd2bcb74ab18645355ba45189abe77f38bf (patch) | |
tree | cfa580201935a10cf034c1a1655fda810205d74e /rpm.spec.in | |
parent | 22b9de5f331285fef6b353b9441d121dcc639ea2 (diff) | |
download | librpm-tizen-f0d2abd2bcb74ab18645355ba45189abe77f38bf.tar.gz librpm-tizen-f0d2abd2bcb74ab18645355ba45189abe77f38bf.tar.bz2 librpm-tizen-f0d2abd2bcb74ab18645355ba45189abe77f38bf.zip |
- fix: db1 end-of-file not detected in legacy compatible way.
- fix: remove (harmless) chown error message from %post.
- add --target/--host to %configure, add example cross-build/config.site
scripts to /usr/lib/rpm <arjanv@redhat.com> (#44581).
- rpmdb iterator selectors permit default/strcmp/regex/glob matching.
- rpmdb iterator selectors permit negative matches.
CVS patchset: 4861
CVS date: 2001/06/15 04:56:33
Diffstat (limited to 'rpm.spec.in')
-rw-r--r-- | rpm.spec.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpm.spec.in b/rpm.spec.in index 44f88f948..5d1b2f849 100644 --- a/rpm.spec.in +++ b/rpm.spec.in @@ -187,16 +187,16 @@ exit 0 %ifos linux /sbin/ldconfig if [ -f /var/lib/rpm/packages.rpm ]; then - : # do nothing + /bin/chown @RPMUSER@.@RPMGROUP@ /var/lib/rpm/*.rpm elif [ -f /var/lib/rpm/Packages ]; then # undo db1 configuration rm -f /etc/rpm/macros.db1 + /bin/chown @RPMUSER@.@RPMGROUP@ /var/lib/rpm/[A-Z]* else # initialize db3 database rm -f /etc/rpm/macros.db1 /bin/rpm --initdb fi -/bin/chown @RPMUSER@.@RPMGROUP@ /var/lib/rpm/[A-Z]* /var/lib/rpm/*.rpm %endif exit 0 |