Bug 949833 - RFE: Provide macro to create scl wrapper for binaries
Summary: RFE: Provide macro to create scl wrapper for binaries
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: scl-utils
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Remi Collet
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1058796 1369788 1371936 1372700 1390495
Blocks: 960574 965565
TreeView+ depends on / blocked
 
Reported: 2013-04-09 06:35 UTC by Vít Ondruch
Modified: 2024-09-12 06:00 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-09-12 06:00:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Vít Ondruch 2013-04-09 06:35:19 UTC
In ruby193 SCL, there is available %{_root_bindir}/%{scl_prefix}ruby, i.e. ruby193-ruby to provide easy way how to execute ruby from SCL, without need of calling "scl enable ruby193 'ruby'". It is created by following snippet:



# Create the %%{_root_bindir} wrapper:
%if 0%{?scl:1}
mkdir -p %{buildroot}%{_root_bindir}
cat > %{buildroot}%{_root_bindir}/%{scl_prefix}ruby << 'EOF'
#!/bin/bash

COMMAND="ruby $@"
scl enable %{scl} "$COMMAND"
EOF
chmod a+x %{buildroot}%{_root_bindir}/%{scl_prefix}ruby
%endif



Since this very useful concept and is requested to be added also for other packages, it would be nice, if there is available some rpm macro, such as %scl_bin_wrapper, which would create the wrapper for us.

Comment 1 Marcela Mašláňová 2014-03-12 14:35:55 UTC
It's not sure if wrappers were to be included in collections. Let's leave it open, because automatic providing of wrappers would be much better than creating them manually.

Comment 2 Vít Ondruch 2014-03-12 14:41:52 UTC
There might be better solution as proposed in bug 1058796

Comment 3 Jan Zeleny 2014-04-08 11:46:10 UTC
Upstream ticket:
https://fedorahosted.org/SoftwareCollections/ticket/3

Comment 4 Fedora Admin XMLRPC Client 2016-05-30 14:58:31 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 6 Fedora Admin XMLRPC Client 2016-10-12 08:02:07 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 7 Fedora Admin user for bugzilla script actions 2023-09-05 00:53:40 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 8 Fedora Admin user for bugzilla script actions 2024-09-11 17:14:49 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 9 Remi Collet 2024-09-12 06:00:22 UTC
Package in survival mode, no new features planned


Note You need to log in before you can comment on or make changes to this bug.