Re: [Rpm-maint] [rpm-software-management/rpm] Provide function for $optflags manipulation (#814)

2019-08-13 Thread Tomáš Chvátal
I can imagine 2 operations:

`%remove_optflags 'undesirable'`
`%replace_optflags 'oldval' 'newval'`

Which would cover your usecases (because appendif is mostly replace if you also 
add the oldval to newval)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/814#issuecomment-520848773___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Provide function for $optflags manipulation (#814)

2019-08-13 Thread Tomáš Chvátal
Question is how much pain it would be to create the flagomatic eclass in m4

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/814#issuecomment-520848939___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] rpmdb - flag about the package installation reason (#622)

2019-01-24 Thread Tomáš Chvátal
When installing anything on the system all packages are treated as equals, 
which in turn makes it pretty hard to interpret wether user decided to install 
package A or if it was pulled and installed only as dependency.

It would be nice to store a marker for each package to figure out where it came 
from and then let the libsolv and others to allow clean and easy way how to 
remove unneeded dependencies.

Most of the package managers (zypp, dnf) kinda support this idea but I think 
this is safest in RPM directly as user still can use rpm calls to install 
packages. It would be more scatchy if it would be stored by dnf/zypper 
somewhere compared to direct rpm storage.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/622___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint