Aw: Re: Re: [opensuse-support] Request: android-tools Package for openSUSE Leap 15.1 ff
Hello Axel,
Thank you very much for the making the packages available.
I've tried to build the needed .rpm package from the provided .src.rpm
Hi Simon, Thank you very much for pointing out that "...in most cases it is not possible to build openSUSE packages using rpmbuild, this is because they often use macro's and variables that are defined as part of the project configs..." This is new for me and honestly I cannot follow, because I am not (yet) very familiar with building my own packages. Can you give a recommendation if there is a manual somewhere in the openSUSE world, where I can find an easy to understand description how to create local buildings with the osc command? Kind regards Michael Gesendet: Donnerstag, 09. Januar 2020 um 08:30 Uhr Von: "Simon Lees" <sflees@suse.de> An: opensuse-support@opensuse.org Betreff: Re: Aw: Re: [opensuse-support] Request: android-tools Package for openSUSE Leap 15.1 ff Hi On 1/8/20 6:57 AM, Michael Kasimir wrote: source package
https://download.opensuse.org/repositories/home:/DocB:/branches:/hardware/
openSUSE_Leap_15.1/src/android-udev-rules-20191103-lp151.4.1.src.rpm
unfortunately one error occured during the process:
linux-4t6d:# rpmbuild -ba --noclean android-udev-rules.spec error: line 31: Unknown tag: %{sysusers_requires} linux-4t6d:#
As a more general note, in most cases it is not possible to build openSUSE packages using rpmbuild, this is because they often use macro's and variables that are defined as part of the project configs. Because of this all packages need to be built with open build service (build.opensuse.org) however you can use the osc command to do local builds. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Hello Michael, Am Donnerstag, 9. Januar 2020, 23:19:06 CET schrieb michael.kasimir@gmx.de:
Thank you very much for pointing out that "...in most cases it is not possible to build openSUSE packages using rpmbuild, this is because they often use macro's and variables that are defined as part of the project configs..."
This is new for me and honestly I cannot follow, because I am not (yet) very familiar with building my own packages.
Can you give a recommendation if there is a manual somewhere in the openSUSE world, where I can find an easy to understand description how to create local buildings with the osc command?
A good start is probably https://en.opensuse.org/Portal:Packaging HTH Axel -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Hi On 1/10/20 8:49 AM, michael.kasimir@gmx.de wrote:
Hi Simon,
Thank you very much for pointing out that "...in most cases it is not possible to build openSUSE packages using rpmbuild, this is because they often use macro's and variables that are defined as part of the project configs..."
This is new for me and honestly I cannot follow, because I am not (yet) very familiar with building my own packages.
Can you give a recommendation if there is a manual somewhere in the openSUSE world, where I can find an easy to understand description how to create local buildings with the osc command?
https://duncan.codes/tutorials/rpm-packaging/index.html is probably the best starting point -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B
participants (3)
-
Axel Braun
-
michael.kasimir@gmx.de
-
Simon Lees