Re: [CVS] RPM: rpm/ CHANGES rpm/macros/ python.in

2011-04-10 Thread Per Øyvind Karlsen
2011/4/11 Jason Corley : >>  -# Note: Used iff _use_internal_dependency_generator is non-zero. The >>  +# Note: Used if _use_internal_dependency_generator is non-zero. The > > As a completely useless aside I see this kind of change from proyvind > in almost every patch. I'm assuming it's because he

Fwd: [CVS] RPM: rpm/ CHANGES rpm/lib/ librpm.vers rpmds.c rpmds.h rpmfc.c

2011-04-10 Thread Per Øyvind Karlsen
wrong sender.. fgrf -- Forwarded message -- From: Per Øyvind Karlsen Date: 2011/4/11 Subject: Re: [CVS] RPM: rpm/ CHANGES rpm/lib/ librpm.vers rpmds.c rpmds.h rpmfc.c To: rpm-devel@rpm5.org 2011/4/11 Jeff Johnson : > I knew I'd seen this symlink patch before: > >

Re: [CVS] RPM: rpm/ CHANGES rpm/lib/ librpm.vers rpmds.c rpmds.h rpmfc.c

2011-04-10 Thread Per Øyvind Karlsen
2011/4/11 Per Øyvind Karlsen : > wrong sender.. fgrf > > -- Forwarded message -- > From: Per Øyvind Karlsen > Date: 2011/4/11 > Subject: Re: [CVS] RPM: rpm/ CHANGES rpm/lib/ librpm.vers rpmds.c > rpmds.h rpmfc.c > To: rpm-devel@rpm5.org > > > 2011/

Re: [CVS] RPM: rpm/ CHANGES rpm/lib/ librpm.vers rpmds.c rpmds.h rpmfc.c

2011-04-11 Thread Per Øyvind Karlsen
2011/4/11 Jeff Johnson : > > On Apr 11, 2011, at 12:58 AM, Per Øyvind Karlsen wrote: > >> 2011/4/11 Per Øyvind Karlsen : >>> wrong sender.. fgrf >>> >>> -- Forwarded message -- >>> From: Per Øyvind Karlsen >>> Date

Re: [CVS] RPM: rpm/ CHANGES rpm/lib/ librpm.vers rpmds.c rpmds.h rpmfc.c

2011-04-11 Thread Per Øyvind Karlsen
I hate gmail... 2011/4/11 Per Øyvind Karlsen : > 2011/4/11 Jeff Johnson : >> >> On Apr 11, 2011, at 12:29 AM, Per Øyvind Karlsen wrote: >> >>> wrong sender.. fgrf >>> >>> ------ Forwarded message -- >>> From: Per Øyvind Kar

Re: [CVS] RPM: rpm/ CHANGES rpm/lib/ librpm.vers rpmds.c rpmds.h rpmfc.c

2011-04-11 Thread Per Øyvind Karlsen
ps: if you still don't get it, it should be fairly easy grasping just by looking at the packages in cooker which has devel() dependencies, and see how these dependencies gets automatically pulled in from other packages providing devel() when installng a -devel package... ps: Excuse my aggitation,

Re: [CVS] RPM: rpm-5_3: rpm/lib/ rpmfc.c

2011-04-16 Thread Per Øyvind Karlsen
2011/4/16 Jeff Johnson : > Ok enough. > > We _ARE_ headed for a fork between rpm5.org <-> Mandriva if these check-ins > continue. > > I've asked for discussion first. Not happening. > > I've asked for a feature list. Not seen. > > I've pointed out that many of these changes are ancient hysteria be

Re: [CVS] RPM: rpm-5_3: rpm/ CHANGES rpm/lib/ rpmds.c

2011-04-16 Thread Per Øyvind Karlsen
2011/4/16 Jeff Johnson : > And so now we have the start of Yet More peculier dependencies, > not just devel(...) but now uClibc(...). Yes, this is to avoid conflicts with sonames linked against glibc, ie. see: [peroyvind@lappis rpm-5.3.9]$ echo /usr/uclibc/usr/lib64/libz.so.1.2.5 | LD_LIBRARY_PATH=

Re: [CVS] RPM: rpm-5_3: rpm/ CHANGES rpm/lib/ rpmds.c

2011-04-16 Thread Per Øyvind Karlsen
2011/4/16 Jeff Johnson : > > On Apr 16, 2011, at 11:34 AM, Per Øyvind Karlsen wrote: > >> 2011/4/16 Jeff Johnson : >>> And so now we have the start of Yet More peculier dependencies, >>> not just devel(...) but now uClibc(...). >> Yes, this is to avoid conf

Fwd: Repodata additions

