Panu Matilainen [Mon, 3 Sep 2007 09:23:42 +0000 (12:23 +0300)]
Sanitize SELinux file context initialization.
- do it in a single spot inside tsRun()
- automatically set RPMTRANS_FLAG_NOCONTEXTS if selinux is disabled
Panu Matilainen [Mon, 3 Sep 2007 07:20:10 +0000 (10:20 +0300)]
Rip out selinux file contexts from headers.
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.
Panu Matilainen [Mon, 3 Sep 2007 05:49:38 +0000 (08:49 +0300)]
Don't show merges in dist tarball changelog.
They're not interesting to somebody viewing what has changed...
Panu Matilainen [Mon, 3 Sep 2007 05:47:35 +0000 (08:47 +0300)]
Automated merge with ssh://pmatilai@login.linux.duke.edu//home/groups/rpm/hg/rpm/
Ralf Corsépius [Mon, 3 Sep 2007 03:11:40 +0000 (05:11 +0200)]
Eliminate mylibs.
Panu Matilainen [Sun, 2 Sep 2007 08:07:43 +0000 (11:07 +0300)]
Automated merge with ssh://pmatilai@login.linux.duke.edu//home/groups/rpm/hg/rpm/
Ralf Corsépius [Sun, 2 Sep 2007 06:17:43 +0000 (08:17 +0200)]
Add missing link libs.
Ralf Corsépius [Sun, 2 Sep 2007 06:17:16 +0000 (08:17 +0200)]
Add missing link libs.
Ralf Corsépius [Sun, 2 Sep 2007 06:16:30 +0000 (08:16 +0200)]
Add missing link libs.
Ralf Corsépius [Sun, 2 Sep 2007 03:37:31 +0000 (05:37 +0200)]
Include rpmio_internal.h.
Remove _rpmio_debug.
Use "byte" instead of "char" in call to rpmioSlurp.
Ralf Corsépius [Fri, 31 Aug 2007 17:07:58 +0000 (19:07 +0200)]
Remove ctags.
Ralf Corsépius [Fri, 31 Aug 2007 16:54:57 +0000 (18:54 +0200)]
Add LIBRPMALIAS_FILENAME to CPPFLAGS.
Ralf Corsépius [Fri, 31 Aug 2007 16:54:13 +0000 (18:54 +0200)]
Remove LIBRPMALIAS_FILENAME.
Ralf Corsépius [Fri, 31 Aug 2007 14:27:10 +0000 (16:27 +0200)]
Eliminate clean-local:
Ralf Corsépius [Fri, 31 Aug 2007 12:38:41 +0000 (14:38 +0200)]
Add RPMCONFIGDIR to CPPFLAGS.
Ralf Corsépius [Fri, 31 Aug 2007 12:36:46 +0000 (14:36 +0200)]
Set configdir=@RPMCONFIGDIR@
Panu Matilainen [Fri, 31 Aug 2007 11:18:45 +0000 (14:18 +0300)]
Remove dead code (hack from times before pre- and posttrans scripts)
Panu Matilainen [Fri, 31 Aug 2007 10:52:40 +0000 (13:52 +0300)]
Vastly updated/rewritten perldeps.pl (rhbz#204800) from Michael Jennings
Panu Matilainen [Fri, 31 Aug 2007 10:41:14 +0000 (13:41 +0300)]
Remove unused ancient trpm
Panu Matilainen [Fri, 31 Aug 2007 08:35:51 +0000 (11:35 +0300)]
More junk removal...
- remove ancient orphan cross-build script
- dont install vpkg* scripts
Panu Matilainen [Fri, 31 Aug 2007 08:34:07 +0000 (11:34 +0300)]
Remember to update makefiles wrt latest script removals
Panu Matilainen [Fri, 31 Aug 2007 08:28:52 +0000 (11:28 +0300)]
Remove magic.prov|req that were only used by the unused find-bla.pl
Panu Matilainen [Fri, 31 Aug 2007 08:27:25 +0000 (11:27 +0300)]
Remove unused, ancient getpo.sh
Panu Matilainen [Fri, 31 Aug 2007 08:16:16 +0000 (11:16 +0300)]
Remove print_deps, was only used by unused find-prov/req.pl
Panu Matilainen [Fri, 31 Aug 2007 08:15:16 +0000 (11:15 +0300)]
Nuke more unused scripts...
- http.req doesn't have anything to do with rpm really
- find-prov, -req.pl and get_magic.pl are not used anyway
Panu Matilainen [Fri, 31 Aug 2007 08:06:39 +0000 (11:06 +0300)]
Remove unused ancient sql.prov|req
Panu Matilainen [Fri, 31 Aug 2007 08:05:44 +0000 (11:05 +0300)]
Remove ancient and unused find-{provides|requires}.perl scripts
Panu Matilainen [Fri, 31 Aug 2007 07:44:08 +0000 (10:44 +0300)]
Remove ancient rpmrc -> macros converter, no longer useful
Panu Matilainen [Fri, 31 Aug 2007 07:42:08 +0000 (10:42 +0300)]
Remove dead cpan->spec scripts.
These are better served by having a separate upstream from rpm itself...
Panu Matilainen [Fri, 31 Aug 2007 07:32:50 +0000 (10:32 +0300)]
Lose unused and obsolete libtool- and pkgconfig .prov, .req scripts
libtooldeps and pkgconfigdeps are used instead.
Panu Matilainen [Fri, 31 Aug 2007 07:30:06 +0000 (10:30 +0300)]
Lose unnecessary freshen script.
Only necessary with implicit obsoletes on provides which we dont (anymore) have.
Panu Matilainen [Fri, 31 Aug 2007 07:26:21 +0000 (10:26 +0300)]
Lose ancient and unused perllocate* scripts
Panu Matilainen [Fri, 31 Aug 2007 07:25:11 +0000 (10:25 +0300)]
Lose ancient and unused brp-redhat
Ralf Corsépius [Fri, 31 Aug 2007 06:59:17 +0000 (08:59 +0200)]
Remove installprefix, all:
Ralf Corsépius [Fri, 31 Aug 2007 06:56:56 +0000 (08:56 +0200)]
Eliminate tmpdir, varprefix.
Ralf Corsépius [Fri, 31 Aug 2007 06:56:21 +0000 (08:56 +0200)]
Add LOCALSTATEDIR to AM_CPPFLAGS.
Ralf Corsépius [Fri, 31 Aug 2007 06:55:24 +0000 (08:55 +0200)]
Use LOCALSTATEDIR instead of hard-coded /var.
Ralf Corsépius [Fri, 31 Aug 2007 06:55:06 +0000 (08:55 +0200)]
Use LOCALSTATEDIR instead of hard-coded /var.
Ralf Corsépius [Fri, 31 Aug 2007 06:54:41 +0000 (08:54 +0200)]
Use LOCALSTATEDIR instead of hard-coded /var.
Ralf Corsépius [Fri, 31 Aug 2007 06:53:03 +0000 (08:53 +0200)]
Attempt to improve libdb_la handling.
Ralf Corsépius [Fri, 31 Aug 2007 03:58:43 +0000 (05:58 +0200)]
Generate macros from Makefile.am.
Replace varprefix with rpmvardir.
Ralf Corsépius [Fri, 31 Aug 2007 03:58:04 +0000 (05:58 +0200)]
Don't AC_SUBST varprefix.
Generate macros from Makefile.am
Ralf Corsépius [Fri, 31 Aug 2007 03:23:25 +0000 (05:23 +0200)]
Regenerate.
Ralf Corsépius [Fri, 31 Aug 2007 03:05:45 +0000 (05:05 +0200)]
Remove CVSTAG.
Ralf Corsépius [Fri, 31 Aug 2007 02:35:24 +0000 (04:35 +0200)]
Remove make-target "noconfig"
Ralf Corsépius [Fri, 31 Aug 2007 02:34:33 +0000 (04:34 +0200)]
Remove make-target "tar"
Ralf Corsépius [Fri, 31 Aug 2007 02:25:22 +0000 (04:25 +0200)]
Remove AC_SUBST(RPM) (Unused).
Panu Matilainen [Thu, 30 Aug 2007 18:32:25 +0000 (21:32 +0300)]
Drop macrosfiles from rpmrc.in, we don't read it anymore
Ralf Corsépius [Thu, 30 Aug 2007 16:35:14 +0000 (18:35 +0200)]
Add check:
Panu Matilainen [Thu, 30 Aug 2007 14:12:08 +0000 (17:12 +0300)]
Automated merge with ssh://login.linux.duke.edu//home/groups/rpm/hg/rpm
Panu Matilainen [Thu, 30 Aug 2007 14:06:23 +0000 (17:06 +0300)]
Automated merge with file:/home/pmatilai/repos/rpm-cli
Panu Matilainen [Thu, 30 Aug 2007 14:06:14 +0000 (17:06 +0300)]
Get rpmcli.h includes out of python bindings
Ralf Corsépius [Thu, 30 Aug 2007 14:04:06 +0000 (16:04 +0200)]
Attempt to make tests/Makefile.am more stabile.
Panu Matilainen [Thu, 30 Aug 2007 13:50:12 +0000 (16:50 +0300)]
Automated merge with ssh://login.linux.duke.edu//home/groups/rpm/hg/rpm
Panu Matilainen [Thu, 30 Aug 2007 13:49:49 +0000 (16:49 +0300)]
Automated merge with file:/home/pmatilai/repos/rpm-rpmrc
Ralf Corsépius [Thu, 30 Aug 2007 13:33:15 +0000 (15:33 +0200)]
Massive hacking on tests.
Ralf Corsépius [Thu, 30 Aug 2007 13:32:16 +0000 (15:32 +0200)]
Add RPM_XFAIL.
Try to set HOME to avoid ~/.popt interfering.
Panu Matilainen [Thu, 30 Aug 2007 13:19:17 +0000 (16:19 +0300)]
Automated merge with ssh://login.linux.duke.edu//home/groups/rpm/hg/rpm
Ralf Corsépius [Thu, 30 Aug 2007 12:54:15 +0000 (14:54 +0200)]
Add package.m4 to EXTRA_DIST.
Ralf Corsépius [Thu, 30 Aug 2007 12:53:17 +0000 (14:53 +0200)]
Add data/*/foo*
Ralf Corsépius [Thu, 30 Aug 2007 12:50:20 +0000 (14:50 +0200)]
New.
Panu Matilainen [Thu, 30 Aug 2007 12:49:31 +0000 (15:49 +0300)]
Move rollback IDTX out of cli-stuff, its needed by core ts handling too.
Panu Matilainen [Thu, 30 Aug 2007 10:02:12 +0000 (13:02 +0300)]
Don't read *.rpmnew etc macro files
Panu Matilainen [Thu, 30 Aug 2007 09:22:01 +0000 (12:22 +0300)]
Don't read macrosfiles: from rpmrc, use default paths instead.
Also fixes --macros=<path> option.
Ralf Corsépius [Thu, 30 Aug 2007 05:40:28 +0000 (07:40 +0200)]
Use ${abs_builddir} instead of pwd.
Use ${abs_builddir} in RPMRC.
Ralf Corsépius [Wed, 29 Aug 2007 15:45:33 +0000 (17:45 +0200)]
Remove (Merged into doc/Makefile.am).
Ralf Corsépius [Wed, 29 Aug 2007 15:43:20 +0000 (17:43 +0200)]
Remove doc/fr/Makefile doc/ja/Makefile doc/ko/Makefile doc/pl/Makefile doc/ru/Makefile doc/sk/Makefile.
Ralf Corsépius [Wed, 29 Aug 2007 15:42:32 +0000 (17:42 +0200)]
Merge-in fr/Makefile.am ja/Makefile.am pl/Makefile.am ru/Makefile.am sk/Makefile.am
Ralf Corsépius [Wed, 29 Aug 2007 15:41:33 +0000 (17:41 +0200)]
Remove (Merged into doc/Makefile.am).
Ralf Corsépius [Wed, 29 Aug 2007 11:06:05 +0000 (13:06 +0200)]
Reflect having removed doc/manual/Makefile.am
Ralf Corsépius [Wed, 29 Aug 2007 11:05:42 +0000 (13:05 +0200)]
Merge-in manual/Makefile.am
Ralf Corsépius [Wed, 29 Aug 2007 11:04:00 +0000 (13:04 +0200)]
Remove (merged-in into doc/Makefile.am).
Ralf Corsépius [Wed, 29 Aug 2007 11:01:29 +0000 (13:01 +0200)]
Remove @SET_MAKE@ (anachronism).
Ralf Corsépius [Wed, 29 Aug 2007 06:07:14 +0000 (08:07 +0200)]
Remove broken translations.
Ralf Corsépius [Tue, 28 Aug 2007 16:22:11 +0000 (18:22 +0200)]
Eliminate LIBRPMRC_FILENAME.
Ralf Corsépius [Tue, 28 Aug 2007 15:20:35 +0000 (17:20 +0200)]
Use SYSCONFDIR "/rpm/platform" instead of hard-coded /etc/rpm/platform.
Ralf Corsépius [Tue, 28 Aug 2007 15:01:04 +0000 (17:01 +0200)]
Use SYSCONFDIR "/rpmrc" instead of hard-coded /etc/rpmrc.
Ralf Corsépius [Tue, 28 Aug 2007 11:21:05 +0000 (13:21 +0200)]
Rework rpmrc generation.
Ralf Corsépius [Tue, 28 Aug 2007 11:20:03 +0000 (13:20 +0200)]
Remove SYSCONFIGDIR.
Ralf Corsépius [Tue, 28 Aug 2007 11:19:37 +0000 (13:19 +0200)]
Create rpmrc from inside of Makefile.
Ralf Corsépius [Tue, 28 Aug 2007 09:49:00 +0000 (11:49 +0200)]
hg sucks rocks
Ralf Corsépius [Tue, 28 Aug 2007 09:34:25 +0000 (11:34 +0200)]
Sync macrofiles with macrofiles: in rpmrc.
Ralf Corsépius [Tue, 28 Aug 2007 09:33:39 +0000 (11:33 +0200)]
Propagate SYSCONFDIR.
Ralf Corsépius [Tue, 28 Aug 2007 09:33:07 +0000 (11:33 +0200)]
Eliminate MACROFILES.
Panu Matilainen [Tue, 28 Aug 2007 09:07:50 +0000 (12:07 +0300)]
Support accessing header info in python by object attributes as well.
Panu Matilainen [Tue, 28 Aug 2007 09:03:34 +0000 (12:03 +0300)]
Add expandMacro() to python bindings.
Patch by Jeremy Katz.
Panu Matilainen [Tue, 28 Aug 2007 09:02:08 +0000 (12:02 +0300)]
Automated merge with ssh://login.linux.duke.edu//home/groups/rpm/hg/rpm
Ralf Corsépius [Tue, 28 Aug 2007 08:58:48 +0000 (10:58 +0200)]
Check for locale.h.
Panu Matilainen [Tue, 28 Aug 2007 08:00:42 +0000 (11:00 +0300)]
Install packages with preferred color first (rhbz#214737)
Patch by Jeff Johnson.
Panu Matilainen [Tue, 28 Aug 2007 07:11:06 +0000 (10:11 +0300)]
Show pre- and posttrans scripts in rpm -q --scripts query (susebz#253620)
Patch from Michal Marek.
Panu Matilainen [Tue, 28 Aug 2007 06:54:33 +0000 (09:54 +0300)]
Automated merge with ssh://login.linux.duke.edu//home/groups/rpm/hg/rpm
Panu Matilainen [Tue, 28 Aug 2007 06:10:11 +0000 (09:10 +0300)]
Create x86_64 compat macros for ia32e and amd64 (rhbz#211119, 223355)
Panu Matilainen [Tue, 28 Aug 2007 06:04:09 +0000 (09:04 +0300)]
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.
Panu Matilainen [Tue, 28 Aug 2007 05:52:06 +0000 (08:52 +0300)]
Fix perl version provide for packages defined in multiple blocks (#rhbz214496)
Successive definitions of the same package shouldn't stomp on previously
found $VERSION, this is how perl itself behaves.
Patch from James Ralston.
Ralf Corsépius [Tue, 28 Aug 2007 04:46:20 +0000 (06:46 +0200)]
Add -DLOCALEDIR="\"$(localedir)\""
Ralf Corsépius [Tue, 28 Aug 2007 04:45:25 +0000 (06:45 +0200)]
Remove LOCALEDIR.
Ralf Corsépius [Tue, 28 Aug 2007 04:37:49 +0000 (06:37 +0200)]
Remove stamp-h.
Ralf Corsépius [Mon, 27 Aug 2007 21:40:58 +0000 (23:40 +0200)]
Make tjfn, tdbi check_PROGRAMS.
Ralf Corsépius [Mon, 27 Aug 2007 21:38:23 +0000 (23:38 +0200)]
Comment out tjfn_LDFLAGS.
Ralf Corsépius [Mon, 27 Aug 2007 21:38:00 +0000 (23:38 +0200)]
Remove sqlite.c from EXTRA_DIST.