Is it okay to use /usr/bin/python again?
by Florian Weimer
Or is it still banned in Fedora?
We have some scripts that are dual Python 2/Python 3, and Fedora tooling
forced us to carry a downstream-only patch to replace /usr/bin/python
with /usr/bin/python3. I'd like to remove this patch.
Thanks,
Florian
2 years, 5 months
XEmacs retirement
by Jerry James
I intend to retire the following packages soon:
neXtaw
xemacs
xemacs-packages-base
xemacs-packages-extra
I believe all of the dependencies on these packages have been removed
in Rawhide. Some of the affected packages have made the necessary
change in git, but have not been rebuilt yet. The dependencies should
all disappear in the mass rebuild.
To avoid Rawhide breakage, I will wait until just before the mass
rebuild starts to retire these packages. If anybody wants to keep
these packages, let me know soon and I will give them to you. Be
aware, though, that upstream is dead for all of them.
Regards,
--
Jerry James
http://www.jamezone.org/
2 years, 5 months
F36 Change: %set_build_flags for %build and %check (System-Wide
Change proposal)
by Ben Cotton
https://fedoraproject.org/wiki/Changes/SetBuildFlagsBuildCheck
== Summary ==
Call %set_build_flags macro automatically at the beginning of the
%build and %check phases of RPM builds in Fedora Linux. This will
ensure that the compiler flag environment variables are set for every
RPM build.
== Owner ==
* Name: [[User:tstellar| Tom Stellard]]
* Email: <tstellar(a)redhat.com>
== Detailed Description ==
The %set_build_flags macro exports common environment variables used
for building packages:
* CFLAGS
* CXXFLAGS
* FFLAGS
* FCFLAGS
* LDFLAGS
* LT_SYS_LIBRARY_PATH
* CC
* CXX
These environment variables are set to the compiler flags defined in
the system RPM configuration. This macro is currently implicitly
called when packages use some of the build system helper macros, like
%configure, %cmake, and %meson. However, not all packages use these
macros and so some packages do not use the correct compiler flags as
required by the Fedora packaging guidelines[1].
This change will be implemented by updating the %__spec_build_pre and
%__speck_check_pre macros in redhat-rpm-config to include
%set_build_flags. This will set these environment variables
automatically before the %build and %check sections. See the proposed
[https://src.fedoraproject.org/fork/tstellar/rpms/redhat-rpm-config/c/a397...
implementation] for more details.
The purpose for making this change in both the %build and %check
sections is because sometimes test code gets built in the %check
sections for unit tests and this will ensure that the application code
and its tests are built with the same set of flags.
This change should have no impact on packages that already use
%set_build_flags either directly or indirectly through another macro.
It also won't impact any package that currently sets these environment
variables or modifies any of the %{build*_flags} macros in their
%build or %check sections.
[1] https://docs.fedoraproject.org/en-US/packaging-guidelines/#_compiler_flags
== Benefit to Fedora ==
This change will ensure that more packages are built using the correct
compiler flags, and bring them in compliance with the Fedora packaging
guidelines. It will also help improve the security of the
distribution as many of the compiler flags help defend against common
security attacks.
== Scope ==
* Proposal owners:
** Make the necessary changes to redhat-rpm-config.
** Help debug any issues uncovered by this change during the mass rebuild.
* Other developers:
** Report bugs to the proposal owner.
* Release engineering: [https://pagure.io/releng/issue/10482 #10482]
* Policies and guidelines: N/A (not needed for this Change)
* Trademark approval: N/A (not needed for this Change)
* Alignment with Objectives:
== How To Test ==
This change will be tested by rebuilding packages as part of the mass rebuild.
== User Experience ==
This change will make some packages less susceptible to security exploits.
== Contingency Plan ==
* Contingency mechanism: The proposal owner will revert the change in
redhat-rpm-config
* Contingency deadline: Beta Freeze
* Blocks release? No
== Documentation ==
None needed.
--
Ben Cotton
He / Him / His
Fedora Program Manager
Red Hat
TZ=America/Indiana/Indianapolis
2 years, 5 months
Heads-up: lxqt libraries soname bump
by Zamir SUN
Hi,
I'm updating the whole LXQt desktop to 1.0.0 in rawhide, and I've built
the packages in the side tag f36-build-side-49104. The following package
contains library with a soname bump
liblxqt (liblxqt.so.1)
liblxqt-globalkeys (liblxqt-globalkeys.so.1,liblxqt-globalkeys-ui.so.1)
I hope I did not miss anything. IIRC there are no packages outside of
the LXQt SIG depends on those, but I'd like to still make people aware
of the change and possible other packages I missed.
I'll merge the side tag by the last day of the year.
HTH.
--
Zamir SUN
GPG : 1D86 6D4A 49CE 4BBD 72CF FCF5 D856 6E11 F2A0 525E
Want to know more about Fedora?
Visit https://fedoraproject.org/wiki/
Ready to contribute? See https://whatcanidoforfedora.org/
想了解更多中文资讯,访问 https://zh.fedoracommunity.org/
2 years, 5 months