2011-05-03 Thread Per Øyvind Karlsen
-- Forwarded message -- From: Per Øyvind Karlsen Date: 2011/5/3 Subject: Re: Repodata additions To: rpm-t...@rpm5.org 2011/5/3 Jeff Johnson : > A sane opinion as always, and Distepoch is nicely done and handled. > > Would you mind reposting on the Cooker list? >

Re: [CVS] RPM: rpm-5_4: rpm/lib/ rpmts.h rpm/rpmdb/ rpmns.h rpmtypes.h

2011-05-03 Thread Per Øyvind Karlsen
2011/5/3 Jeff Johnson : > Seriously you have better things to do than diddle w commas > and -pedantic. If not, well mdawkins has a reproducer with --xml > due to my --json changes that could/should be brought back to rpm-5.3.x. Give me a pointer and I'll get to it. :) > > Just a reality check ... Y

Re: [CVS] RPM: rpm/rpmdb/ rpmdb.h

2011-05-10 Thread Per Øyvind Karlsen
2011/5/11 Jeff Johnson : > This isn't your code. Leave it be. Huh? You don't want me to commit this change at all, or you just don't want me to commit it on HEAD..? In the past you've told me to *always* commit to HEAD first.. > > WTF does C++ typecasting have to do with anything? I am playing ar

popt syntax

2011-05-20 Thread Per Øyvind Karlsen
eyo! I just got a request from a colleague asking about how to query a src.rpm for it's .spec file.. So digging out the information was easy enough, where the file with the following flag being the match: RPMFILE_SPECFILE= (1 << 5) So to do this with a bit of help from other shell tools: $

Re: split formats.c?

2011-05-21 Thread Per Øyvind Karlsen
2011/5/22 Robert Xu : > Hi all, > > I've been going through opensuse patches with quilt (sorry Jeff, I > couldn't wait to build RPM5, but didn't want to throw away whatever > SuSE does completely)... > I ran across localetag.diff, and then ran through the rpm5 repository, > only to discover that rp

[PATCH]: glob on paths for macro files with %{load:}

