public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libx86emu] epel10.3: Merge branch 'master' into epel8
@ 2026-09-04 15:04 Andrey Ponomarenko
  0 siblings, 0 replies; only message in thread
From: Andrey Ponomarenko @ 2026-09-04 15:04 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/libx86emu
Branch : epel10.3
Commit : fa9b1d216951db816d2cdd710a7f42c1ed469633
Author : Andrey Ponomarenko <andrewponomarenko@yandex.ru>
Date   : 2019-10-11T21:23:49+03:00
Stats  : +108/-3 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/libx86emu/c/fa9b1d216951db816d2cdd710a7f42c1ed469633?branch=epel10.3

Log:
Merge branch 'master' into epel8

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5ea4ef0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/libx86emu-1.11.tar.gz

diff --git a/README.md b/README.md
deleted file mode 100644
index 53fe5ff..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# libx86emu
-
-The libx86emu package
\ No newline at end of file

diff --git a/libx86emu-1.11-ldflags.patch b/libx86emu-1.11-ldflags.patch
new file mode 100644
index 0000000..20e320f
--- /dev/null
+++ b/libx86emu-1.11-ldflags.patch
@@ -0,0 +1,11 @@
+--- Makefile.orig	2017-11-16 15:00:14.579051907 +0100
++++ Makefile	2017-11-16 15:00:31.728134481 +0100
+@@ -45,7 +45,7 @@
+ 	install -m 644 -D include/x86emu.h $(DESTDIR)/usr/include/x86emu.h
+ 
+ $(LIB_NAME): .depend $(OBJS)
+-	$(CC) -shared -Wl,-soname,$(LIB_SONAME) $(OBJS) -o $(LIB_NAME)
++	$(CC) -shared -Wl,-soname,$(LIB_SONAME) $(LDFLAGS) $(OBJS) -o $(LIB_NAME)
+ 
+ test:
+ 	make -C test

diff --git a/libx86emu.spec b/libx86emu.spec
new file mode 100644
index 0000000..b4c93e6
--- /dev/null
+++ b/libx86emu.spec
@@ -0,0 +1,93 @@
+# el6 compatibility
+%{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro}
+
+%global make_flags \\\
+        LIBDIR=%{_libdir} \\\
+        GIT2LOG=: \\\
+        VERSION=%%{version} \\\
+        MAJOR_VERSION=%%(echo %{version} |cut -d. -f1) \\\
+        CFLAGS="-fPIC %{optflags}" \\\
+        LDFLAGS="-fPIC %{__global_ldflags}"
+
+Name:           libx86emu
+Version:        1.11
+Release:        9%{?dist}
+Summary:        x86 emulation library
+
+License:        BSD
+URL:            https://github.com/wfeldt/libx86emu
+Source0:        https://github.com/wfeldt/libx86emu/archive/%{version}/%{name}-%{version}.tar.gz
+
+Patch0:         libx86emu-1.11-ldflags.patch
+
+BuildRequires:  gcc
+
+%description
+Small x86 emulation library with focus of easy usage and extended execution
+logging functions. The library features an API to create emulation objects
+for x86 architecture.
+
+
+%package devel
+Summary:        Development files for libx86emu
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+
+
+%description devel
+Header files and libraries for developing with libx86emu, a x86 emulation
+library.
+
+
+%prep
+%autosetup
+
+
+%build
+%make_build %{make_flags} shared
+
+
+%ldconfig_scriptlets
+
+
+%install
+%make_install %{make_flags}
+
+
+%files
+%{_libdir}/libx86emu.so.*
+%doc README.md
+%license LICENSE
+
+
+%files devel
+%{_includedir}/x86emu.h
+%{_libdir}/libx86emu.so
+
+
+%changelog
+* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Thu Dec 20 2018 Andrey Ponomarenko <andrewponomarenko@yandex.ru> - 1.11-7
+- Bump release to rebuild
+
+* Tue Dec 18 2018 Andrey Ponomarenko <andrewponomarenko@yandex.ru> - 1.11-6
+- Fix missed __global_ldflags on el6
+
+* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Thu Nov 16 2017 Björn Esser <besser82@fedoraproject.org> - 1.11-3
+- Properly apply build flags
+
+* Fri Aug 25 2017 Lubomir Rintel <lkundrak@v3.sk> - 1.11-2
+- Better align with packaging guidelines (thanks Robert-André Mauchin)
+
+* Tue Aug 01 2017 Lubomir Rintel <lkundrak@v3.sk> - 1.11-1
+- Initial packaging

diff --git a/sources b/sources
new file mode 100644
index 0000000..dd3ad37
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (libx86emu-1.11.tar.gz) = 800b6ddf60f2ab3b95fb8825ebdbb2617661b8a3cf506197e2096b30ded155a97894fd9344e9fe15bfe0eae62e5b751a321b88fc6db862883134ac452babf2a5

diff --git a/package.cfg b/package.cfg
new file mode 100644
index 0000000..66ea79d
--- /dev/null
+++ b/package.cfg
@@ -0,0 +1,2 @@
+[koji]
+targets = epel8 epel8-playground
\ No newline at end of file

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

only message in thread, other threads:[~2026-09-04 15:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 15:04 [rpms/libx86emu] epel10.3: Merge branch 'master' into epel8 Andrey Ponomarenko

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