Quoting Sascha Manns
Hello mates,
i'm trying to update skrooge atm. But i have a curious problem and don't know how to package this.
Skrooge builds a module for grantlee.
The output is: %{_libdir}/grantlee/0.1/grantlee_skroogefilters.so (For 11.4, 12.1) %{_libdir}/grantlee/0.2/grantlee_skroogefilters.so (For 12.1 Uns., Fac)
I'm guessing that i have to define which one matches with a special KDE Version.
Anything like: %if 0%{?_kde4_version} => 4.8.0 %{_libdir}/grantlee/0.2/grantlee_skroogefilters.so %else %{_libdir}/grantlee/0.1/grantlee_skroogefilters.so %endif
Very likely you can do something like (not exact code: you'll have to look it up): %define _grantleedir %(pkg-config --variable filterlocation grantlee) (Assuming that grantlee is the package that you create a plugin to. The 'easiest' is to verify the build system and understanding how it creates the choice where to install the filter to. Or, if you actually do not care that much, just use %{_libdir}/grantlee/*/grantlee_skroogefilters.so Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org