public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: LuK1337 <priv.luk@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/weechat] epel10: Move PHP plugin to subpackage
Date: Thu, 17 Sep 2026 14:19:30 GMT	[thread overview]
Message-ID: <178965477054.1.2776878114875315840.rpms-weechat-1fd667897e8c@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/weechat
            Branch : epel10
            Commit : 1fd667897e8cdefc8e863820eb3a04ca00ce93bf
            Author : LuK1337 <priv.luk@gmail.com>
            Date   : 2026-09-17T16:13:58+02:00
            Stats  : +38/-7 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/weechat/c/1fd667897e8cdefc8e863820eb3a04ca00ce93bf?branch=epel10

            Log:
            Move PHP plugin to subpackage

Makes it possible to swap system PHP packages. Ideally other plugins
would receive the same treatment, but not today.

---
diff --git a/weechat.spec b/weechat.spec
index 9fdac3c..24c9868 100644
--- a/weechat.spec
+++ b/weechat.spec
@@ -47,23 +47,29 @@ BuildRequires: zlib-devel
 
 Requires:      hicolor-icon-theme
 
-%description
+%global _description %{expand:
 WeeChat (Wee Enhanced Environment for Chat) is a portable, fast, light and
 extensible IRC client. Everything can be done with a keyboard.
-It is customizable and extensible with scripts.
+It is customizable and extensible with scripts.}
+
+%description %{_description}
 
 %package devel
 Summary: Development files for weechat
 Requires: %{name}%{?_isa} = %{version}-%{release}
 Requires: pkgconfig
 
-%description devel
-WeeChat (Wee Enhanced Environment for Chat) is a portable, fast, light and
-extensible IRC client. Everything can be done with a keyboard.
-It is customizable and extensible with scripts.
+%description devel %{_description}
 
 This package contains include files and pc file for weechat.
 
+%package php
+Summary: PHP plugin for weechat
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description php %{_description}
+
+This package provides the PHP plugin for weechat.
 
 %prep
 %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
@@ -104,7 +110,28 @@ This package contains include files and pc file for weechat.
 %{_bindir}/%{name}-curses
 %{_bindir}/%{name}
 %{_bindir}/%{name}-headless
-%{_libdir}/%{name}
+%dir %{_libdir}/%{name}
+%dir %{_libdir}/%{name}/plugins
+%{_libdir}/%{name}/plugins/alias.so
+%{_libdir}/%{name}/plugins/buflist.so
+%{_libdir}/%{name}/plugins/charset.so
+%{_libdir}/%{name}/plugins/exec.so
+%{_libdir}/%{name}/plugins/fifo.so
+%{_libdir}/%{name}/plugins/fset.so
+%{_libdir}/%{name}/plugins/guile.so
+%{_libdir}/%{name}/plugins/irc.so
+%{_libdir}/%{name}/plugins/logger.so
+%{_libdir}/%{name}/plugins/lua.so
+%{_libdir}/%{name}/plugins/perl.so
+%{_libdir}/%{name}/plugins/python.so
+%{_libdir}/%{name}/plugins/relay.so
+%{_libdir}/%{name}/plugins/ruby.so
+%{_libdir}/%{name}/plugins/script.so
+%{_libdir}/%{name}/plugins/spell.so
+%{_libdir}/%{name}/plugins/tcl.so
+%{_libdir}/%{name}/plugins/trigger.so
+%{_libdir}/%{name}/plugins/typing.so
+%{_libdir}/%{name}/plugins/xfer.so
 %{_datadir}/icons/hicolor/32x32/apps/%{name}.png
 %{_datadir}/applications/%{name}.desktop
 %{_datadir}/icons/hicolor/128x128/apps/%{name}.png
@@ -123,6 +150,10 @@ This package contains include files and pc file for weechat.
 %{_includedir}/%{name}/weechat-plugin.h
 %{_libdir}/pkgconfig/*.pc
 
+%ifnarch %{ix86}
+%files php
+%{_libdir}/%{name}/plugins/php.so
+%endif
 
 %changelog
 %autochangelog

                 reply	other threads:[~2026-09-17 14:19 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=178965477054.1.2776878114875315840.rpms-weechat-1fd667897e8c@fedoraproject.org \
    --to=priv.luk@gmail.com \
    --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