public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michel Alexandre Salim <salimma@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/folly-rpm-macros] epel10.3: Initial Fedora package
Date: Thu, 08 Oct 2026 09:20:31 GMT	[thread overview]
Message-ID: <179145123153.1.14558417712888085775.rpms-folly-rpm-macros-5b104bd19b63@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/folly-rpm-macros
            Branch : epel10.3
            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.3

            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}

                 reply	other threads:[~2026-10-08  9:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179145123153.1.14558417712888085775.rpms-folly-rpm-macros-5b104bd19b63@fedoraproject.org \
    --to=salimma@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox