[opensuse-factory] Help with %files
Hi, Could someone please take a look at https://build.opensuse.org/package/live_build_log?arch=x86_64&package=coreutils&project=home%3Arjschwei%3Abranches%3ABase%3ASystem&repository=openSUSE_Factory I am trying to keep the binaries in /usr/bin and somehow I managed that the file with the files to pack list is no longer getting picked up. The modified (as compared to Base:System) specfile can be found here: https://build.opensuse.org/package/view_file?file=coreutils.spec&package=coreutils&project=home%3Arjschwei%3Abranches%3ABase%3ASystem&rev=56eba5953af721b4e2ad2589b8b8760a The changes are not very invasive and are mostly bracketed by #UsrMerge, #EndUsrMerge When building locally the bin.files file is created as expected and contains the expected content. Yet it appears that the file is being ignored, despite %files -f bin.files Help is appreciated. Thanks, Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU SUSE-IBM Software Integration Center LINUX Tech Lead rjschwei@suse.com rschweik@ca.ibm.com 781-464-8147 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Monday 06 February 2012, Robert Schweikert wrote:
Hi,
Could someone please take a look at
https://build.opensuse.org/package/live_build_log?arch=x86_64&package =coreutils&project=home%3Arjschwei%3Abranches%3ABase%3ASystem&reposito ry=openSUSE_Factory
I am trying to keep the binaries in /usr/bin and somehow I managed that the file with the files to pack list is no longer getting picked up.
The modified (as compared to Base:System) specfile can be found here:
https://build.opensuse.org/package/view_file?file=coreutils.spec&pack age=coreutils&project=home%3Arjschwei%3Abranches%3ABase%3ASystem&rev=5 6eba5953af721b4e2ad2589b8b8760a
The changes are not very invasive and are mostly bracketed by #UsrMerge, #EndUsrMerge
When building locally the bin.files file is created as expected and contains the expected content. Yet it appears that the file is being ignored, despite
%files -f bin.files
Can you "cat bin.files" to see it in build log. Also IMO you should not use "ln -sf" but only "ln -s" because you would overwrite files by dead links if configure is not working as expected. BTW in coreutils case I would probably hardcode all binaries name in file section too see if something is missed/changed there after coreutils upgrade,
%files -f bin.files
Help is appreciated. Thanks, Robert
-- Robert Schweikert MAY THE SOURCE BE WITH YOU SUSE-IBM Software Integration Center LINUX Tech Lead rjschwei@suse.com rschweik@ca.ibm.com 781-464-8147 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Monday 06 February 2012, Robert Schweikert wrote:
Hi,
Could someone please take a look at
https://build.opensuse.org/package/live_build_log?arch=x86_64&package =coreutils&project=home%3Arjschwei%3Abranches%3ABase%3ASystem&reposito ry=openSUSE_Factory
The original for loop is only about files we currently want to move from /usr/bin to /bin so now you are missing all other files in /usr/bin because you had removed %{_bindir}/* from file section. Just remove that for loop completly and link everything from /bin/ to %{_bindir}. Then see what you need to fix.
I am trying to keep the binaries in /usr/bin and somehow I managed that the file with the files to pack list is no longer getting picked up.
The modified (as compared to Base:System) specfile can be found here:
https://build.opensuse.org/package/view_file?file=coreutils.spec&pack age=coreutils&project=home%3Arjschwei%3Abranches%3ABase%3ASystem&rev=5 6eba5953af721b4e2ad2589b8b8760a
The changes are not very invasive and are mostly bracketed by #UsrMerge, #EndUsrMerge
When building locally the bin.files file is created as expected and contains the expected content. Yet it appears that the file is being ignored, despite
%files -f bin.files
Help is appreciated. Thanks, Robert
-- Robert Schweikert MAY THE SOURCE BE WITH YOU SUSE-IBM Software Integration Center LINUX Tech Lead rjschwei@suse.com rschweik@ca.ibm.com 781-464-8147 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 02/07/2012 05:28 AM, Ruediger Meier wrote:
On Monday 06 February 2012, Robert Schweikert wrote:
Hi,
Could someone please take a look at
https://build.opensuse.org/package/live_build_log?arch=x86_64&package =coreutils&project=home%3Arjschwei%3Abranches%3ABase%3ASystem&reposito ry=openSUSE_Factory
The original for loop is only about files we currently want to move from /usr/bin to /bin so now you are missing all other files in /usr/bin because you had removed %{_bindir}/* from file section.
duh... Thanks. Now I have the complaint about packing /usr/bin/su with setuid permission. I take it we have some list somewhere that needs to be fiddled with to allow /usr/bin/su to be packaged with setuid instead of /bin/su? Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU SUSE-IBM Software Integration Center LINUX Tech Lead rjschwei@suse.com rschweik@ca.ibm.com 781-464-8147 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Robert Schweikert
-
Ruediger Meier