In Fedora 20, scl-utils-build defined the following macro: %global _sysconfdir %{_scl_root}/etc In Fedora 21, this has changed to: %global _sysconfdir %{_root_sysconfdir}/opt/%{scl_vendor}/%{scl} And now when I build my SCL packages on F21, my config files get installed into the wrong place! Please can this be changed back?
It looks like the definitions of _sharedstatedir and _localstatedir have also changed. Was this intentional?
Yes, this was completely intentional and in alignment with FPC request so they would accept SCL technology in Fedora. See bug 1066665 for details. In the future versions of scl-utils we will make this configurable. As I was under the impression that scl-utils in Fedora are still yet to be used, I had no reason why to do it right away. If you wish, we can backport this change to the current Fedoras.
I see, in that case I can probably live with this by making sure $XDG_DATA_DIRS etc are set correctly in the SCL. Hopefully, nothing relies on the old location that can't be changed, we'll see... BTW, I am publishing SCLs on Fedora since Fedora 20 [1] and it seems like I am not the only one. [2] [1] https://www.softwarecollections.org/en/scls/mbooth/eclipse-luna/ [2] https://www.softwarecollections.org/en/scls/tag/fedora-20/
One thing that could still be a problem is that the %scl_files macro is no longer accurate. It lists the following: %{_scl_root}/etc/X11 %{_scl_root}/etc/xdg %{_scl_root}/etc/opt %{_scl_root}/etc/pm %{_scl_root}/etc/xinetd.d %{_scl_root}/etc/skel %{_scl_root}/etc/sysconfig %{_scl_root}/etc/pki Should these all now be prefixed with %{_root_sysconfdir} ?
scl-utils-20140815-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/scl-utils-20140815-3.fc20
scl-utils-20140815-3.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/scl-utils-20140815-3.fc21
Hi, it does not look any patches are applied to this package. When you use %autosetup, you still have to list the patches in the spec file with, e.g.: Patch0: foo.patch Patch1: barpatch
I can't see any patches being applied in the build log: https://kojipkgs.fedoraproject.org//packages/scl-utils/20140815/3.fc22/data/logs/i686/build.log
I cloned this package to try and build it locally, but "fedpkg prep" fails: http://fpaste.org/159081/18386311/
That's weird ... when I create the srpm locally, all the patches are there ... let me investigate
Hmmm, seems that rpm lua sucks big time ... ok, I will remove the trick with automatic patch inclusion and name the patches there manually.
Okay great, will you issue new updates?
Done
Package scl-utils-20140815-4.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing scl-utils-20140815-4.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-16820/scl-utils-20140815-4.fc20 then log in and leave karma (feedback).
scl-utils-20140815-4.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
scl-utils-20140815-4.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.