2011-05-25 Thread Per Øyvind Karlsen
When adding macros/mandriva in the past, I tried adding %{load: /etc/rpm/macros.d/*.macros} to it for loading macros rather than specifying it during ./configure, but I quickly discovered that support for wildcards wasn't supported and didn't care much about it since, figguring that I'd look into i

Re: [CVS] RPM: rpm-5_3: rpm/rpmdb/ rpmdb.c

2011-05-27 Thread Per Øyvind Karlsen
2011/5/27 Jeff Johnson : > Nice! \o/ > > Still needs to be done somewhere else though for performance. > Nothing at all wrong with this "patch", just SHOULD be done > deeper in dbiFindMatches() for highest performing, most general, etc etc. Yupp, there's still a lot room for improvement, I've tried

Re: [CVS] RPM: rpm/js/ rpmaug-js.c rpmbc-js.c rpmbf-js.c rpmcudf-js.c rpmd...

2011-06-03 Thread Per Øyvind Karlsen
2011/6/3 Jeff Johnson : > Talk to me first *PLEASE* ... nothing at all wrong with what you > are doing _EXCEPT_ you aren't talking. Yeah, I just realised that I left it quite broken earlier and figured that I'd might as well just go ahead fixing it.. For the actual changes, I seem to have only par

Re: RPM DB, Berkley DB and journal files

2011-06-28 Thread Per Øyvind Karlsen
2011/6/28 Mark Hatle : > I was hoping someone can help me understand what is happening and how to > address > it for our embedded system needs. > > For reference: > > http://bugzilla.pokylinux.org/show_bug.cgi?id=1174 > > from the above, the complaint is: > > When using zypper/rpm install/removal

Re: [CVS] RPM: rpm/ CHANGES rpm/lib/ transaction.c

2011-07-12 Thread Per Øyvind Karlsen
2011/7/12 Jeff Johnson : > This isn't at all the right approach because > its doesn't scale. > > You have changed a single high performing rpmdb > access that applies patterns to keys only, and added > a hack-o-round that then goes and loads multiple > headers repeatedly to try and adjust the set >

Re: Distepoch & "identification" (was Re: [CVS] RPM: rpm/ CHANGES rpm/lib/ transaction.c)

2011-07-13 Thread Per Øyvind Karlsen
2011/7/12 Jeff Johnson : > Lemme split this into 2 threads to try to address > two twisted issues properly. The other thread will be >        Transaction sanity checks > > On Jul 12, 2011, at 8:48 AM, Jeff Johnson wrote: > You need to figure a better *RE pattern, not whack in lots of

Re: [CVS] RPM: rpm/ CHANGES rpm/lib/ transaction.c

2011-07-13 Thread Per Øyvind Karlsen
2011/7/12 Jeff Johnson : > > On Jul 12, 2011, at 8:21 AM, Per Øyvind Karlsen wrote: > >> 2011/7/12 Jeff Johnson : >>> This isn't at all the right approach because >>> its doesn't scale. >>> >>> You have changed a single high performing r

Re: [CVS] RPM: rpm/ CHANGES rpm/lib/ transaction.c

2011-07-13 Thread Per Øyvind Karlsen
2011/7/13 Jeff Johnson : > > On Jul 13, 2011, at 1:54 PM, Per Øyvind Karlsen wrote: > >>> >>> >>> Passing keys Somewhere Else Instead isn't needed either: rpmdbMireApply() >>> is perfectly capable of being used intelligently, to perform a bullshit

RPM features/issues/wishlist

2011-10-14 Thread Per Øyvind Karlsen
I've started to ramble on some of the features, issues, ideas etc. to work on and consider for our (Mandriva Linux) next development cycle, and in the interest of sharing work and coordinating efforts with others, while inviting others to contribute: http://wiki.mandriva.com/en/Development/Tasks/Pa

Re: [CVS] RPM: rpm-5_4: rpm/rpmdb/ rpmdb.c

2011-11-07 Thread Per Øyvind Karlsen
code that starts to use this patch coming > shortly, correct? urpmi is depending on this, as it's using NVRA for package removal.. > > hth > > 73 de Jeff > > > On Nov 2, 2011, at 9:51 AM, Per Øyvind Karlsen wrote: > >>  RPM Package Manage

Re: How to disable rpm5 log?

2011-11-16 Thread Per Øyvind Karlsen
2011/11/16 Mei, Lei : > Hi all, >        I am a developer of Yocto project(http://www.yoctoproject.org/), our > project is for embedded industry. we support rpm5 in our project, but the > /var/lib/rpm/log grows indefinitely, it's unacceptable in embedded device. I > am trying to disable these lo

Re: [CVS] RPM: rpm-5_4: rpm/ CHANGES rpm/macros/ macros.rpmbuild.in rpm/sc...

2011-12-20 Thread Per Øyvind Karlsen
Den 17:39 21. oktober 2011 skrev Jeff Johnson følgende: >  RPM Package Manager, CVS Repository >  http://rpm5.org/cvs/ >   > >  Server: rpm5.org                         Name:   Jeff Johnson >  Root:   /v/rpm/cvs          

Re: [CVS] RPM: rpm-5_4: rpm/ CHANGES rpm/macros/ macros.rpmbuild.in rpm/sc...

2011-12-20 Thread Per Øyvind Karlsen
Den 16:16 20. desember 2011 skrev Jeffrey Johnson følgende: > > On Dec 20, 2011, at 9:55 AM, Per Øyvind Karlsen wrote: > >> Den 17:39 21. oktober 2011 skrev Jeff Johnson følgende: >>>  RPM Package Manager, CVS Repository

Re: Listing hard dependencies of a package

2011-12-22 Thread Per Øyvind Karlsen
Den 13:24 22. desember 2011 skrev Paul Eggleton følgende: > Hi there, > > Whilst working on Poky/OpenEmbedded I found the need to list all of the hard > dependencies of an RPM package within a shell script. Unfortunately --requires > or the REQUIRES tag seem to also include "soft" dependencies (i.

Re: Listing hard dependencies of a package

2011-12-22 Thread Per Øyvind Karlsen
Den 13:24 22. desember 2011 skrev Paul Eggleton følgende: > Hi there, > > Whilst working on Poky/OpenEmbedded I found the need to list all of the hard > dependencies of an RPM package within a shell script. Unfortunately --requires > or the REQUIRES tag seem to also include "soft" dependencies (i.

Re: Listing hard dependencies of a package

2011-12-22 Thread Per Øyvind Karlsen
Den 13:24 22. desember 2011 skrev Paul Eggleton følgende: > Hi there, > > Whilst working on Poky/OpenEmbedded I found the need to list all of the hard > dependencies of an RPM package within a shell script. Unfortunately --requires > or the REQUIRES tag seem to also include "soft" dependencies (i.

Re: [CVS] RPM: rpm-5_4: rpm/ CHANGES Makefile.am rpm/scripts/ Makefile.am

2012-02-20 Thread Per Øyvind Karlsen
Den 20:16 16. februar 2012 skrev Jeff Johnson følgende: >  RPM Package Manager, CVS Repository >  http://rpm5.org/cvs/ >   > >  Server: rpm5.org                         Name:   Jeff Johnson >  Root:   /v/rpm/cvs          

Re: [CVS] RPM: rpm-5_4: rpm/ CHANGES rpm/js/ rpmmpw-js.c rpm/python/ heade...

2012-02-20 Thread Per Øyvind Karlsen
Den 14:06 1. februar 2012 skrev Pinto Elia følgende: >  RPM Package Manager, CVS Repository >  http://rpm5.org/cvs/ >   > >  Server: rpm5.org                         Name:   Pinto Elia >  Root:   /v/rpm/cvs                

Re: refined implementation of set-versions

2012-04-26 Thread Per Øyvind Karlsen
oops. managed to accidentallly send this while getting on the airport train.. Den 04:48 27. april 2012 skrev Per Øyvind Karlsen følgende: > Den 13:27 21. april 2012 skrev Alexey Tourbin > følgende: >> On Fri, Apr 20, 2012 at 5:16 PM, Jeffrey Johnson wrote: >>> The me

Re: refined implementation of set-versions

2012-04-26 Thread Per Øyvind Karlsen
Den 13:27 21. april 2012 skrev Alexey Tourbin følgende: > On Fri, Apr 20, 2012 at 5:16 PM, Jeffrey Johnson wrote: >> The methods in the existing encoding/decoding are in rpmio/set.c @rpm5.org: >> the algorithm >> is unchanged from Alt. >> >> A change to the existing scheme over the next few mont

Re: refined implementation of set-versions

2012-04-28 Thread Per Øyvind Karlsen
2012/4/28 Jeffrey Johnson : > > On Apr 26, 2012, at 10:48 PM, Per Øyvind Karlsen wrote: > >>> >>>> But set:versions looks quite useful, and far more effective at reducing >>>> the number >>>> of dependencies than attempting a "pin-ho

Re: Requires: python(foo) = bar

2012-05-11 Thread Per Øyvind Karlsen
2012/5/11 Tim Mooney : > In regard to: Requires: python(foo) = bar, Jeffrey Johnson said (at > 2:11pm...: > > >> Matthew Dawkins mentioned an interest in better python module >> dependencies in RPM earlier today. > > > I'm still running rpm 5.1.9 and meaning to upgrade, but I've been meaning > to a

Re: Corrupt RPM

2012-10-16 Thread Per Øyvind Karlsen
2012/10/16 Janis Elmeris > Hello! > > I accidentally upgraded a package with a lot of dependencies inluding rpm > and db, and at some point also aborted the upgrade, and now I have a broken > RPM. :( > > Right after sending the abort command I got these error messages: > > rpmdb: unrecognized na

Re: Does rpm really need to stop file check immediately when an issue is detected?

2013-05-24 Thread Per Øyvind Karlsen
2013/5/24 Denis Silakov > Hi all, > > During discussions with ROSA and OpenMandriva maintainers, we have found > out that update of packages to newer versions sometimes takes much longer > than it could due to rpmbuild specifics (I mean not 'rpm -iU', but the > process of adopting spec file for a

rpm 5.4.12 regressions

2013-07-31 Thread Per Øyvind Karlsen
Attached you'll find a couple of patches fixing regressions in rpm 5.4.12. Another regression I'm more puzzled by though is a lua one: $ rpm -E '%{lua:print(rpm.expand("%_rpmversion"))}' error: Lua script failed: [string ""]:1: attempt to index global 'rpm' (a nil value) 0< (empty) Skimming th

Re: rpm 5.4.12 regressions

2013-08-05 Thread Per Øyvind Karlsen
2013/7/31 Jeffrey Johnson > > On Jul 31, 2013, at 1:49 PM, Per Øyvind Karlsen wrote: > > > Attached you'll find a couple of patches fixing regressions in rpm > 5.4.12. > > > > The first patch is a lua, not an rpm, problem. > > Your 2nd patch introduc

Re: rpm 5.4.12 regressions

2013-08-06 Thread Per Øyvind Karlsen
2013/8/6 Jeffrey Johnson > Whether RPM's version is accessible through a cli macro expansion that > uses the rpm lua module hardly matters: there a zillion alternative means > to find the identifier, starting with the option --version. > This was nothing more than a reproducer, someting I thought

perl-URPM upstream git repo

2013-08-06 Thread Per Øyvind Karlsen
Hi! I noticed the following commit: http://rpm5.org/cvs/chngview?cn=17164 The correct location of the upstream code repositoy is found at: https://abf.rosalinux.ru/moondrake/perl-URPM -- Regards, Per Øyvind

Re: perl-URPM upstream git repo

2013-08-06 Thread Per Øyvind Karlsen
2013/8/6 Jeffrey Johnson > > On Aug 6, 2013, at 11:47 AM, Per Øyvind Karlsen wrote: > > Hi! > > I noticed the following commit: http://rpm5.org/cvs/chngview?cn=17164 > > The correct location of the upstream code repositoy is found at: > https://abf.rosalinux.ru/moondr

Re: perl-URPM upstream git repo

2013-08-06 Thread Per Øyvind Karlsen
2013/8/6 Jeffrey Johnson > > On Aug 6, 2013, at 12:31 PM, Per Øyvind Karlsen wrote: > > 2013/8/6 Jeffrey Johnson > >> >> On Aug 6, 2013, at 11:47 AM, Per Øyvind Karlsen wrote: >> >> Hi! >> >> I noticed the following commit: http://rpm5.org/cvs/

Re: rpm 5.4.12 regressions

2013-08-07 Thread Per Øyvind Karlsen
2013/8/6 Jeffrey Johnson > > On Aug 6, 2013, at 12:31 PM, Jeffrey Johnson wrote: > > > On Aug 6, 2013, at 9:55 AM, Per Øyvind Karlsen wrote: > > >> Meanwhile "Write a test case." is the only sane response to preventing >> regressions. >> > Yes,

some regressions in rpm 5.1.12

2013-08-08 Thread Per Øyvind Karlsen
The following patch fixes a regression in rpmlua where it no longer overrides the luaB_print() function with the one provided by rpm_print(). -- Regards, Per Øyvind rpm-5.4.12-fix-rpmlua-print.patch Description: Binary data

Embedded python fix

2013-08-08 Thread Per Øyvind Karlsen
The following patch fixes the syntax of the python initialization code that resulted in neither the output redirection working nor the rpm python module being loaded. -- Regards, Per Øyvind rpm-5.4.12-fix-rpmpython-module-import-init.patch Description: Binary data

Re: Embedded python fix

2013-08-08 Thread Per Øyvind Karlsen
2013/8/8 Per Øyvind Karlsen > The following patch fixes the syntax of the python initialization code > that resulted in neither the output redirection working nor the rpm python > module being loaded. > This patch makes sure that the output buffer gets truncated after use, otherwis

Re: Embedded python fix

2013-08-08 Thread Per Øyvind Karlsen
2013/8/9 Jeffrey Johnson > > On Aug 8, 2013, at 9:29 PM, Per Øyvind Karlsen wrote: > > 2013/8/8 Per Øyvind Karlsen > >> The following patch fixes the syntax of the python initialization code >> that resulted in neither the output redirection working nor the rpm py

Re: Embedded python fix

2013-08-11 Thread Per Øyvind Karlsen
2013/8/9 Jeffrey Johnson > > On Aug 9, 2013, at 1:59 AM, Per Øyvind Karlsen wrote: > > 2013/8/9 Jeffrey Johnson > >> >> On Aug 8, 2013, at 9:29 PM, Per Øyvind Karlsen wrote: >> >> 2013/8/8 Per Øyvind Karlsen >> >>> The following patch fixes

Re: Embedded python fix

2013-08-11 Thread Per Øyvind Karlsen
2013/8/11 Jeffrey Johnson > > On Aug 8, 2013, at 4:01 PM, Per Øyvind Karlsen wrote: > > > The following patch fixes the syntax of the python initialization code > that resulted in neither the output redirection working nor the rpm python > module being loaded. > &

Patch: Add %_specfile macro

2013-08-26 Thread Per Øyvind Karlsen
This one has been commited by devzero2000 (IIRC) on HEAD branch, but not in rpm-5_4. It simply adds a %_specfile macro to get the file name of the spec file parsed. -- Regards, Per Øyvind rpm-5.4.4-add-_specfile-macro.patch Description: Binary data

Fix rpm -qa \*foo\*

2013-08-26 Thread Per Øyvind Karlsen
The following patch fixes querying rpmdb with wildcards, whereas without this fix, it'll return all entries and not just those matching. -- Regards, Per Øyvind rpm-5.4.9-fix-rpm_qa-pattern.patch Description: Binary data

Support for terminate build on duplicate files

2013-08-26 Thread Per Øyvind Karlsen
This patch enables termination of build on duplicate files by setting %_duplicate_files_terminate_build . -- Regards, Per Øyvind rpm-5.4.10-duplicate_files_terminate_build.patch Description: Binary data

Don't display suggests with --requires

2013-08-26 Thread Per Øyvind Karlsen
This patch fixes so that soft dependencies won't be displayed with 'rpm -q --requires', only with 'rpm -q --suggests' -- Regards, Per Øyvind rpm-5.4.8-dont-show-suggests-with-requires.patch Description: Binary data

Silence excessive output from eu-strip

2013-08-26 Thread Per Øyvind Karlsen
This patch silences excessive output from eu-strip during find-debuginfo.sh usage. -- Regards, Per Øyvind rpm-5.4.4-find-debuginfo-avoid-excessive-output-from-eu-strip.patch Description: Binary data

Some ruby 1.9 fixes

2013-08-26 Thread Per Øyvind Karlsen
This patch fixes compatibility with ruby 1.9. -- Regards, Per Øyvind rpm-5.4.9-ruby1.9-fixes.patch Description: Binary data

Don't include buildroot in list of duplicate files printed

2013-08-26 Thread Per Øyvind Karlsen
This patch will strip away the buildroot prefix for duplicate files listed, providing greater consistency with behaviour otherwise. -- Regards, Per Øyvind rpm-5.4.9-strip-buildroot-away-from-duplicate-files-list.patch Description: Binary data

Fix incorrect sizeof usage to get string length

2013-08-26 Thread Per Øyvind Karlsen
This patch fixes an incorrect attempt to get the string length with sizeof on a string allocated on the heap. -- Regards, Per Øyvind rpm-5.4.12-rpmfc-use-strlen-not-sizeof.patch Description: Binary data

Support terminate build on files listed twice.

2013-08-26 Thread Per Øyvind Karlsen
This patch adds support for termination builds with files listed twice by setting %_files_listed_twice_terminate_build -- Regards, Per Øyvind rpm-5.4.10-files-listed-twice-terminates-build.patch Description: Binary data

Only generate ruby and python deps for executables and modules

2013-08-26 Thread Per Øyvind Karlsen
This patch will make the dependency generator only generate ruby and python dependencies for executable and modules, this way preventing dependencies being generated for such as ie. private python files shipped with some package at some non-standard location, not meant to be available/exported for

Re: Fix rpm -qa \*foo\*

2013-08-26 Thread Per Øyvind Karlsen
2013/8/26 Jeffrey Johnson > > On Aug 26, 2013, at 2:19 PM, Per Øyvind Karlsen wrote: > > > The following patch fixes querying rpmdb with wildcards, whereas without > this fix, it'll return all entries and not just those matching. > > > > The issue of wildcard

Change default package suffix for debug packages to -debuginfo

2013-08-26 Thread Per Øyvind Karlsen
As -debuginfo is the most commonly used suffix for debug packages, there's also code with special behaviour for naming convention (see lib/dependens.c where '-debuginfo' rather than '-debug' is used, not to forget other software such as ie. gdb etc. also that expects this), this patch changes the d

Re: Don't display suggests with --requires

2013-08-26 Thread Per Øyvind Karlsen
2013/8/26 Jeffrey Johnson > > On Aug 26, 2013, at 2:21 PM, Per Øyvind Karlsen wrote: > > > This patch fixes so that soft dependencies won't be displayed with 'rpm > -q --requires', only with 'rpm -q --suggests' > > > > This patch can be

Make sure hdrfmt argv element is initialized

2013-08-26 Thread Per Øyvind Karlsen
This patch should be pretty self-explaining.. :) -- Regards, Per Øyvind rpm-5.4.7-hdrfmt-fix-unitialized-argv-element.patch Description: Binary data

Re: Don't include buildroot in list of duplicate files printed

2013-08-26 Thread Per Øyvind Karlsen
2013/8/26 Jeffrey Johnson > > On Aug 26, 2013, at 2:24 PM, Per Øyvind Karlsen wrote: > > > This patch will strip away the buildroot prefix for duplicate files > listed, providing greater consistency with behaviour otherwise. > > > > While the approach is sen

Fix minor memlead

2013-08-26 Thread Per Øyvind Karlsen
The following patch fixes a couple of minor memleaks. -- Regards, Per Øyvind rpm-5.4.7-fix-minor-memleaks.patch Description: Binary data

Fix miRE strings lacking null terminator

2013-08-26 Thread Per Øyvind Karlsen
This patch ensures that strings has a null terminator at end, otherwise strings passed to mireRegexec might be missing it. -- Regards, Per Øyvind rpm-5.4.9-mire-fix-strings-lacking-null-terminator.patch Description: Binary data

No seqid_init on rdonly database

2013-08-26 Thread Per Øyvind Karlsen
I don't think this patch requires any elaboration... -- Regards, Per Øyvind rpm-5.4.7-no-seqid_init-on-rdonly-database.patch Description: Binary data

Fix typo in rpmtag.h

2013-08-26 Thread Per Øyvind Karlsen
Requires no explanation.. -- Regards, Per Øyvind rpm-5.4.9-fix-typo-in-rpmtag-header.patch Description: Binary data

Set LC_TYPE to UTF-8 when building ruby gems

2013-08-26 Thread Per Øyvind Karlsen
This patch forces LC_TYPE=UTF-8 for when building ruby gems. -- Regards, Per Øyvind rpm-5.4.10-set-lc_ctype-to-utf8-when-building-gem.patch Description: Binary data

Resolve absolute path to RPM_BUILD_DIR for debugedit

2013-08-26 Thread Per Øyvind Karlsen
This resolves the absolute path to $RPM_BUILD_DIR, as required by debugedit. -- Regards, Per Øyvind rpm-5.4.10-resolve-absolute-path-to-RPM_BUILD_DIR-for-debugedit.patch Description: Binary data

Fix a couple of debugedit memleaks

2013-08-26 Thread Per Øyvind Karlsen
Simple enough.. -- Regards. Per Øyvind rpm-5.4.10-fix-a-couple-of-debugedit-memleaks.patch Description: Binary data

Fix tagSwab handling of RPM_UINT64_TYPE

2013-08-26 Thread Per Øyvind Karlsen
This patch fixes tagSwab() to work with RPM_UINT64_TYPE. I'm not sure why it's not using newer functions (ie. from endian(3)) with support for 64 integers rather than using two 32 bit integers, but I guess it might be related to legacy compatibility..? And if so, is it still relevant, or should co

Strip newlines from mono requires

2013-08-26 Thread Per Øyvind Karlsen
This patch strips newlines for mono dependencies generated that really shouldn't be there.. ;) -- Regards. Per Øyvind rpm-5.4.7-mono-find-requires-strip-newlines.patch Description: Binary data

Fix rpm --verify segfault

2013-08-26 Thread Per Øyvind Karlsen
This fixes a segfault with --verify (IIRC on packages signed with old signature type). The bug is discussed at https://qa.mandriva.com/show_bug.cgi?id=64378 No definite consensus were ever achieved in previous discussions about the correct fix for this bug, but the patch does at least work (tm) ;

Don't remap i18n trings if enabled

2013-08-26 Thread Per Øyvind Karlsen
This patch disables remapping of i18n strings if support of is enabled. Considering i18n strings are getting phased out, the importance of this patch is of course rather diminishing, but at least it does fix what it's supposed to fix. :) -- Regards, Per Øyvind rpm-5.4.9-dont-remap-i18n-strings-i

Avoid double slashes in path for dirname trigger matching

2013-08-26 Thread Per Øyvind Karlsen
This patch ensures that double '/' doesn't end up in dirname paths triggers matched against. -- Regards, Per Øyvind rpm-5.4.9-avoid-double-slash-in-path-for-dirname-filetrigger-matching.patch Description: Binary data

Don't try generate rpmfc dependencies from doc files

2013-08-26 Thread Per Øyvind Karlsen
This patch prevents automatic dependencies from being generated for doc files. -- Regards, Per Øyvind rpm-5.4.12-dont-try-generate-rpmfc-dependencies-from-doc-files.patch Description: Binary data

Skip dependencies for block & character devices

2013-08-26 Thread Per Øyvind Karlsen
This patch prevents dependencies being generated for block & character devices. -- Regards, Per Øyvind rpm-5.4.5-skip-dependencies-for-character-devices.patch Description: Binary data

Actually link against internal lua

2013-08-26 Thread Per Øyvind Karlsen
This patch fixes an issue with internal lua not being linked against even if enabled. -- Regards, Per Øyvind rpm-5.4.7-actually-perform-linking-against-internal-lua.patch Description: Binary data

Apply python coloring from magic

2013-08-26 Thread Per Øyvind Karlsen
Add missing string reported by libmagic on some python files. -- Regards, Per Øyvind rpm-5.4.5-rpmfc-apply-python-coloring-from-magic.patch Description: Binary data

Don't add rpmlib(VersionedDependencies) feature dependency

2013-08-26 Thread Per Øyvind Karlsen
This patch comes from some discussion of ours longlong time ago about there no longer being any need for the rpmlib(VersionedDependencies) feature dependency.. So as I understood from you it being of no use, I yanked it locally in cooker at least.. :) -- Regards, Per Øyvind rpm-5.4.9-dont-add-v

Don't generate php dependencies on only executable php scripts

2013-08-26 Thread Per Øyvind Karlsen
Subject says it all.. rpm-5.4.5-dont-generate-php-dependencies-only-when-executable.patch Description: Binary data

find-debuginfo.sh: strip reloc debug sections

2013-08-26 Thread Per Øyvind Karlsen
Here's a patch from devzero2000 that got lost on HEAD... -- Regards, Per Øyvind rpm-5.4.9-find-debuginfo-strip-reloc-debug-sections.patch Description: Binary data

Set proper file color for scripts using env in shellbang

2013-08-26 Thread Per Øyvind Karlsen
I'm almost done with the first round of pushing (mainly ~pure) bug fix(/more trivial) patches for now.. -- Regards, Per Øyvind rpm-5.4.5-set-proper-file-color-for-scripts-using-env-in-shellbang.patch Description: Binary data

Update brp-compress with support for xz/lzma compression

2013-08-26 Thread Per Øyvind Karlsen
This patch adds support for compressing man & info pages with xz or lzma compression. -- Regards, Per Øyvind rpm-5.4.10-update-and-use-brp-compress.patch Description: Binary data

Fix neon saving error pages as target file

2013-08-26 Thread Per Øyvind Karlsen
This patch fixes neon saving error pages when encountered to target file. I'm not entirely sure if this is the *correct* way to fix it though, but at least it does work... ;) On a related note, is neon failing to download whenever being redirected (ie. when downloading from sourceforge.net) a kno

Re: Fix miRE strings lacking null terminator

2013-08-26 Thread Per Øyvind Karlsen
2013/8/26 Jeffrey Johnson > > On Aug 26, 2013, at 3:17 PM, Per Øyvind Karlsen wrote: > > > This patch ensures that strings has a null terminator at end, otherwise > strings passed to mireRegexec might be missing it. > > > > Is there a specific problem here? DO you

Fix variables getting overriden by /etc/os-release

2013-08-26 Thread Per Øyvind Karlsen
The follow patch fixes /etc/os-release being sourced right into same environment as the configure script runs in, meaning that any existing variables with same names as found in /etc/os-release gets overriden. This patch sources /etc/os-release and prints the $ID variable in a sub-shell in order t

Debugedit busted in rpm-5.4.13

2013-08-26 Thread Per Øyvind Karlsen
The following change breaks debugedit: http://rpm5.org/cvs/chngview?cn=17180 With this patch applied, debugedit will fail in following fashion: extracting debug info from /home/peroyvind/ABF/queue/augeas/BUILDROOT/augeas-1.0.0-4-mdk2013.0.x86_64-buildroot/lib64/libaugeas.so.0.16.0 Failed to produc

Re: Fix neon saving error pages as target file

2013-09-12 Thread Per Øyvind Karlsen
2013/8/29 Jeffrey Johnson > > On Aug 29, 2013, at 4:13 PM, Matthew Dawkins wrote: > > Idk if this an "official" item on the ROADMAP, but having support for 30+ > diff redirects in RPMIO "would" be a nice feature, useful to "us" > hobbyists". Especial redirects from sourceforge or googlecode. > >

Re: Update brp-compress with support for xz/lzma compression

2013-09-12 Thread Per Øyvind Karlsen
2013/8/29 Jeffrey Johnson > > On Aug 29, 2013, at 4:20 PM, Matthew Dawkins wrote: > > Honestly, this is kinda arrogant reply. Why deem what is appropriate based > on what Fedora does? It seems that Fedora allows poor pkging if you have to > fix explicit suffixes with "*". > > > Having dealt with

Re: Some ruby 1.9 fixes

2013-09-12 Thread Per Øyvind Karlsen
2013/8/26 Jeffrey Johnson > > On Aug 26, 2013, at 2:30 PM, Per Øyvind Karlsen wrote: > > > This patch fixes compatibility with ruby 1.9. > > > > There are far far far deeper issues with ruby 1.8.x != 1.9.x behavior > that need to be addressed. > > There is no

Re: Set proper file color for scripts using env in shellbang

2013-09-12 Thread Per Øyvind Karlsen
2013/8/27 Jeffrey Johnson > > On Aug 26, 2013, at 4:21 PM, Per Øyvind Karlsen wrote: > > > I'm almost done with the first round of pushing (mainly ~pure) bug > fix(/more trivial) patches for now.. > > > > This has _NOTHING to do with file colors (because it

Re: Don't generate php dependencies on only executable php scripts

2013-09-12 Thread Per Øyvind Karlsen
2013/8/27 Jeffrey Johnson > > On Aug 26, 2013, at 4:13 PM, Per Øyvind Karlsen wrote: > > > Subject says it all.. > > Um no. I can't tell whether you have sent a reversed patch > or are attempting a change in behavior. > > RPM SHOULD extract dependencies only

Re: Apply python coloring from magic

2013-09-12 Thread Per Øyvind Karlsen
2013/8/27 Jeffrey Johnson > Not the right fix. > > Here's why: > > RPM includes/uses magic strings returned from libmagic. > > For reproducible results, where external "system" magic changes > arbitrarily, there are any number of problems that ensue > because the (what used to be) /etc/magic text

Re: Fix rpm -qa \*foo\*

2013-09-12 Thread Per Øyvind Karlsen
2013/8/26 Jeffrey Johnson > > On Aug 26, 2013, at 2:51 PM, Per Øyvind Karlsen wrote: > > 2013/8/26 Jeffrey Johnson > >> >> On Aug 26, 2013, at 2:19 PM, Per Øyvind Karlsen wrote: >> >> > The following patch fixes querying rpmdb with wildcards, whe

Fix perl bindings breakage over xmalloc() use

2013-09-12 Thread Per Øyvind Karlsen
Seems like xmalloc() is no longer exported by the rpm libraries, leading to situations like this with the perl bindings that uses it a couple of places: t/01.rpm.t .. 1/12 # Failed test 'use RPM;' # at t/01.rpm.t line 7. # Tried to use 'RPM'. # Error: Can't load '/home/pero

Re: Embedded python fix

2013-09-12 Thread Per Øyvind Karlsen
2013/8/9 Jeffrey Johnson > > On Aug 8, 2013, at 9:29 PM, Per Øyvind Karlsen wrote: > > 2013/8/8 Per Øyvind Karlsen > >> The following patch fixes the syntax of the python initialization code >> that resulted in neither the output redirection working nor the rpm py

<    1   2   3   4   >