public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/folly-rpm-macros] epel10: Initial Fedora package
@ 2026-10-07 17:18 Michel Alexandre Salim
  0 siblings, 0 replies; only message in thread
From: Michel Alexandre Salim @ 2026-10-07 17:18 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/folly-rpm-macros
            Branch : epel10
            Commit : 5b104bd19b63766ebeee01caf7c03c553e56e729
            Author : Michel Alexandre Salim <salimma@fedoraproject.org>
            Date   : 2022-07-18T10:54:48-05:00
            Stats  : +72/-0 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/folly-rpm-macros/c/5b104bd19b63766ebeee01caf7c03c553e56e729?branch=epel10

            Log:
            Initial Fedora package

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>

---
diff --git a/folly-rpm-macros.spec b/folly-rpm-macros.spec
new file mode 100644
index 0000000..3e89288
--- /dev/null
+++ b/folly-rpm-macros.spec
@@ -0,0 +1,52 @@
+Name:           folly-rpm-macros
+Version:        37
+Release:        %autorelease
+Summary:        Common RPM macros for the Folly stack
+
+License:        MIT
+URL:            https://src.fedoraproject.org/rpms/folly-rpm-macros
+Source0:        macros.folly-rpm
+Source1:        macros.folly-srpm
+
+BuildArch:      noarch
+
+Requires:       rpm
+
+%global _description %{expand:
+
+folly-rpm-macros contains common RPM macros for building Folly and other
+software that depends on it.
+
+You should not need to install this package manually as folly-devel pulls it in.}
+
+%description %{_description}
+
+
+%package -n folly-srpm-macros
+Summary:        RPM macros for building Folly source packages
+Requires:       rpm
+
+%description -n folly-srpm-macros %{_description}
+
+This package contains the macros needed for building Folly source packages.
+
+
+%prep
+
+
+%build
+
+
+%install
+install -D -p -m 0644 -t %{buildroot}%{_rpmmacrodir} %{SOURCE0} %{SOURCE1}
+
+
+%files
+%{_rpmmacrodir}/macros.folly-rpm
+
+%files -n folly-srpm-macros
+%{_rpmmacrodir}/macros.folly-srpm
+
+
+%changelog
+%autochangelog

diff --git a/macros.folly-rpm b/macros.folly-rpm
new file mode 100644
index 0000000..09847b9
--- /dev/null
+++ b/macros.folly-rpm
@@ -0,0 +1,11 @@
+# s390x: Folly is known not to work on big-endian CPUs
+# https://bugzilla.redhat.com/show_bug.cgi?id=1892151
+
+# ppc64le: fmt code breaks: https://bugzilla.redhat.com/show_bug.cgi?id=2061022
+# /usr/bin/ld: ../../../libfolly.so.2022.02.28.00: undefined reference to `int fmt::v8::detail::format_float<__float128>(__float128, int, fmt::v8::detail::float_specs, fmt::v8::detail::buffer<char>&)'
+# /usr/bin/ld: ../../../libfolly.so.2022.02.28.00: undefined reference to `int fmt::v8::detail::snprintf_float<__float128>(__float128, int, fmt::v8::detail::float_specs, fmt::v8::detail::buffer<char>&)'
+
+# 32-bit arches: upstream does not test on these, causing repeated failures, and
+# with F37 dropping armv7hl, and %{ix86} being optional, drop these
+
+%folly_arches x86_64 aarch64

diff --git a/macros.folly-srpm b/macros.folly-srpm
new file mode 100644
index 0000000..34c4751
--- /dev/null
+++ b/macros.folly-srpm
@@ -0,0 +1,9 @@
+# FTBFS with GCC 12
+# https://bugzilla.redhat.com/show_bug.cgi?id=2107373
+%folly_toolchain \
+%bcond_without toolchain_clang \
+\
+%if %{with toolchain_clang} \
+%global toolchain clang \
+%endif \
+%{nil}

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-07 17:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 17:18 [rpms/folly-rpm-macros] epel10: Initial Fedora package Michel Alexandre Salim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox