Compare commits

...

No commits in common. "c8s" and "c9" have entirely different histories.
c8s ... c9

8 changed files with 101 additions and 41 deletions

3
.gitignore vendored
View File

@ -1,2 +1 @@
SOURCES/hexedit-1.2.13.src.tgz
/hexedit-1.2.13.src.tgz
SOURCES/hexedit-1.6.tar.gz

1
.hexedit.metadata Normal file
View File

@ -0,0 +1 @@
561e967aecff92a487614ed0f98f917949b39ac4 SOURCES/hexedit-1.6.tar.gz

View File

@ -10,14 +10,3 @@ diff -up hexedit/Makefile-build.in~ hexedit/Makefile-build.in
install -d -m 755 usr/man/man1
install -m 644 $(PRODUCT).1 usr/man/man1
tar cfz $(DYNAMICBIN) usr
diff -up hexedit/Makefile.in~ hexedit/Makefile.in
--- hexedit/Makefile.in~ 2010-02-04 17:20:52.000000000 +0200
+++ hexedit/Makefile.in 2013-03-26 17:14:26.217769520 +0200
@@ -42,6 +42,6 @@ distclean: clean
install: $(PRODUCT)
$(INSTALL) -d -m 755 $(DESTDIR)$(bindir)
- $(INSTALL) -s -m 755 $(PRODUCT) $(DESTDIR)$(bindir)
+ $(INSTALL) -m 755 $(PRODUCT) $(DESTDIR)$(bindir)
$(INSTALL) -d -m 755 $(DESTDIR)$(mandir)/man1
$(INSTALL) -m 644 $(PRODUCT).1 $(DESTDIR)$(mandir)/man1

View File

@ -0,0 +1,47 @@
Author:Filip Januš <fjanus@redhat.com>
This patch fixs inconsistency between filename and configure.ac
diff -ur hexedit-1.6.old/configure.ac hexedit-1.6/configure.ac
--- hexedit-1.6.old/configure.ac 2022-04-22 09:06:10.000000000 +0100
+++ hexedit-1.6/configure.ac 2022-05-02 22:30:54.942894809 +0100
@@ -15,7 +15,7 @@
VERSION=TheVERSION
INCL=hexedit.h
SRCS="hexedit.c display.c mark.c page.c file.c interact.c misc.c search.c"
-OTHER="COPYING Changes TODO install-sh configure config.h.in hexedit.1 hexedit-TheVERSION.lsm Makefile.in configure.ac Makefile-build.in"
+OTHER="COPYING Changes TODO install-sh configure config.h.in hexedit.1 hexedit.lsm Makefile.in configure.ac Makefile-build.in"
AC_SUBST(PRODUCT)
AC_SUBST(VERSION)
AC_SUBST(INCL)
@@ -74,5 +74,5 @@
#endif
)
-AC_CONFIG_FILES([Makefile Makefile-build hexedit.1])
+AC_CONFIG_FILES([Makefile Makefile-build hexedit.1 hexedit.lsm])
AC_OUTPUT
Only in hexedit-1.6: configure.ac~
Only in hexedit-1.6: configure.ac.orig
Only in hexedit-1.6: configure.ac.rej
diff -ur hexedit-1.6.old/hexedit.lsm.in hexedit-1.6/hexedit.lsm.in
--- hexedit-1.6.old/hexedit.lsm.in 2022-04-22 09:06:10.000000000 +0100
+++ hexedit-1.6/hexedit.lsm.in 2022-05-02 22:30:07.618550082 +0100
@@ -1,6 +1,6 @@
Begin3
Title: hexedit
-Version: TheVERSION
+Version: @VERSION@
Entered-date: 10SEP98
Description: view and edit files in hexadecimal or in ASCII.
hexedit shows a file both in ASCII and in hexadecimal.
@@ -13,8 +13,8 @@
Author: pixel@rigaux.org (Pixel)
Maintained-by: pixel@rigaux.org (Pixel)
Primary-site: sunsite.unc.edu /pub/Linux/utils/file/hex
- 39kB hexedit-VERSION.src.tgz
- 14kB hexedit-VERSION.bin.i386.dynamic.tgz
+ 39kB hexedit-@VERSION@.src.tgz
+ 14kB hexedit-@VERSION@.bin.i386.dynamic.tgz
Original-site: rigaux.org /
Platforms: Linux Unix SunOS Solaris SGI curses
Copying-policy: GPL

View File

@ -1,17 +1,23 @@
%global forgeurl https://github.com/pixel/hexedit
Version: 1.6
%forgemeta
Summary: A hexadecimal file viewer and editor
Name: hexedit
Version: 1.2.13
Release: 12%{?dist}
Release: 1%{?dist}
License: GPLv2+
URL: http://rigaux.org/hexedit.html
Source: http://rigaux.org/%{name}-%{version}.src.tgz
Source: %{forgesource}
Patch1: hexedit-1.2.13-config.patch
# Document --color option. Sent upstream 2013-04-05.
Patch2: hexedit-man-page-color.patch
Patch2: hexedit-1.6-fix-lsm.patch
BuildRequires: ncurses-devel
BuildRequires: gcc
BuildRequires: make
BuildRequires: autoconf
%description
Hexedit shows a file both in ASCII and in hexadecimal. The file can be a device
@ -19,12 +25,13 @@ as the file is read a piece at a time. Hexedit can be used to modify the file
and search through it.
%prep
%setup -q -n %{name}
%forgesetup
%patch1 -p1 -b .config
%patch2 -p1 -b .color
%patch2 -p1
%build
./autogen.sh
%configure
make %{_smp_mflags}
@ -35,11 +42,48 @@ make install \
INSTALL='install -p'
%files
%doc hexedit-%{version}.lsm COPYING Changes
%doc hexedit.lsm COPYING Changes
%{_bindir}/hexedit
%{_mandir}/man1/hexedit.1*
%changelog
* Mon May 02 2022 Richard W.M. Jones <rjones@redhat.com> - 1.6-1
- New upstream version 1.6
resolves: rhbz#2081103
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.5-3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.5-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Mar 16 2021 Filip Januš <fjanus@redhat.com> - 1.5-1
- Nwe upstream version 1.5
- Add patch to solve inconsistency between configure.ac and filename
- Add Build requirement autoconf
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Feb 27 2018 Marek Skalický <mskalick@redhat.com> - 1.2.13-13
- Add missing BuildRequires: gcc/gcc-c++
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1,6 +0,0 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1,13 +0,0 @@
--- hexedit.old/hexedit.1 2013-03-01 22:07:04.000000000 +0000
+++ hexedit/hexedit.1 2013-04-05 17:25:48.875705378 +0100
@@ -17,6 +17,10 @@
.I "\-m, \-\-maximize"
Try to maximize the display.
.TP
+.I "\-\-color"
+Display colors.
+This feature is only available if your operating system supports it.
+.TP
.I "\-h, \-\-help"
Show the usage.
.SH COMMANDS (quickly)

View File

@ -1 +0,0 @@
SHA512 (hexedit-1.2.13.src.tgz) = df9afb0b9b965e20ea8c427c1986b0200216601b157862199c35bae9e201ccc478ab0bfecd39d0dfaa85bf582f1cf372b0134fadcfeacf4734805a6e6dcaa2bb