public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Martin Gansser <mgansser@alice.de>
To: git-commits@fedoraproject.org
Subject: [rpms/bear] epel10: remove %{name}-engine-%{_arch}.conf %{name}-factory-%{_arch}.conf
Date: Sat, 11 Jul 2026 02:31:03 GMT	[thread overview]
Message-ID: <178373706366.1.3064058635484399445.rpms-bear-1622f544c267@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/bear
            Branch : epel10
            Commit : 1622f544c267b68b736d34a9b801f51bace0d4c9
            Author : Martin Gansser <mgansser@alice.de>
            Date   : 2017-01-15T17:55:44+01:00
            Stats  : +21/-16 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/bear/c/1622f544c267b68b736d34a9b801f51bace0d4c9?branch=epel10

            Log:
            remove %{name}-engine-%{_arch}.conf %{name}-factory-%{_arch}.conf
add missing /sbin/ldconfig calls in %post and %postun
add CMAKE option -DRUNNING_BEAR_ENABLED=ON for missing running-bear file
add %{_bindir}/running-%{name} to engine file section
install engine libraries into -DBEAR_ENGINE_INSTALL_LIBRARY_DIR=%{_lib}
install factory libraires into -DBEAR_FACTORY_INSTALL_LIBRARY_DIR=%{_lib}

---
diff --git a/bear.spec b/bear.spec
index 1bf7417..0896750 100644
--- a/bear.spec
+++ b/bear.spec
@@ -4,7 +4,7 @@
 
 Name:           bear
 Version:        0.7.0
-Release:        0.11.20161230git%{shortcommit0}%{?dist}
+Release:        0.12.20161230git%{shortcommit0}%{?dist}
 Summary:        Game engine and editors dedicated to creating great 2D games
 License:        GPLv3+ and CC-BY-SA 
 URL:            https://github.com/j-jorge/bear
@@ -78,10 +78,11 @@ sed -i -e 's|docbook-to-man|docbook2man|g' cmake-helper/docbook-to-man.cmake
 rm -rf bear-engine/core/src/visual/glew/
 
 %build
-%cmake -DBEAR_ENGINE_INSTALL_LIBRARY_DIR=%{_lib}/%{name} \
-       -DBEAR_FACTORY_INSTALL_LIBRARY_DIR=%{_lib}/%{name} \
+%cmake -DBEAR_ENGINE_INSTALL_LIBRARY_DIR=%{_lib} \
+       -DBEAR_FACTORY_INSTALL_LIBRARY_DIR=%{_lib} \
        -DCMAKE_SKIP_RPATH:BOOL=ON \
        -DBEAR_USES_FREEDESKTOP=ON \
+       -DRUNNING_BEAR_ENABLED=ON \
        -DBEAR_EDITORS_ENABLED=ON
 %make_build
 
@@ -91,14 +92,6 @@ rm -rf bear-engine/core/src/visual/glew/
 %find_lang %{name}-engine
 %find_lang %{name}-factory
 
-install -d %{buildroot}%{_sysconfdir}/ld.so.conf.d
-cat << EOF > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-engine-%{_arch}.conf
-%{_libdir}/%{name}
-EOF
-cat << EOF > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-factory-%{_arch}.conf
-%{_libdir}/%{name}
-EOF
-
 # copy devel files for subpkg bear-devel
 install -dm 755 %{buildroot}%{_includedir}/%{name}/cmake-helper/
 install -D cmake-helper/{*.cmake,*.cmake.in} %{buildroot}%{_includedir}/%{name}/cmake-helper/
@@ -115,11 +108,16 @@ rm -rf %{buildroot}%{_datadir}/applications/desc2img.desktop
 %check
 desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
 
+%post engine -p /sbin/ldconfig
+%postun engine -p /sbin/ldconfig
+
 %post factory
+/sbin/ldconfig
 /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
 /usr/bin/update-desktop-database &> /dev/null || :
 
 %postun factory
+/sbin/ldconfig
 /usr/bin/update-desktop-database &> /dev/null || :
 if [ $1 -eq 0 ]; then
     touch --no-create %{_datadir}/icons/hicolor &>/dev/null ||:
@@ -132,10 +130,10 @@ fi
 %files engine -f %{name}-engine.lang
 %doc README.md
 %license LICENSE license/CCPL license/GPL
-%{_libdir}/%{name}
-%exclude %{_libdir}/%{name}/lib%{name}-editor.so
+%{_bindir}/running-%{name}
+%{_libdir}/lib%{name}_*.so
+%exclude %{_libdir}/lib%{name}-editor.so
 %{_mandir}/man6/running-%{name}.6*
-%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-engine-%{_arch}.conf
 
 %files factory -f %{name}-factory.lang
 %doc README.md
@@ -143,12 +141,11 @@ fi
 %{_bindir}/bend-image
 %{_bindir}/image-cutter
 %{_bindir}/bf*editor
-%{_libdir}/%{name}/lib%{name}-editor.so
+%{_libdir}/lib%{name}-editor.so
 %{_datadir}/%{name}-factory
 %{_datadir}/applications/bf*editor.desktop
 %{_datadir}/icons/hicolor/*/apps/%{name}-factory.png
 %{_mandir}/man1/bf*editor.1*
-%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-factory-%{_arch}.conf
 
 %files devel
 %doc README.md
@@ -157,6 +154,14 @@ fi
 
 
 %changelog
+* Sat Jan 14 2017 Martin Gansser <martinkg@fedoraproject.org> - 0.7.0-0.12.20161230git
+- remove %%{name}-engine-%%{_arch}.conf %%{name}-factory-%%{_arch}.conf
+- add missing /sbin/ldconfig calls in %%post and %%postun
+- add CMAKE option -DRUNNING_BEAR_ENABLED=ON for missing running-bear file
+- add %%{_bindir}/running-%%{name} to engine file section
+- install engine libraries into -DBEAR_ENGINE_INSTALL_LIBRARY_DIR=%%{_lib}
+- install factory libraires into -DBEAR_FACTORY_INSTALL_LIBRARY_DIR=%%{_lib}
+
 * Mon Jan  9 2017 Michael Schwendt <mschwendt@fedoraproject.org> - 0.7.0-0.11.20161230git
 - fix Release tag to include snapshot checkout date
 - prepare rebuild against libclaw >= 1.7.4-16 for fix ABI compatibility

             reply	other threads:[~2026-07-11  2:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-11  2:31 Martin Gansser [this message]
2026-07-11  2:31 [rpms/bear] epel10: remove %{name}-engine-%{_arch}.conf %{name}-factory-%{_arch}.conf Martin Gansser

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=178373706366.1.3064058635484399445.rpms-bear-1622f544c267@fedoraproject.org \
    --to=mgansser@alice.de \
    --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