[Rpm-maint] [rpm-software-management/rpm] Possible to make DNF create damned package-config files for every installed package? (#1371)

2020-09-23 Thread addstopbutton
Hi guys! Trying to build MPV player. Have to install manually many packages (which according to dnf are already present) just to create required .pc files. How to fix this? Or maybe it's a known problem? -- You are receiving this because you are subscribed to this thread. Reply to this email

Re: [Rpm-maint] [rpm-software-management/rpm] [RFE] Provide install time alternative to `%{?_isa}` (#1344)

2020-09-23 Thread Vít Ondruch
> Should this work for different-arch builders as well? This seems to be different problem. Apparently there was soname bump in matio package on Sept 17. It seems that vips woudl deserve rebuilt -- You are receiving this because you are subscribed to this thread. Reply to this email directly

Re: [Rpm-maint] [rpm-software-management/rpm] pythondistdeps: Switch to importlib.metadata (#1317)

2020-09-23 Thread Miro Hrončok
@hroncok commented on this pull request. > else: -dep_normalized_name = dep.key +dep_normalized_name = dep.key.replace('_', '-') Be careful with manual replaces for normalized names. There are two regexes that this code

Re: [Rpm-maint] [rpm-software-management/rpm] pythondistdeps: Switch to importlib.metadata (#1317)

2020-09-23 Thread torsava
@torsava commented on this pull request. > -print('Conflicts:\t{} {} {}'.format(dep.key, > '==', spec[1])) +for dep in dist.requirements_for_extra(extra): +for spec in dep.specifier: +if

Re: [Rpm-maint] [rpm-software-management/rpm] pythondistdeps: Switch to importlib.metadata (#1317)

2020-09-23 Thread torsava
@torsava commented on this pull request. > else: -dep_normalized_name = dep.key +dep_normalized_name = dep.key.replace('_', '-') In my testing, the previous setuptools version already has underscores replaced in the `key`

Re: [Rpm-maint] [rpm-software-management/rpm] pythondistdeps: Switch to importlib.metadata (#1317)

2020-09-23 Thread torsava
@torsava commented on this pull request. > else: -dep_normalized_name = dep.key +dep_normalized_name = dep.key.replace('_', '-') Why do you still do the `replace` here, but not in the other places where you use `dep.key`?

Re: [Rpm-maint] [rpm-software-management/rpm] pythondistdeps: Switch to importlib.metadata (#1317)

2020-09-23 Thread torsava
@torsava commented on this pull request. > +if isdir(path): +path = dirname(path) +res = re.search(r"/python(?P\d+\.\d+)/", path) This breaks detection of Python version from the name of the egg-info file. And I think you misunderstood me, I wasn't doubting the

Re: [Rpm-maint] [rpm-software-management/rpm] [RFE] Provide install time alternative to `%{?_isa}` (#1344)

2020-09-23 Thread Pavel Valena
Well, it's only a binding, not having anything compiled. Should this work for different-arch builders as well? ``` DEBUG util.py:621: Error: DEBUG util.py:621: Problem: package ruby-libs-2.7.1-134.fc33.s390x requires libffi.so.6()(64bit), but none of the providers can be installed DEBUG

[Rpm-maint] [rpm-software-management/rpm] file trigger quirks (#1370)

2020-09-23 Thread Ludwig Nussel
Trying to implement file triggers for mandoc to register and unregister man pages in the whatis database I ran into some strange behavior. Note I can't use transfiletrigger as zypp doesn't support that :( - triggers are executed several times on upgrade and uninstall for the same package (ie

[Rpm-maint] [rpm-software-management/rpm] Revert "Improve ARM detection" (#1369)

2020-09-23 Thread Panu Matilainen
Shouldve been reverted as a part of reverting commits 0da3c50d1fa37945ba1b01975ecf2f62b51fb3cd and 8ab279ae6b3855fca5946dafd11c38e91adc9904 but got left behind and Fedora has been carrying this reversion as a patch since then (and other distros carrying others). This equally broken for everybody

Re: [Rpm-maint] [rpm-software-management/rpm] Add tag with %{NAME} of SRPM (#1364)

2020-09-23 Thread Panu Matilainen
Sorry, I don't understand that question. Parsing NEVR is not a whole lot different or better from parsing SOURCERPM, because the latter is literally just NVR.[no]src.rpm (since epoch isn't there, it's actually easier to parse than NEVR). What would (IMO) make an actual difference is having

Re: [Rpm-maint] [rpm-software-management/rpm] pythondistdeps: Switch to importlib.metadata (#1317)

2020-09-23 Thread lgtm-com[bot]
This pull request **fixes 1 alert** when merging 8a5494c5d22b620a071b73d8b3dc31f495a7cdcd into 4cbdd7c94071f52dfe64466df80e859193d89d89 - [view on LGTM.com](https://lgtm.com/projects/g/rpm-software-management/rpm/rev/pr-8556ea7d2c7464263c5c35dacf6ac13c31779659) **fixed alerts:** * 1 for