diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo new file mode 100644 index 0000000..67f6010 --- /dev/null +++ b/_scmsync.obsinfo @@ -0,0 +1,4 @@ +mtime: 1736171910 +commit: 9e7757e18f90e5394ada3b41a232a3554016b304a1b3316bb36156f16de7ee45 +url: https://src.opensuse.org/clibs/stfl +revision: master diff --git a/build.specials.obscpio b/build.specials.obscpio new file mode 100644 index 0000000..83cc9a1 --- /dev/null +++ b/build.specials.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:289dd3ae9508298336ed15996250d73d4112826adfead3471b5e1163fff0a194 +size 256 diff --git a/libstfl.changes b/libstfl.changes index a7297e5..94d1961 100644 --- a/libstfl.changes +++ b/libstfl.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 6 11:16:42 UTC 2025 - Jan Engelhardt + +- Delete broken patch stfl-ncurses.patch to fix FTBFS. +- Stop shipping static library + ------------------------------------------------------------------- Fri Mar 1 10:04:25 UTC 2024 - pgajdos@suse.com diff --git a/libstfl.spec b/libstfl.spec index 8755368..ee0b90a 100644 --- a/libstfl.spec +++ b/libstfl.spec @@ -27,9 +27,8 @@ URL: http://www.clifford.at/stfl/ Source: http://www.clifford.at/stfl/stfl-%{version}.tar.gz Source99: libstfl-rpmlintrc Patch1: stfl-optflags.patch -Patch2: stfl-ncurses.patch BuildRequires: ncurses-devel -BuildRequires: pkgconfig +BuildRequires: pkg-config %description STFL is a library which implements a curses-based widget set for text @@ -65,8 +64,7 @@ describe STFL GUIs. %autosetup -p0 -n "stfl-%{version}" %build -%global _lto_cflags %{_lto_cflags} -ffat-lto-objects -make %{?_smp_mflags} \ +%make_build \ CC="gcc" \ OPTFLAGS="%{optflags}"\ FOUND_SPL=0 \ @@ -80,14 +78,14 @@ make %{?_smp_mflags} \ libdir="%{_lib}" \ prefix="%{_prefix}" -[ -e "%{buildroot}%{_libdir}/libstfl.so.%{sover}" ] || { +if ! [ -e "%{buildroot}/%{_libdir}/libstfl.so.%{sover}" ]; then pushd "%{buildroot}%{_libdir}/" ln -s libstfl.so.*.* libstfl.so.%{sover} popd -} +fi +rm -fv "%{buildroot}/%{_libdir}"/*.a -%post -n libstfl%{sover} -p /sbin/ldconfig -%postun -n libstfl%{sover} -p /sbin/ldconfig +%ldconfig_scriptlets -n libstfl%{sover} %files -n libstfl%{sover} %license COPYING @@ -98,7 +96,6 @@ make %{?_smp_mflags} \ %files -n libstfl-devel %{_includedir}/stfl.h %{_libdir}/libstfl.so -%{_libdir}/libstfl.a %{_libdir}/pkgconfig/stfl.pc %changelog diff --git a/stfl-ncurses.patch b/stfl-ncurses.patch deleted file mode 100644 index f1a2dd6..0000000 --- a/stfl-ncurses.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- stfl_internals.h.orig 2008-05-06 11:44:36.000000000 +0200 -+++ stfl_internals.h 2009-12-10 01:52:13.000000000 +0100 -@@ -28,7 +28,7 @@ - #endif - - #include "stfl.h" --#include -+#include - #include - - struct stfl_widget_type;