From 65a164ff74312cddc04f2f53a51164d8674ba9a5 Mon Sep 17 00:00:00 2001 From: Scott Tsai Date: Wed, 27 Jan 2010 07:05:03 +0000 Subject: [PATCH 01/56] Import udis86-1.7-3 --- .cvsignore | 1 + import.log | 1 + sources | 1 + udis86.spec | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 89 insertions(+) create mode 100644 import.log create mode 100644 udis86.spec diff --git a/.cvsignore b/.cvsignore index e69de29..c1cb1f4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +udis86-1.7.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..9c189a7 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +udis86-1_7-3_fc12:HEAD:udis86-1.7-3.fc12.src.rpm:1264575618 diff --git a/sources b/sources index e69de29..c40648e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e279108e10f774e6c3af83caa18f5dc3 udis86-1.7.tar.gz diff --git a/udis86.spec b/udis86.spec new file mode 100644 index 0000000..9d4b0ae --- /dev/null +++ b/udis86.spec @@ -0,0 +1,86 @@ +Name: udis86 +Version: 1.7 +Release: 3%{?dist} +Summary: A disassembler library for x86 and x86-64 + +Group: System Environment/Libraries +License: BSD +URL: http://udis86.sourceforge.net +Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: yasm + +%description +udis86 is a disassembler library (libudis86) for x86 and x86-64. +The primary intent is to aid binary code analysis. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q +find '(' -name '*.c' -or -name '*.h' ')' -exec chmod 644 {} \; + +%build +%configure --disable-static --enable-shared +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' +rm -rf %{buildroot}%{_docdir} + + +%check +# test the libudis86 we just built. this is the only part that requires yasm +export LD_LIBRARY_PATH=$(pwd)/libudis86/.libs +make check + + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_bindir}/udcli +%{_libdir}/*.so.* + +%files devel +%defattr(-,root,root,-) +%doc docs/x86optable.* docs/udis86.* docs/index.html docs/ss.jpg docs/style.css +%{_includedir}/* +%{_libdir}/*.so + + +%changelog +* Fri Dec 04 2009 Scott Tsai 1.7-3 +- Actually remove commented out requires line +- Move check section after install section +- Place udcli in the main package instead of -devel +- Fix source file permissions + +* Thu Dec 03 2009 Scottt Tsai 1.7-2 +- Fix source url +- Remove commented out requires line +- Fix summary +- Move "make check" to check section +- Mark doc files instead of relying on make install + +* Thu Dec 03 2009 Scott Tsai 1.7-1 +- upstream 1.7 From 5addcc1465990d30ec6a8635466186aca105b2fd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 14:39:05 +0000 Subject: [PATCH 02/56] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- import.log | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 9172e96..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: udis86 -# $Id$ -NAME := udis86 -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/import.log b/import.log deleted file mode 100644 index 9c189a7..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -udis86-1_7-3_fc12:HEAD:udis86-1.7-3.fc12.src.rpm:1264575618 From 5fbb7bc2fba1ab521d04b645d42cf4117d486012 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Mon, 7 Feb 2011 22:37:15 -0600 Subject: [PATCH 03/56] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index 9d4b0ae..824e28f 100644 --- a/udis86.spec +++ b/udis86.spec @@ -1,6 +1,6 @@ Name: udis86 Version: 1.7 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A disassembler library for x86 and x86-64 Group: System Environment/Libraries @@ -69,6 +69,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Feb 07 2011 Fedora Release Engineering - 1.7-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Fri Dec 04 2009 Scott Tsai 1.7-3 - Actually remove commented out requires line - Move check section after install section From 55f0e3f807a12c0d5f214f8e8308d807add900e8 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 14 Jan 2012 01:26:07 -0600 Subject: [PATCH 04/56] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index 824e28f..726fafe 100644 --- a/udis86.spec +++ b/udis86.spec @@ -1,6 +1,6 @@ Name: udis86 Version: 1.7 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A disassembler library for x86 and x86-64 Group: System Environment/Libraries @@ -69,6 +69,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Jan 14 2012 Fedora Release Engineering - 1.7-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Mon Feb 07 2011 Fedora Release Engineering - 1.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild From e5fc211bafc1a2421151724204ad247c54dc59ff Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 21 Jul 2012 20:23:02 -0500 Subject: [PATCH 05/56] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index 726fafe..841af6d 100644 --- a/udis86.spec +++ b/udis86.spec @@ -1,6 +1,6 @@ Name: udis86 Version: 1.7 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A disassembler library for x86 and x86-64 Group: System Environment/Libraries @@ -69,6 +69,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Jul 22 2012 Fedora Release Engineering - 1.7-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Sat Jan 14 2012 Fedora Release Engineering - 1.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild From e1646a7de8d9e8447ff5e323baf9faa9e9ab00b4 Mon Sep 17 00:00:00 2001 From: Scott Tsai Date: Tue, 27 Nov 2012 00:48:40 +0800 Subject: [PATCH 06/56] 5c60189 --- .gitignore | 1 + ...c-nonet-to-avoid-network-access-when.patch | 26 +++++++++++++++ ...stgen-32-64-to-accomodate-yasm-1.2.0.patch | 33 +++++++++++++++++++ sources | 1 + udis86.spec | 27 +++++++++++---- 5 files changed, 82 insertions(+), 6 deletions(-) create mode 100644 0001-docs-use-xsltproc-nonet-to-avoid-network-access-when.patch create mode 100644 0001-tests-disable-testgen-32-64-to-accomodate-yasm-1.2.0.patch diff --git a/.gitignore b/.gitignore index c1cb1f4..06d84e3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ udis86-1.7.tar.gz +/udis86-5c60189.tar.bz2 diff --git a/0001-docs-use-xsltproc-nonet-to-avoid-network-access-when.patch b/0001-docs-use-xsltproc-nonet-to-avoid-network-access-when.patch new file mode 100644 index 0000000..5d4e7a8 --- /dev/null +++ b/0001-docs-use-xsltproc-nonet-to-avoid-network-access-when.patch @@ -0,0 +1,26 @@ +From 0b1add3e48db9862b499ffab10087336c0738243 Mon Sep 17 00:00:00 2001 +From: Scott Tsai +Date: Mon, 26 Nov 2012 23:55:29 +0800 +Subject: [PATCH] docs: use "xsltproc --nonet" to avoid network access when + building the manual + +--- + docs/manual/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/docs/manual/Makefile.am b/docs/manual/Makefile.am +index 256cf21..adc439d 100644 +--- a/docs/manual/Makefile.am ++++ b/docs/manual/Makefile.am +@@ -10,7 +10,7 @@ GENERATED = manual.html + all: + + manual.html: manual.xml manual.xsl +- xsltproc manual.xsl manual.xml > $@ ++ xsltproc --nonet manual.xsl manual.xml > $@ + + maintainer-clean-local: + rm -rf $(GENERATED) +-- +1.7.11.7 + diff --git a/0001-tests-disable-testgen-32-64-to-accomodate-yasm-1.2.0.patch b/0001-tests-disable-testgen-32-64-to-accomodate-yasm-1.2.0.patch new file mode 100644 index 0000000..337542d --- /dev/null +++ b/0001-tests-disable-testgen-32-64-to-accomodate-yasm-1.2.0.patch @@ -0,0 +1,33 @@ +From 28f91c54cb16895f5017a19ce0534ab284243d02 Mon Sep 17 00:00:00 2001 +From: Scott Tsai +Date: Mon, 26 Nov 2012 23:38:43 +0800 +Subject: [PATCH] tests: disable testgen{32,64} to accomodate yasm <= 1.2.0 + +--- + tests/Makefile.am | 10 +++++++--- + 1 file changed, 7 insertions(+), 3 deletions(-) + +diff --git a/tests/Makefile.am b/tests/Makefile.am +index 0254b2d..e801a19 100644 +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -38,9 +38,13 @@ yasm_tests = \ + testjmp \ + testobscure \ + testcorner \ +- testgen16 \ +- testgen32 \ +- testgen64 ++ testgen16 ++ ++# testgen{32,64} need yasm >= 1.2.0 for "pmulhrw" typo fix in https://github.com/yasm/yasm/pull/65 ++# testgen__32.asm:345: error: instruction expected after label ++# testgen__64.asm:265: error: instruction expected after label ++# testgen32 \ ++# testgen64 + + no_yasm_tests = \ + testoverrun +-- +1.7.11.7 + diff --git a/sources b/sources index c40648e..c3e69db 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ e279108e10f774e6c3af83caa18f5dc3 udis86-1.7.tar.gz +1f70c4227aac003f6788762fb6d40272 udis86-5c60189.tar.bz2 diff --git a/udis86.spec b/udis86.spec index 841af6d..0216658 100644 --- a/udis86.spec +++ b/udis86.spec @@ -1,14 +1,22 @@ +%global gitrev 5c60189 + Name: udis86 Version: 1.7 -Release: 6%{?dist} +Release: 7.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 Group: System Environment/Libraries License: BSD -URL: http://udis86.sourceforge.net -Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +URL: https://github.com/vmt/udis86 +Source0: %{name}-%{gitrev}.tar.bz2 + +# Disable unit tests that require yasm > 1.2.0 +Patch0: 0001-tests-disable-testgen-32-64-to-accomodate-yasm-1.2.0.patch +Patch1: 0001-docs-use-xsltproc-nonet-to-avoid-network-access-when.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: docbook-style-xsl BuildRequires: yasm %description @@ -26,10 +34,13 @@ developing applications that use %{name}. %prep -%setup -q +%setup -q -n %{name}-%{gitrev} +%patch0 -p1 +%patch1 -p1 find '(' -name '*.c' -or -name '*.h' ')' -exec chmod 644 {} \; %build +./autogen.sh %configure --disable-static --enable-shared sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool @@ -40,7 +51,8 @@ make %{?_smp_mflags} rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' -rm -rf %{buildroot}%{_docdir} +# udis86 overrides "docdir" from automake to datadir/docs +rm -rf %{buildroot}%{_datadir}/docs %check @@ -63,12 +75,15 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-,root,root,-) -%doc docs/x86optable.* docs/udis86.* docs/index.html docs/ss.jpg docs/style.css +%doc docs/x86/optable.* docs/manual/manual.* docs/index.html docs/style.css %{_includedir}/* %{_libdir}/*.so %changelog +* Mon Nov 26 2012 Scott Tsai 1.7-7 +- Upstream 5c60189 + * Sun Jul 22 2012 Fedora Release Engineering - 1.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild From dd1d6eeaade284e348bab1b005cb8ad484cc4b89 Mon Sep 17 00:00:00 2001 From: Scott Tsai Date: Tue, 27 Nov 2012 00:59:33 +0800 Subject: [PATCH 07/56] BR: automake --- udis86.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/udis86.spec b/udis86.spec index 0216658..e2d6072 100644 --- a/udis86.spec +++ b/udis86.spec @@ -16,6 +16,7 @@ Patch1: 0001-docs-use-xsltproc-nonet-to-avoid-network-access-when.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: automake BuildRequires: docbook-style-xsl BuildRequires: yasm From 5d73f40a2c2763a9382156788637506845221bb3 Mon Sep 17 00:00:00 2001 From: Scott Tsai Date: Tue, 27 Nov 2012 00:48:40 +0800 Subject: [PATCH 08/56] Upstream 5c60189 --- .gitignore | 1 + ...c-nonet-to-avoid-network-access-when.patch | 26 +++++++++++++++ ...stgen-32-64-to-accomodate-yasm-1.2.0.patch | 33 +++++++++++++++++++ sources | 1 + udis86.spec | 28 ++++++++++++---- 5 files changed, 83 insertions(+), 6 deletions(-) create mode 100644 0001-docs-use-xsltproc-nonet-to-avoid-network-access-when.patch create mode 100644 0001-tests-disable-testgen-32-64-to-accomodate-yasm-1.2.0.patch diff --git a/.gitignore b/.gitignore index c1cb1f4..06d84e3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ udis86-1.7.tar.gz +/udis86-5c60189.tar.bz2 diff --git a/0001-docs-use-xsltproc-nonet-to-avoid-network-access-when.patch b/0001-docs-use-xsltproc-nonet-to-avoid-network-access-when.patch new file mode 100644 index 0000000..5d4e7a8 --- /dev/null +++ b/0001-docs-use-xsltproc-nonet-to-avoid-network-access-when.patch @@ -0,0 +1,26 @@ +From 0b1add3e48db9862b499ffab10087336c0738243 Mon Sep 17 00:00:00 2001 +From: Scott Tsai +Date: Mon, 26 Nov 2012 23:55:29 +0800 +Subject: [PATCH] docs: use "xsltproc --nonet" to avoid network access when + building the manual + +--- + docs/manual/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/docs/manual/Makefile.am b/docs/manual/Makefile.am +index 256cf21..adc439d 100644 +--- a/docs/manual/Makefile.am ++++ b/docs/manual/Makefile.am +@@ -10,7 +10,7 @@ GENERATED = manual.html + all: + + manual.html: manual.xml manual.xsl +- xsltproc manual.xsl manual.xml > $@ ++ xsltproc --nonet manual.xsl manual.xml > $@ + + maintainer-clean-local: + rm -rf $(GENERATED) +-- +1.7.11.7 + diff --git a/0001-tests-disable-testgen-32-64-to-accomodate-yasm-1.2.0.patch b/0001-tests-disable-testgen-32-64-to-accomodate-yasm-1.2.0.patch new file mode 100644 index 0000000..337542d --- /dev/null +++ b/0001-tests-disable-testgen-32-64-to-accomodate-yasm-1.2.0.patch @@ -0,0 +1,33 @@ +From 28f91c54cb16895f5017a19ce0534ab284243d02 Mon Sep 17 00:00:00 2001 +From: Scott Tsai +Date: Mon, 26 Nov 2012 23:38:43 +0800 +Subject: [PATCH] tests: disable testgen{32,64} to accomodate yasm <= 1.2.0 + +--- + tests/Makefile.am | 10 +++++++--- + 1 file changed, 7 insertions(+), 3 deletions(-) + +diff --git a/tests/Makefile.am b/tests/Makefile.am +index 0254b2d..e801a19 100644 +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -38,9 +38,13 @@ yasm_tests = \ + testjmp \ + testobscure \ + testcorner \ +- testgen16 \ +- testgen32 \ +- testgen64 ++ testgen16 ++ ++# testgen{32,64} need yasm >= 1.2.0 for "pmulhrw" typo fix in https://github.com/yasm/yasm/pull/65 ++# testgen__32.asm:345: error: instruction expected after label ++# testgen__64.asm:265: error: instruction expected after label ++# testgen32 \ ++# testgen64 + + no_yasm_tests = \ + testoverrun +-- +1.7.11.7 + diff --git a/sources b/sources index c40648e..c3e69db 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ e279108e10f774e6c3af83caa18f5dc3 udis86-1.7.tar.gz +1f70c4227aac003f6788762fb6d40272 udis86-5c60189.tar.bz2 diff --git a/udis86.spec b/udis86.spec index 841af6d..89fe099 100644 --- a/udis86.spec +++ b/udis86.spec @@ -1,14 +1,23 @@ +%global gitrev 5c60189 + Name: udis86 Version: 1.7 -Release: 6%{?dist} +Release: 7.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 Group: System Environment/Libraries License: BSD -URL: http://udis86.sourceforge.net -Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +URL: https://github.com/vmt/udis86 +Source0: %{name}-%{gitrev}.tar.bz2 + +# Disable unit tests that require yasm > 1.2.0 +Patch0: 0001-tests-disable-testgen-32-64-to-accomodate-yasm-1.2.0.patch +Patch1: 0001-docs-use-xsltproc-nonet-to-avoid-network-access-when.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: libtool +BuildRequires: docbook-style-xsl BuildRequires: yasm %description @@ -26,10 +35,13 @@ developing applications that use %{name}. %prep -%setup -q +%setup -q -n %{name}-%{gitrev} +%patch0 -p1 +%patch1 -p1 find '(' -name '*.c' -or -name '*.h' ')' -exec chmod 644 {} \; %build +./autogen.sh %configure --disable-static --enable-shared sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool @@ -40,7 +52,8 @@ make %{?_smp_mflags} rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' -rm -rf %{buildroot}%{_docdir} +# udis86 overrides "docdir" from automake to datadir/docs +rm -rf %{buildroot}%{_datadir}/docs %check @@ -63,12 +76,15 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-,root,root,-) -%doc docs/x86optable.* docs/udis86.* docs/index.html docs/ss.jpg docs/style.css +%doc docs/x86/optable.* docs/manual/manual.* docs/index.html docs/style.css %{_includedir}/* %{_libdir}/*.so %changelog +* Mon Nov 26 2012 Scott Tsai 1.7-7 +- Upstream 5c60189 + * Sun Jul 22 2012 Fedora Release Engineering - 1.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild From 35f29b2f0f2eef8ee86435d5f8669dca905b3fe5 Mon Sep 17 00:00:00 2001 From: Scott Tsai Date: Tue, 27 Nov 2012 01:43:46 +0800 Subject: [PATCH 09/56] BR: python, libxslt --- udis86.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/udis86.spec b/udis86.spec index 89fe099..515c21a 100644 --- a/udis86.spec +++ b/udis86.spec @@ -18,6 +18,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libtool BuildRequires: docbook-style-xsl +# for xsltproc +BuildRequires: libxslt +BuildRequires: python BuildRequires: yasm %description @@ -41,6 +44,8 @@ developing applications that use %{name}. find '(' -name '*.c' -or -name '*.h' ')' -exec chmod 644 {} \; %build +# don't let automake treat warnings as errors +sed -i '/AM_INIT_AUTOMAKE/s/-Werror //' configure.ac ./autogen.sh %configure --disable-static --enable-shared sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool From 10ba363d2e2b88433862e9c5abdad237a21db917 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 14 Feb 2013 20:21:36 -0600 Subject: [PATCH 10/56] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index 515c21a..3ca7b0a 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7 -Release: 7.%{gitrev}%{?dist} +Release: 8.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 Group: System Environment/Libraries @@ -87,6 +87,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Feb 15 2013 Fedora Release Engineering - 1.7-8.5c60189 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Mon Nov 26 2012 Scott Tsai 1.7-7 - Upstream 5c60189 From 2c0748846e178e97f4e1147d5a65f41036e1dfba Mon Sep 17 00:00:00 2001 From: Scott Tsai Date: Sat, 1 Jun 2013 17:32:30 +0800 Subject: [PATCH 11/56] upload udis86-1.7.1.tar.gz --- .gitignore | 1 + sources | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 06d84e3..c39c3a8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ udis86-1.7.tar.gz /udis86-5c60189.tar.bz2 +/udis86-1.7.1.tar.gz diff --git a/sources b/sources index c3e69db..e4574c7 100644 --- a/sources +++ b/sources @@ -1,2 +1,3 @@ e279108e10f774e6c3af83caa18f5dc3 udis86-1.7.tar.gz 1f70c4227aac003f6788762fb6d40272 udis86-5c60189.tar.bz2 +d6845687c8d18eeddf2a550eb276e711 udis86-1.7.1.tar.gz From aff79b24a6cf33526884e36a832f6d687751ad51 Mon Sep 17 00:00:00 2001 From: Scott Tsai Date: Sat, 1 Jun 2013 17:57:50 +0800 Subject: [PATCH 12/56] Fix comment in accomodate yasm patch --- 0001-tests-disable-testgen-32-64-to-accomodate-yasm-1.2.0.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/0001-tests-disable-testgen-32-64-to-accomodate-yasm-1.2.0.patch b/0001-tests-disable-testgen-32-64-to-accomodate-yasm-1.2.0.patch index 337542d..ecf36de 100644 --- a/0001-tests-disable-testgen-32-64-to-accomodate-yasm-1.2.0.patch +++ b/0001-tests-disable-testgen-32-64-to-accomodate-yasm-1.2.0.patch @@ -20,7 +20,7 @@ index 0254b2d..e801a19 100644 - testgen64 + testgen16 + -+# testgen{32,64} need yasm >= 1.2.0 for "pmulhrw" typo fix in https://github.com/yasm/yasm/pull/65 ++# testgen{32,64} need yasm > 1.2.0 for "pmulhrw" typo fix in https://github.com/yasm/yasm/pull/65 +# testgen__32.asm:345: error: instruction expected after label +# testgen__64.asm:265: error: instruction expected after label +# testgen32 \ From 51bae1eb89637783ad81b5abe13fe0a0b1fcd0fc Mon Sep 17 00:00:00 2001 From: Scott Tsai Date: Sat, 1 Jun 2013 17:58:26 +0800 Subject: [PATCH 13/56] upstream 1.7.1 --- .gitignore | 4 +++- udis86.spec | 26 +++++++++----------------- 2 files changed, 12 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index c39c3a8..71198bd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ -udis86-1.7.tar.gz +/udis86-1.7.tar.gz /udis86-5c60189.tar.bz2 /udis86-1.7.1.tar.gz +/udis86-*.src.rpm +.build-*.log diff --git a/udis86.spec b/udis86.spec index 515c21a..1b908c0 100644 --- a/udis86.spec +++ b/udis86.spec @@ -1,27 +1,20 @@ -%global gitrev 5c60189 - Name: udis86 -Version: 1.7 -Release: 7.%{gitrev}%{?dist} +Version: 1.7.1 +Release: 1%{?dist} Summary: A disassembler library for x86 and x86-64 Group: System Environment/Libraries License: BSD URL: https://github.com/vmt/udis86 -Source0: %{name}-%{gitrev}.tar.bz2 +Source0: %{name}-%{version}.tar.gz # Disable unit tests that require yasm > 1.2.0 -Patch0: 0001-tests-disable-testgen-32-64-to-accomodate-yasm-1.2.0.patch -Patch1: 0001-docs-use-xsltproc-nonet-to-avoid-network-access-when.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: libtool -BuildRequires: docbook-style-xsl -# for xsltproc -BuildRequires: libxslt BuildRequires: python BuildRequires: yasm +BuildRequires: python-sphinx %description udis86 is a disassembler library (libudis86) for x86 and x86-64. @@ -38,15 +31,11 @@ developing applications that use %{name}. %prep -%setup -q -n %{name}-%{gitrev} -%patch0 -p1 -%patch1 -p1 +%setup -q find '(' -name '*.c' -or -name '*.h' ')' -exec chmod 644 {} \; %build # don't let automake treat warnings as errors -sed -i '/AM_INIT_AUTOMAKE/s/-Werror //' configure.ac -./autogen.sh %configure --disable-static --enable-shared sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool @@ -81,12 +70,15 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-,root,root,-) -%doc docs/x86/optable.* docs/manual/manual.* docs/index.html docs/style.css +%doc docs/x86/optable.* docs/manual/html/*.html docs/manual/html/_static %{_includedir}/* %{_libdir}/*.so %changelog +* Sat Jun 01 2013 Scott Tsai 1.7.1-1 +- upstream 1.7.1 + * Mon Nov 26 2012 Scott Tsai 1.7-7 - Upstream 5c60189 From 56177404d004dbace1b98e9387d1006652320e04 Mon Sep 17 00:00:00 2001 From: Scott Tsai Date: Sat, 1 Jun 2013 18:04:09 +0800 Subject: [PATCH 14/56] Fix merge release conflict --- udis86.spec | 5 ----- 1 file changed, 5 deletions(-) diff --git a/udis86.spec b/udis86.spec index e85d7a9..de54567 100644 --- a/udis86.spec +++ b/udis86.spec @@ -1,11 +1,6 @@ Name: udis86 -<<<<<<< HEAD Version: 1.7.1 Release: 1%{?dist} -======= -Version: 1.7 -Release: 8.%{gitrev}%{?dist} ->>>>>>> 10ba363d2e2b88433862e9c5abdad237a21db917 Summary: A disassembler library for x86 and x86-64 Group: System Environment/Libraries From 730ea35a4f3e4821878f1ff5479abbd51fead733 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 4 Aug 2013 00:22:19 -0500 Subject: [PATCH 15/56] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index de54567..82a5095 100644 --- a/udis86.spec +++ b/udis86.spec @@ -1,6 +1,6 @@ Name: udis86 Version: 1.7.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A disassembler library for x86 and x86-64 Group: System Environment/Libraries @@ -76,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Aug 04 2013 Fedora Release Engineering - 1.7.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Sat Jun 01 2013 Scott Tsai 1.7.1-1 - upstream 1.7.1 From 9e03ea3af9c444795c4594edea3d34708dbbdb83 Mon Sep 17 00:00:00 2001 From: Scott Tsai Date: Mon, 2 Sep 2013 16:50:20 +0800 Subject: [PATCH 16/56] udis86.spec: remove outdated comment --- udis86.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/udis86.spec b/udis86.spec index de54567..87988ad 100644 --- a/udis86.spec +++ b/udis86.spec @@ -8,8 +8,6 @@ License: BSD URL: https://github.com/vmt/udis86 Source0: %{name}-%{version}.tar.gz -# Disable unit tests that require yasm > 1.2.0 - BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python @@ -35,7 +33,6 @@ developing applications that use %{name}. find '(' -name '*.c' -or -name '*.h' ')' -exec chmod 644 {} \; %build -# don't let automake treat warnings as errors %configure --disable-static --enable-shared sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool From 19145d9eec00d266e9b1c1fe4a1391ccbca64600 Mon Sep 17 00:00:00 2001 From: Scott Tsai Date: Mon, 2 Sep 2013 16:56:41 +0800 Subject: [PATCH 17/56] upstream 1.7.2 --- .gitignore | 1 + sources | 4 +--- udis86.spec | 5 ++++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 71198bd..59135df 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /udis86-1.7.1.tar.gz /udis86-*.src.rpm .build-*.log +/udis86-1.7.2.tar.gz diff --git a/sources b/sources index e4574c7..cefa622 100644 --- a/sources +++ b/sources @@ -1,3 +1 @@ -e279108e10f774e6c3af83caa18f5dc3 udis86-1.7.tar.gz -1f70c4227aac003f6788762fb6d40272 udis86-5c60189.tar.bz2 -d6845687c8d18eeddf2a550eb276e711 udis86-1.7.1.tar.gz +b7def25257afb612e8da052ee6759dac udis86-1.7.2.tar.gz diff --git a/udis86.spec b/udis86.spec index 87988ad..3a31d8e 100644 --- a/udis86.spec +++ b/udis86.spec @@ -1,5 +1,5 @@ Name: udis86 -Version: 1.7.1 +Version: 1.7.2 Release: 1%{?dist} Summary: A disassembler library for x86 and x86-64 @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Sep 02 2013 Scott Tsai 1.7.2-1 +- upstream 1.7.2 + * Sat Jun 01 2013 Scott Tsai 1.7.1-1 - upstream 1.7.1 From da4ad3083a9f58fbe495a60e3c4fde7f555099d6 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 21:31:54 -0500 Subject: [PATCH 18/56] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index 162a88a..7cfe17a 100644 --- a/udis86.spec +++ b/udis86.spec @@ -1,6 +1,6 @@ Name: udis86 Version: 1.7.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A disassembler library for x86 and x86-64 Group: System Environment/Libraries @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Jun 08 2014 Fedora Release Engineering - 1.7.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Mon Sep 02 2013 Scott Tsai 1.7.2-1 - upstream 1.7.2 From 931a022851c0ae3d6a597dd11d69e4229d11acdd Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 18 Aug 2014 06:43:06 +0000 Subject: [PATCH 19/56] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index 7cfe17a..223522e 100644 --- a/udis86.spec +++ b/udis86.spec @@ -1,6 +1,6 @@ Name: udis86 Version: 1.7.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A disassembler library for x86 and x86-64 Group: System Environment/Libraries @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Aug 18 2014 Fedora Release Engineering - 1.7.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sun Jun 08 2014 Fedora Release Engineering - 1.7.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From bc473e710bf0a626b5d80151fa814bc0336827ee Mon Sep 17 00:00:00 2001 From: Scott Tsai Date: Wed, 13 May 2015 11:32:47 +0800 Subject: [PATCH 20/56] Package post 1.7.2 snapshot 56ff6c8 --- .gitignore | 1 + sources | 2 +- udis86.spec | 7 ++++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 59135df..f01a145 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /udis86-*.src.rpm .build-*.log /udis86-1.7.2.tar.gz +/udis86-56ff6c8.tar.xz diff --git a/sources b/sources index cefa622..1d6ccea 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b7def25257afb612e8da052ee6759dac udis86-1.7.2.tar.gz +0993ed97d0513bf2005b067401967e8e udis86-56ff6c8.tar.xz diff --git a/udis86.spec b/udis86.spec index 223522e..10691e6 100644 --- a/udis86.spec +++ b/udis86.spec @@ -1,6 +1,8 @@ +%global gitrev 56ff6c8 + Name: udis86 Version: 1.7.2 -Release: 3%{?dist} +Release: 4.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 Group: System Environment/Libraries @@ -73,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed May 13 2015 Scott Tsai - 1.7.2-4.56ff6c8 +- Package post 1.7.2 snapshot 56ff6c8 + * Mon Aug 18 2014 Fedora Release Engineering - 1.7.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From 18503715b8781e3230c457485f31ab5ef6be93cc Mon Sep 17 00:00:00 2001 From: Scott Tsai Date: Wed, 13 May 2015 11:42:41 +0800 Subject: [PATCH 21/56] Fix build failure --- udis86.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/udis86.spec b/udis86.spec index 10691e6..cb4f4b4 100644 --- a/udis86.spec +++ b/udis86.spec @@ -8,7 +8,7 @@ Summary: A disassembler library for x86 and x86-64 Group: System Environment/Libraries License: BSD URL: https://github.com/vmt/udis86 -Source0: %{name}-%{version}.tar.gz +Source0: %{name}-%{gitrev}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -31,10 +31,11 @@ developing applications that use %{name}. %prep -%setup -q +%setup -q -n %{name}-%{gitrev} find '(' -name '*.c' -or -name '*.h' ')' -exec chmod 644 {} \; %build +./autogen.sh %configure --disable-static --enable-shared sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool @@ -47,6 +48,7 @@ make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' # udis86 overrides "docdir" from automake to datadir/docs rm -rf %{buildroot}%{_datadir}/docs +rm -rf %{buildroot}%{_docdir} %check From cb2acbaaef21aa85e3c691d748f62cc666bb49c7 Mon Sep 17 00:00:00 2001 From: Scott Tsai Date: Wed, 13 May 2015 11:49:36 +0800 Subject: [PATCH 22/56] BR libtool --- udis86.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/udis86.spec b/udis86.spec index cb4f4b4..77f1933 100644 --- a/udis86.spec +++ b/udis86.spec @@ -12,6 +12,7 @@ Source0: %{name}-%{gitrev}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: libtool BuildRequires: python BuildRequires: yasm BuildRequires: python-sphinx From 2d0704dafbfe148cd3021abc46fce1582f5fee00 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 19 Jun 2015 01:26:33 +0000 Subject: [PATCH 23/56] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index 77f1933..1292f81 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 4.%{gitrev}%{?dist} +Release: 5.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 Group: System Environment/Libraries @@ -78,6 +78,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Jun 19 2015 Fedora Release Engineering - 1.7.2-5.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Wed May 13 2015 Scott Tsai - 1.7.2-4.56ff6c8 - Package post 1.7.2 snapshot 56ff6c8 From d87f7ff9cd3c0ed66e3b2c231b4753951e966032 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 5 Feb 2016 02:14:55 +0000 Subject: [PATCH 24/56] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index 1292f81..dd68107 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 5.%{gitrev}%{?dist} +Release: 6.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 Group: System Environment/Libraries @@ -78,6 +78,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Feb 05 2016 Fedora Release Engineering - 1.7.2-6.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Fri Jun 19 2015 Fedora Release Engineering - 1.7.2-5.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From e8310cf3dd75c4023bd39794ad4a81acf18cf888 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 16:37:22 +0000 Subject: [PATCH 25/56] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index dd68107..bd49800 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 6.%{gitrev}%{?dist} +Release: 7.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 Group: System Environment/Libraries @@ -78,6 +78,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 1.7.2-7.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Fri Feb 05 2016 Fedora Release Engineering - 1.7.2-6.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From 1e137b0b4a5918e9b19e2f49f89b9fecfc59c501 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 20:53:08 +0000 Subject: [PATCH 26/56] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index bd49800..618138a 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 7.%{gitrev}%{?dist} +Release: 8.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 Group: System Environment/Libraries @@ -78,6 +78,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 1.7.2-8.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Sat Feb 11 2017 Fedora Release Engineering - 1.7.2-7.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From d4677f89478f930647a3d28b15cb6fd3800768ce Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 3 Aug 2017 09:42:53 +0000 Subject: [PATCH 27/56] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index 618138a..a0b3cfa 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 8.%{gitrev}%{?dist} +Release: 9.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 Group: System Environment/Libraries @@ -78,6 +78,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Aug 03 2017 Fedora Release Engineering - 1.7.2-9.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Thu Jul 27 2017 Fedora Release Engineering - 1.7.2-8.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 815519d2445c891ea0c9a4b63c161ce0b678072c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 19:52:42 +0000 Subject: [PATCH 28/56] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index a0b3cfa..60bcbea 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 9.%{gitrev}%{?dist} +Release: 10.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 Group: System Environment/Libraries @@ -78,6 +78,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 1.7.2-10.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Thu Aug 03 2017 Fedora Release Engineering - 1.7.2-9.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From 3a0a02cfaab6e906a85a3dfa3cc3c98913dda061 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 14 Feb 2018 00:46:10 +0100 Subject: [PATCH 29/56] Remove BuildRoot definition None of currently supported distributions need that. It was needed last for EL5 which is EOL now Signed-off-by: Igor Gnatenko --- udis86.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index 60bcbea..b21d9a7 100644 --- a/udis86.spec +++ b/udis86.spec @@ -10,7 +10,6 @@ License: BSD URL: https://github.com/vmt/udis86 Source0: %{name}-%{gitrev}.tar.xz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libtool BuildRequires: python From cd176d5f309e60631b7867a672901a7b2190b600 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 14 Feb 2018 08:56:55 +0100 Subject: [PATCH 30/56] Remove %clean section None of currently supported distributions need that. Last one was EL5 which is EOL for a while. Signed-off-by: Igor Gnatenko --- udis86.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/udis86.spec b/udis86.spec index b21d9a7..89d54fc 100644 --- a/udis86.spec +++ b/udis86.spec @@ -57,9 +57,6 @@ export LD_LIBRARY_PATH=$(pwd)/libudis86/.libs make check -%clean -rm -rf $RPM_BUILD_ROOT - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig From 7fdad1a740e0d73e4b8d571690ec3d82e0cedf66 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Tue, 10 Jul 2018 01:40:58 -0500 Subject: [PATCH 31/56] Remove needless use of %defattr --- udis86.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/udis86.spec b/udis86.spec index 89d54fc..e385378 100644 --- a/udis86.spec +++ b/udis86.spec @@ -62,12 +62,10 @@ make check %postun -p /sbin/ldconfig %files -%defattr(-,root,root,-) %{_bindir}/udcli %{_libdir}/*.so.* %files devel -%defattr(-,root,root,-) %doc docs/x86/optable.* docs/manual/html/*.html docs/manual/html/_static %{_includedir}/* %{_libdir}/*.so From a6afce880308882cbc9cd092cbd2e977a2059383 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 08:08:48 +0000 Subject: [PATCH 32/56] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index e385378..70ffb38 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 10.%{gitrev}%{?dist} +Release: 11.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 Group: System Environment/Libraries @@ -72,6 +72,9 @@ make check %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 1.7.2-11.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Fri Feb 09 2018 Fedora Release Engineering - 1.7.2-10.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From e9596851aeca1c283a4732a821e831f38094ac59 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:41:13 +0100 Subject: [PATCH 33/56] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- udis86.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/udis86.spec b/udis86.spec index 70ffb38..d7d87f8 100644 --- a/udis86.spec +++ b/udis86.spec @@ -57,9 +57,7 @@ export LD_LIBRARY_PATH=$(pwd)/libudis86/.libs make check -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %{_bindir}/udcli From c410f860beb88d3c84cdb4c9145b51e83400d5a0 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:29 +0100 Subject: [PATCH 34/56] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- udis86.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/udis86.spec b/udis86.spec index d7d87f8..dae6ba7 100644 --- a/udis86.spec +++ b/udis86.spec @@ -5,7 +5,6 @@ Version: 1.7.2 Release: 11.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 -Group: System Environment/Libraries License: BSD URL: https://github.com/vmt/udis86 Source0: %{name}-%{gitrev}.tar.xz @@ -22,7 +21,6 @@ The primary intent is to aid binary code analysis. %package devel Summary: Development files for %{name} -Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel From acaa278cf1590234b39842de0257b72b93a6ccef Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 3 Feb 2019 10:40:20 +0000 Subject: [PATCH 35/56] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index dae6ba7..a16d61c 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 11.%{gitrev}%{?dist} +Release: 12.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 License: BSD @@ -68,6 +68,9 @@ make check %changelog +* Sun Feb 03 2019 Fedora Release Engineering - 1.7.2-12.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 14 2018 Fedora Release Engineering - 1.7.2-11.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From bc429f4230f0c585b4f5fcc5b4654383108a1f79 Mon Sep 17 00:00:00 2001 From: rpmdiff Jenkins Builder Date: Wed, 1 May 2019 14:35:16 -0400 Subject: [PATCH 36/56] Fix building package on rawhide (#1676171) --- ...c-nonet-to-avoid-network-access-when.patch | 26 ------------- ...stgen-32-64-to-accomodate-yasm-1.2.0.patch | 33 ----------------- udis86-ax_prog_sphinx_version.patch | 12 ++++++ udis86-docs_manual_Makefile.am.patch | 37 +++++++++++++++++++ udis86-symresolve.patch | 16 ++++++++ udis86-ud_opcode.patch | 30 +++++++++++++++ udis86.spec | 35 +++++++++++------- 7 files changed, 117 insertions(+), 72 deletions(-) delete mode 100644 0001-docs-use-xsltproc-nonet-to-avoid-network-access-when.patch delete mode 100644 0001-tests-disable-testgen-32-64-to-accomodate-yasm-1.2.0.patch create mode 100644 udis86-ax_prog_sphinx_version.patch create mode 100644 udis86-docs_manual_Makefile.am.patch create mode 100644 udis86-symresolve.patch create mode 100644 udis86-ud_opcode.patch diff --git a/0001-docs-use-xsltproc-nonet-to-avoid-network-access-when.patch b/0001-docs-use-xsltproc-nonet-to-avoid-network-access-when.patch deleted file mode 100644 index 5d4e7a8..0000000 --- a/0001-docs-use-xsltproc-nonet-to-avoid-network-access-when.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 0b1add3e48db9862b499ffab10087336c0738243 Mon Sep 17 00:00:00 2001 -From: Scott Tsai -Date: Mon, 26 Nov 2012 23:55:29 +0800 -Subject: [PATCH] docs: use "xsltproc --nonet" to avoid network access when - building the manual - ---- - docs/manual/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/docs/manual/Makefile.am b/docs/manual/Makefile.am -index 256cf21..adc439d 100644 ---- a/docs/manual/Makefile.am -+++ b/docs/manual/Makefile.am -@@ -10,7 +10,7 @@ GENERATED = manual.html - all: - - manual.html: manual.xml manual.xsl -- xsltproc manual.xsl manual.xml > $@ -+ xsltproc --nonet manual.xsl manual.xml > $@ - - maintainer-clean-local: - rm -rf $(GENERATED) --- -1.7.11.7 - diff --git a/0001-tests-disable-testgen-32-64-to-accomodate-yasm-1.2.0.patch b/0001-tests-disable-testgen-32-64-to-accomodate-yasm-1.2.0.patch deleted file mode 100644 index ecf36de..0000000 --- a/0001-tests-disable-testgen-32-64-to-accomodate-yasm-1.2.0.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 28f91c54cb16895f5017a19ce0534ab284243d02 Mon Sep 17 00:00:00 2001 -From: Scott Tsai -Date: Mon, 26 Nov 2012 23:38:43 +0800 -Subject: [PATCH] tests: disable testgen{32,64} to accomodate yasm <= 1.2.0 - ---- - tests/Makefile.am | 10 +++++++--- - 1 file changed, 7 insertions(+), 3 deletions(-) - -diff --git a/tests/Makefile.am b/tests/Makefile.am -index 0254b2d..e801a19 100644 ---- a/tests/Makefile.am -+++ b/tests/Makefile.am -@@ -38,9 +38,13 @@ yasm_tests = \ - testjmp \ - testobscure \ - testcorner \ -- testgen16 \ -- testgen32 \ -- testgen64 -+ testgen16 -+ -+# testgen{32,64} need yasm > 1.2.0 for "pmulhrw" typo fix in https://github.com/yasm/yasm/pull/65 -+# testgen__32.asm:345: error: instruction expected after label -+# testgen__64.asm:265: error: instruction expected after label -+# testgen32 \ -+# testgen64 - - no_yasm_tests = \ - testoverrun --- -1.7.11.7 - diff --git a/udis86-ax_prog_sphinx_version.patch b/udis86-ax_prog_sphinx_version.patch new file mode 100644 index 0000000..6c67e4f --- /dev/null +++ b/udis86-ax_prog_sphinx_version.patch @@ -0,0 +1,12 @@ +diff -up udis86-56ff6c8/m4/ax_prog_sphinx_version.m4.orig udis86-56ff6c8/m4/ax_prog_sphinx_version.m4 +--- udis86-56ff6c8/m4/ax_prog_sphinx_version.m4.orig 2014-12-25 07:00:50.000000000 -0500 ++++ udis86-56ff6c8/m4/ax_prog_sphinx_version.m4 2019-05-01 14:20:35.330757713 -0400 +@@ -40,7 +40,7 @@ AC_DEFUN([AX_PROG_SPHINX],[ + + AC_MSG_CHECKING([for sphinx version]) + changequote(<<,>>) +- sphinx_version=`$SPHINX_BUILD -h 2>&1 | $GREP "^Sphinx v" | $SED -e 's/^.* v\([0-9]*\.[0-9]*\.[0-9]*\)/\1/'` ++ sphinx_version=`$SPHINX_BUILD --version 2>&1 | cut -d ' ' -f 2` + changequote([,]) + AC_MSG_RESULT($sphinx_version) + diff --git a/udis86-docs_manual_Makefile.am.patch b/udis86-docs_manual_Makefile.am.patch new file mode 100644 index 0000000..51d9800 --- /dev/null +++ b/udis86-docs_manual_Makefile.am.patch @@ -0,0 +1,37 @@ +diff -up udis86-56ff6c8/docs/manual/Makefile.am.orig udis86-56ff6c8/docs/manual/Makefile.am +--- udis86-56ff6c8/docs/manual/Makefile.am.orig 2014-12-25 07:00:50.000000000 -0500 ++++ udis86-56ff6c8/docs/manual/Makefile.am 2019-05-01 14:26:35.118265404 -0400 +@@ -19,8 +19,6 @@ MAINTAINERCLEANFILES = \ + Makefile.in \ + udis86.info + +-if HAVE_SPHINX_DOC +- + html-local: + $(SPHINX_BUILD) -c $(srcdir) -b html $(srcdir) $(builddir)/html + +@@ -30,24 +28,6 @@ udis86.info: $(rst_sources) + + check-local: html-local + +-else +- +-udis86.info: $(rst_sources) +-html-local udis86.info: +- @echo "" +- @echo "------------------------------------------------------------------" +- @echo "" +- @echo " Please make sure you have Sphinx (sphinx-doc.org) version 1.1.3" +- @echo " or above, to be able to build documentation." +- @echo "" +- @echo " You can also find documentation at http://udis86.sourceforge.net/" +- @echo "" +- @echo "------------------------------------------------------------------" +- @echo "" +- @exit 1 +- +-endif +- + install-info-local: udis86.info + install-info --info-dir=$(infodir) $< + diff --git a/udis86-symresolve.patch b/udis86-symresolve.patch new file mode 100644 index 0000000..e2901f0 --- /dev/null +++ b/udis86-symresolve.patch @@ -0,0 +1,16 @@ +diff -up udis86-56ff6c8/tests/symresolve.c.orig udis86-56ff6c8/tests/symresolve.c +--- udis86-56ff6c8/tests/symresolve.c.orig 2014-12-25 07:00:50.000000000 -0500 ++++ udis86-56ff6c8/tests/symresolve.c 2019-05-01 12:20:20.597531514 -0400 +@@ -26,9 +26,9 @@ static void + dis_loop(struct ud *ud_obj) + { + while (ud_disassemble(ud_obj) != 0) { +- printf("%016llx %-16s %s\n", ud_insn_off(ud_obj), +- ud_insn_hex(ud_obj), +- ud_insn_asm(ud_obj)); ++ printf("%016lx %-16s %s\n", ud_insn_off(ud_obj), ++ ud_insn_hex(ud_obj), ++ ud_insn_asm(ud_obj)); + } + } + diff --git a/udis86-ud_opcode.patch b/udis86-ud_opcode.patch new file mode 100644 index 0000000..87a0738 --- /dev/null +++ b/udis86-ud_opcode.patch @@ -0,0 +1,30 @@ +diff -up udis86-56ff6c8/scripts/ud_opcode.py.ud_opcode udis86-56ff6c8/scripts/ud_opcode.py +--- udis86-56ff6c8/scripts/ud_opcode.py.ud_opcode 2014-12-25 07:00:50.000000000 -0500 ++++ udis86-56ff6c8/scripts/ud_opcode.py 2019-05-01 11:57:38.643255204 -0400 +@@ -24,6 +24,8 @@ + # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + import os ++import struct ++import binascii + + # Some compatibility stuff for supporting python 2.x as well as python 3.x + def itemslist(dict): +@@ -549,11 +551,15 @@ class UdOpcodeTables(object): + def printWalk(tbl, indent=""): + entries = tbl.entries() + for k, e in entries: ++ if type(k) == float: ++ val = "0x" + binascii.hexlify(struct.pack(' %s" % (indent, k, e)) ++ self.log("%s |-<%s> %s" % (indent, val, e)) + printWalk(e, indent + " |") + elif isinstance(e, UdInsnDef): +- self.log("%s |-<%02x> %s" % (indent, k, e)) ++ self.log("%s |-<%s> %s" % (indent, val, e)) + printWalk(self.root) + + diff --git a/udis86.spec b/udis86.spec index a16d61c..f696911 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,18 +2,21 @@ Name: udis86 Version: 1.7.2 -Release: 12.%{gitrev}%{?dist} +Release: 13.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 License: BSD URL: https://github.com/vmt/udis86 Source0: %{name}-%{gitrev}.tar.xz - +Patch0: udis86-ud_opcode.patch +Patch1: udis86-symresolve.patch +Patch2: udis86-ax_prog_sphinx_version.patch +Patch3: udis86-docs_manual_Makefile.am.patch BuildRequires: libtool BuildRequires: python BuildRequires: yasm -BuildRequires: python-sphinx +BuildRequires: python3-sphinx %description udis86 is a disassembler library (libudis86) for x86 and x86-64. @@ -30,31 +33,34 @@ developing applications that use %{name}. %prep %setup -q -n %{name}-%{gitrev} +%patch0 -p1 -b .ud_opcode +%patch1 -p1 -b .symresolve +%patch2 -p1 -b .origm4 +%patch3 -p1 -b .automake find '(' -name '*.c' -or -name '*.h' ')' -exec chmod 644 {} \; %build ./autogen.sh -%configure --disable-static --enable-shared +%configure --disable-static \ + --enable-shared \ + --disable-silent-rules \ + --with-python=%{_bindir}/python3 \ + --with-yasm=%{_bindir}/yasm \ + --with-sphinx-build=%{_bindir}/sphinx-build-3 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} +make -C docs/manual html-local %install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' +make install DESTDIR=%{buildroot} +find %{buildroot} -name '*.la' -exec rm -f {} ';' # udis86 overrides "docdir" from automake to datadir/docs rm -rf %{buildroot}%{_datadir}/docs rm -rf %{buildroot}%{_docdir} -%check -# test the libudis86 we just built. this is the only part that requires yasm -export LD_LIBRARY_PATH=$(pwd)/libudis86/.libs -make check - - %ldconfig_scriptlets %files @@ -68,6 +74,9 @@ make check %changelog +* Wed May 01 2019 David Cantrell - 1.7.2-13.56ff6c8 +- Fix building package on rawhide (#1676171) + * Sun Feb 03 2019 Fedora Release Engineering - 1.7.2-12.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 5af3baa5aefd70fc700afcf92916710b71fdb637 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jul 2019 02:19:55 +0000 Subject: [PATCH 37/56] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index f696911..4899790 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 13.%{gitrev}%{?dist} +Release: 14.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 License: BSD @@ -74,6 +74,9 @@ rm -rf %{buildroot}%{_docdir} %changelog +* Sat Jul 27 2019 Fedora Release Engineering - 1.7.2-14.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Wed May 01 2019 David Cantrell - 1.7.2-13.56ff6c8 - Fix building package on rawhide (#1676171) From b9aa8d647e32aec2262451cb5a3737159debdaef Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jan 2020 02:26:37 +0000 Subject: [PATCH 38/56] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index 4899790..fde0c5e 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 14.%{gitrev}%{?dist} +Release: 15.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 License: BSD @@ -74,6 +74,9 @@ rm -rf %{buildroot}%{_docdir} %changelog +* Fri Jan 31 2020 Fedora Release Engineering - 1.7.2-15.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Sat Jul 27 2019 Fedora Release Engineering - 1.7.2-14.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 11556a2b495d1fde2acfb9be827251374e0d47fe Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 13:10:21 +0000 Subject: [PATCH 39/56] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index fde0c5e..c7512eb 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 15.%{gitrev}%{?dist} +Release: 16.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 License: BSD @@ -74,6 +74,9 @@ rm -rf %{buildroot}%{_docdir} %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 1.7.2-16.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jan 31 2020 Fedora Release Engineering - 1.7.2-15.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 8b959bdc551f6d58c3d512ab4c7b0376552f00e6 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 9 Jan 2021 00:18:07 +0000 Subject: [PATCH 40/56] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- udis86.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/udis86.spec b/udis86.spec index c7512eb..ff34647 100644 --- a/udis86.spec +++ b/udis86.spec @@ -13,6 +13,7 @@ Patch1: udis86-symresolve.patch Patch2: udis86-ax_prog_sphinx_version.patch Patch3: udis86-docs_manual_Makefile.am.patch +BuildRequires: make BuildRequires: libtool BuildRequires: python BuildRequires: yasm From 2f146e8a2d11a7dfd5f57afdf32134ce7d411c7d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 22:34:01 +0000 Subject: [PATCH 41/56] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index ff34647..df521dd 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 16.%{gitrev}%{?dist} +Release: 17.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 License: BSD @@ -75,6 +75,9 @@ rm -rf %{buildroot}%{_docdir} %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 1.7.2-17.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Jul 29 2020 Fedora Release Engineering - 1.7.2-16.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 1e7b0754fb7c61f8fb7a5da10a1b8523d7212155 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 19:55:26 +0000 Subject: [PATCH 42/56] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index df521dd..f22d17d 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 17.%{gitrev}%{?dist} +Release: 18.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 License: BSD @@ -75,6 +75,9 @@ rm -rf %{buildroot}%{_docdir} %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 1.7.2-18.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Wed Jan 27 2021 Fedora Release Engineering - 1.7.2-17.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From d9f1c8a60197d4561bdc90e406798f8cdcf4d62d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jan 2022 03:24:23 +0000 Subject: [PATCH 43/56] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index f22d17d..db5e5cb 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 18.%{gitrev}%{?dist} +Release: 19.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 License: BSD @@ -75,6 +75,9 @@ rm -rf %{buildroot}%{_docdir} %changelog +* Sat Jan 22 2022 Fedora Release Engineering - 1.7.2-19.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 1.7.2-18.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 7a341caba0de6d8f31d54d75cc75529f1461db5f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 11:16:02 +0000 Subject: [PATCH 44/56] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index db5e5cb..408a894 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 19.%{gitrev}%{?dist} +Release: 20.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 License: BSD @@ -75,6 +75,9 @@ rm -rf %{buildroot}%{_docdir} %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 1.7.2-20.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Sat Jan 22 2022 Fedora Release Engineering - 1.7.2-19.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From f72f24c2d160df7c3e238947cbb0b993e5950728 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Tue, 3 Jan 2023 08:54:51 -0500 Subject: [PATCH 45/56] Change License to BSD-2-Clause (SPDX expression) Signed-off-by: David Cantrell --- udis86.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/udis86.spec b/udis86.spec index 408a894..f0a2376 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,10 +2,10 @@ Name: udis86 Version: 1.7.2 -Release: 20.%{gitrev}%{?dist} +Release: 21.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 -License: BSD +License: BSD-2-Clause URL: https://github.com/vmt/udis86 Source0: %{name}-%{gitrev}.tar.xz Patch0: udis86-ud_opcode.patch @@ -13,7 +13,7 @@ Patch1: udis86-symresolve.patch Patch2: udis86-ax_prog_sphinx_version.patch Patch3: udis86-docs_manual_Makefile.am.patch -BuildRequires: make +BuildRequires: make BuildRequires: libtool BuildRequires: python BuildRequires: yasm @@ -75,6 +75,9 @@ rm -rf %{buildroot}%{_docdir} %changelog +* Tue Jan 03 2023 David Cantrell - 1.7.2-21.56ff6c8 +- Change License to BSD-2-Clause (SPDX expression) + * Sat Jul 23 2022 Fedora Release Engineering - 1.7.2-20.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 8f04cc0e4e3523d4e696c9cde2b3a44165312fab Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 05:40:54 +0000 Subject: [PATCH 46/56] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index f0a2376..a9a05bc 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 21.%{gitrev}%{?dist} +Release: 22.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 License: BSD-2-Clause @@ -75,6 +75,9 @@ rm -rf %{buildroot}%{_docdir} %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 1.7.2-22.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Tue Jan 03 2023 David Cantrell - 1.7.2-21.56ff6c8 - Change License to BSD-2-Clause (SPDX expression) From f7ae18af17ad8a2eae9ad295078de7a19125d321 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 16:59:36 +0000 Subject: [PATCH 47/56] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index a9a05bc..78ee85b 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 22.%{gitrev}%{?dist} +Release: 23.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 License: BSD-2-Clause @@ -75,6 +75,9 @@ rm -rf %{buildroot}%{_docdir} %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 1.7.2-23.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sat Jan 21 2023 Fedora Release Engineering - 1.7.2-22.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 2ac3f0dc88d72bfe940c1d21b72dceaba0aefaae Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 06:59:06 +0000 Subject: [PATCH 48/56] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index 78ee85b..04d9381 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 23.%{gitrev}%{?dist} +Release: 24.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 License: BSD-2-Clause @@ -75,6 +75,9 @@ rm -rf %{buildroot}%{_docdir} %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 1.7.2-24.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jul 22 2023 Fedora Release Engineering - 1.7.2-23.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From b82532d0e16d941f41c0e5ab082c05852143b7e1 Mon Sep 17 00:00:00 2001 From: Software Management Team Date: Thu, 30 May 2024 12:46:49 +0200 Subject: [PATCH 49/56] Eliminate use of obsolete %patchN syntax (#2283636) --- udis86.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/udis86.spec b/udis86.spec index 04d9381..c4fa502 100644 --- a/udis86.spec +++ b/udis86.spec @@ -34,10 +34,10 @@ developing applications that use %{name}. %prep %setup -q -n %{name}-%{gitrev} -%patch0 -p1 -b .ud_opcode -%patch1 -p1 -b .symresolve -%patch2 -p1 -b .origm4 -%patch3 -p1 -b .automake +%patch -P0 -p1 -b .ud_opcode +%patch -P1 -p1 -b .symresolve +%patch -P2 -p1 -b .origm4 +%patch -P3 -p1 -b .automake find '(' -name '*.c' -or -name '*.h' ')' -exec chmod 644 {} \; %build From a06cedf9571a66414efdf78cac5b08b1b50c2973 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 08:08:11 +0000 Subject: [PATCH 50/56] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index c4fa502..66e2201 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 24.%{gitrev}%{?dist} +Release: 25.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 License: BSD-2-Clause @@ -75,6 +75,9 @@ rm -rf %{buildroot}%{_docdir} %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 1.7.2-25.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Sat Jan 27 2024 Fedora Release Engineering - 1.7.2-24.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From f1b935047d5f087446fba07d0ef7d8c07fe9da24 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 13:36:53 +0000 Subject: [PATCH 51/56] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index 66e2201..c5017be 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 25.%{gitrev}%{?dist} +Release: 26.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 License: BSD-2-Clause @@ -75,6 +75,9 @@ rm -rf %{buildroot}%{_docdir} %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 1.7.2-26.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Sat Jul 20 2024 Fedora Release Engineering - 1.7.2-25.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From fd184a1b787886b3cf946c4d3a2575ac0d4c172a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 19:42:47 +0000 Subject: [PATCH 52/56] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index c5017be..77d6502 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 26.%{gitrev}%{?dist} +Release: 27.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 License: BSD-2-Clause @@ -75,6 +75,9 @@ rm -rf %{buildroot}%{_docdir} %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 1.7.2-27.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sun Jan 19 2025 Fedora Release Engineering - 1.7.2-26.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From bf2660a4de00632b767e80cee797951f8e0199de Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Tue, 26 Aug 2025 11:31:35 -0400 Subject: [PATCH 53/56] Drop yasm build requirement and replace with nasm (#2390545) Signed-off-by: David Cantrell --- udis86.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/udis86.spec b/udis86.spec index 77d6502..7dfe1d0 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 27.%{gitrev}%{?dist} +Release: 28.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 License: BSD-2-Clause @@ -16,7 +16,7 @@ Patch3: udis86-docs_manual_Makefile.am.patch BuildRequires: make BuildRequires: libtool BuildRequires: python -BuildRequires: yasm +BuildRequires: nasm BuildRequires: python3-sphinx %description @@ -46,7 +46,7 @@ find '(' -name '*.c' -or -name '*.h' ')' -exec chmod 644 {} \; --enable-shared \ --disable-silent-rules \ --with-python=%{_bindir}/python3 \ - --with-yasm=%{_bindir}/yasm \ + --with-yasm=%{_bindir}/nasm \ --with-sphinx-build=%{_bindir}/sphinx-build-3 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool @@ -75,6 +75,9 @@ rm -rf %{buildroot}%{_docdir} %changelog +* Tue Aug 26 2025 David Cantrell - 1.7.2-28.56ff6c8 +- Drop yasm build requirement and replace with nasm (#2390545) + * Fri Jul 25 2025 Fedora Release Engineering - 1.7.2-27.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 9b1399956898e0db717b1f76ca78871fde9b0214 Mon Sep 17 00:00:00 2001 From: Dave Cantrell Date: Wed, 27 Aug 2025 09:11:44 -0400 Subject: [PATCH 54/56] Drop nasm dependency; build udis86 without yasm or nasm (#2390545) Signed-off-by: Dave Cantrell --- udis86.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/udis86.spec b/udis86.spec index 7dfe1d0..9022e04 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 28.%{gitrev}%{?dist} +Release: 29.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 License: BSD-2-Clause @@ -16,7 +16,6 @@ Patch3: udis86-docs_manual_Makefile.am.patch BuildRequires: make BuildRequires: libtool BuildRequires: python -BuildRequires: nasm BuildRequires: python3-sphinx %description @@ -46,7 +45,7 @@ find '(' -name '*.c' -or -name '*.h' ')' -exec chmod 644 {} \; --enable-shared \ --disable-silent-rules \ --with-python=%{_bindir}/python3 \ - --with-yasm=%{_bindir}/nasm \ + --without-yasm \ --with-sphinx-build=%{_bindir}/sphinx-build-3 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool @@ -75,6 +74,9 @@ rm -rf %{buildroot}%{_docdir} %changelog +* Wed Aug 27 2025 David Cantrell - 1.7.2-29.56ff6c8 +- Drop nasm dependency; build udis86 without yasm or nasm (#2390545) + * Tue Aug 26 2025 David Cantrell - 1.7.2-28.56ff6c8 - Drop yasm build requirement and replace with nasm (#2390545) From 92bd15f274d739f6f7666939b92921372b0f4566 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 20 Jan 2026 03:30:15 +0000 Subject: [PATCH 55/56] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index 9022e04..20ac2f3 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 29.%{gitrev}%{?dist} +Release: 30.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 License: BSD-2-Clause @@ -74,6 +74,9 @@ rm -rf %{buildroot}%{_docdir} %changelog +* Tue Jan 20 2026 Fedora Release Engineering - 1.7.2-30.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Wed Aug 27 2025 David Cantrell - 1.7.2-29.56ff6c8 - Drop nasm dependency; build udis86 without yasm or nasm (#2390545) From 566cba81508868c6dec45f17ecfb5a8345c4aa1f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:06:27 +0000 Subject: [PATCH 56/56] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- udis86.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udis86.spec b/udis86.spec index 20ac2f3..4c91e18 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,7 +2,7 @@ Name: udis86 Version: 1.7.2 -Release: 30.%{gitrev}%{?dist} +Release: 31.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 License: BSD-2-Clause @@ -74,6 +74,9 @@ rm -rf %{buildroot}%{_docdir} %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 1.7.2-31.56ff6c8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Tue Jan 20 2026 Fedora Release Engineering - 1.7.2-30.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild