Commit Graph

2295 Commits

Author SHA1 Message Date
Ralf Corsépius e4e987be9f Add LOCALSTATEDIR to AM_CPPFLAGS. 2007-08-31 08:56:21 +02:00
Ralf Corsépius c4095e6233 Use LOCALSTATEDIR instead of hard-coded /var. 2007-08-31 08:55:24 +02:00
Ralf Corsépius 7b40f37483 Use LOCALSTATEDIR instead of hard-coded /var. 2007-08-31 08:55:06 +02:00
Ralf Corsépius c153627e37 Use LOCALSTATEDIR instead of hard-coded /var. 2007-08-31 08:54:41 +02:00
Panu Matilainen a1c4d36d55 Automated merge with file:/home/pmatilai/repos/rpm-cli 2007-08-30 17:06:23 +03:00
Panu Matilainen 0ad1873796 Move rollback IDTX out of cli-stuff, its needed by core ts handling too. 2007-08-30 15:49:31 +03:00
Panu Matilainen db6eb7df2a Don't read macrosfiles: from rpmrc, use default paths instead.
Also fixes --macros=<path> option.
2007-08-30 12:22:01 +03:00
Ralf Corsépius 5b8a3cf39b Eliminate LIBRPMRC_FILENAME. 2007-08-28 18:22:11 +02:00
Ralf Corsépius 1f89418506 Use SYSCONFDIR "/rpm/platform" instead of hard-coded /etc/rpm/platform. 2007-08-28 17:20:35 +02:00
Ralf Corsépius c3ea98f4c4 Use SYSCONFDIR "/rpmrc" instead of hard-coded /etc/rpmrc. 2007-08-28 17:01:04 +02:00
Ralf Corsépius 27aa05cafc hg sucks rocks 2007-08-28 11:49:00 +02:00
Ralf Corsépius 061ab8dddc Sync macrofiles with macrofiles: in rpmrc. 2007-08-28 11:34:25 +02:00
Ralf Corsépius 1d1e80120f Propagate SYSCONFDIR. 2007-08-28 11:33:39 +02:00
Panu Matilainen f3b816c309 Install packages with preferred color first (rhbz#214737)
Patch by Jeff Johnson.
2007-08-28 11:00:42 +03:00
Panu Matilainen 3e322f3a03 Automated merge with ssh://login.linux.duke.edu//home/groups/rpm/hg/rpm 2007-08-28 09:54:33 +03:00
Panu Matilainen e64bf5b93a Avoid .rpmnew when the file hasn't changed in package (rhbz#194246)
The current behavior of %config(noreplace) creates a .rpmnewfile iff the type
of the current file has been changed wrto what was originally installed.

The patch changes this behavior so when old and new (in db and in package) is
identical -> not changed, the function returns FA_SKIP -> it won't clobber
anything, it simply skips installation of the file from the package.
This patch handles also the opposite case when old and new packages contain
%config symlink and we have regular file on disk.

Patch from Tomas Mraz.
2007-08-28 09:04:09 +03:00
Ralf Corsépius 4d0283bb4d Add -DLOCALEDIR="\"$(localedir)\"" 2007-08-28 06:46:20 +02:00
Ralf Corsépius c32c9c010a Add tufdio.
Convert EXTRA_PROGRAMS to check_PROGRAMS.
2007-08-27 17:18:04 +02:00
Ralf Corsépius 0d81a291c1 Comment out setfiles_LDFLAGS. 2007-08-27 15:08:43 +02:00
Panu Matilainen 8347d40b04 Don't check for termination signals in middle of transaction (!) 2007-08-27 10:19:43 +03:00
Ralf Corsépius d238b57898 Remove (Unused, rotten junk). 2007-08-27 07:28:17 +02:00
Ralf Corsépius b42cb997e3 Remove dependency on librpmbuild. 2007-08-27 05:58:57 +02:00
Ralf Corsépius 9528926756 s/-lselinux/@WITH_SELINUX_LIB@/ 2007-08-24 06:24:52 +02:00
Ralf Corsépius f45f78510b Don't reset LIBS=. 2007-08-24 06:02:24 +02:00
Ralf Corsépius 75ae38e37c Remove INCPATH. 2007-08-22 11:54:31 +02:00
Ralf Corsépius 52a387c19e Remove LDFLAGS from librpmbuild_la_LDFLAGS. 2007-08-20 04:31:21 +02:00
Ralf Corsépius 8d226bf049 Remove RPM_BUILD_ROOT. 2007-08-19 18:40:39 +02:00
Ralf Corsépius 81aa846162 Build setfiles only if SELINUX is present. 2007-08-15 13:42:05 +02:00
Ralf Corsépius f93d15859c Add tds to EXTRA_PROGRAMS. 2007-08-12 06:12:21 +02:00
Ralf Corsépius be9839035b Merge noinst_HEADERS into librpm_la_SOURCES.
Eliminate noinst_HEADERS.
2007-08-10 14:10:52 +02:00
Panu Matilainen 8afa0d1422 Skip stale and unaccessible (FUSE) mountpoints (rhbz#190496, 220991)
Ported from rpm5.org work of Jeff Johnson.
2007-08-09 21:50:56 +03:00
Panu Matilainen ebfbc82bb1 Avoid unnecessary .rpmnew and .rpmsave files (rhbz#128622)
Don't create .rpmnew and .rpmsave files when file/symlink on disk differs
just by timestamp. Patch by Tomas Mraz.
2007-08-09 15:15:24 +03:00
Panu Matilainen fdff55eb8d Attempt to resurrect trb 2007-08-09 11:22:40 +03:00
Ralf Corsépius b0c22d1a6c Bring test progs under automake control. 2007-08-09 09:13:05 +02:00
Ralf Corsépius 3edd6f1a9d Remove trhn (No sources). 2007-08-09 09:03:13 +02:00
Ralf Corsépius 9ff27308e7 Add const char *__progname to make it buildable again. 2007-08-09 08:26:48 +02:00
Ralf Corsépius 952bc81d44 Eliminate mylibs. 2007-08-08 18:12:31 +02:00
Panu Matilainen 480c7faa69 Use PACKAGE_BUGREPORT in rpmrc.c's error messages.
Background: autoconf supplies a define (PACKAGE_BUGREPORT) which can be
used to provide an email-address for bug reporting. So far, rpmrc.c
sources used a hard-coded addresses instead.

This had caused i18n'ed strings (po/*) to contain different email
addresses for bug reporting. The patch changes this behavior into a the
i18n'ed strings to use the address as a string.

From Ralf Corsepius.
2007-08-06 14:24:29 +03:00
Panu Matilainen 8d2b416782 Automake cleanups.
- Replace INCLUDES with AM_CPPFLAGS
  (INCLUDES has been replaced by AM_CPPFLAGS and is deprecated in
  modern automakes for several years)
- Require autoconf-2.61 and automake-1.10
  (already required by autogen.sh)
- update mkinstalldirs with the version from automake-1.10
  (The version in rpm is ancient and known to be bugged)

Patch from Ralf Corsepius
2007-08-05 11:30:55 +03:00
Panu Matilainen 4bcd08549d Set libdir /usr/lib vs lib64 directly, drop MARK64 stuff 2007-07-25 17:10:57 +03:00
Panu Matilainen 7b6ef059a2 More gettext cleanups.
- Use po/LINGUAS for language list instead of ALL_LINGUAS in configure.ac
- replace obsolete INTLLIB with LIBINTL, gee..
2007-07-24 14:21:32 +03:00
Panu Matilainen 871c280b84 Update scriptlet names to match current reality (rhbz#248128) 2007-07-23 10:43:47 +03:00
Panu Matilainen 0f879a48bd Use binary search for looking up tag values + types.
Mostly derived from rpm5.org work of Jeff Johnsson, additionally
- fix thinko in bsearch result stabilization logic
- fix querytags in verbose mode to actually show the types as intended
2007-07-16 16:14:51 +03:00
Panu Matilainen 505cad15bf Full sync of RPMTAG_* definitions with rpm5.org.
As promised on rpm-maint:
https://lists.dulug.duke.edu/pipermail/rpm-maint/2007-June/000357.html
Now that new tags don't cost anything in terms of python binding etc
maintenance we can at least keep tags compatible so querying cross-rpm
works (mostly - there are differences like md5 vs filedigests)
2007-07-16 13:39:48 +03:00
Panu Matilainen 8360b1147c Update tagtype definitions wrt rpm5.org 2007-07-13 14:18:00 +03:00
Panu Matilainen 2404685050 Kill of RPMTAG_RHNPLATFORM: don't add to header, mark deprecated. 2007-07-12 16:10:46 +03:00
Panu Matilainen 85e427b2ef int vs ptr sizes differ on some platforms, make alNum intptr_t to fix 2007-07-12 13:23:33 +03:00
Panu Matilainen 6f993fee65 Pull in rpmfi int_32 -> uint_32 changes from rpm5.org.
TODO reminder to audit all uses of those, plenty of places where signed
doesn't make much sense, inconsistent use etc.
2007-07-12 13:03:19 +03:00
Panu Matilainen e12cf3d1cc Use uint_32 for dirindexes everywhere 2007-07-12 12:30:26 +03:00
Panu Matilainen cce81e1fa0 rpmioSlurp() related cleanups.
Derived from rpm5.org / Ralf S. Engelschall
2007-07-12 11:55:45 +03:00