update to 1.5

This commit is contained in:
dillon_chen 2022-06-22 15:26:09 +08:00
parent f210b3c700
commit a7edecfad9
5 changed files with 54 additions and 16 deletions

BIN
1.5.tar.gz Normal file

Binary file not shown.

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

Binary file not shown.

43
hexedit-1.5.patch Normal file
View File

@ -0,0 +1,43 @@
Author:Filip Januš <fjanus@redhat.com>
This patch fixs inconsistency between filename and configure.ac
diff -ur hexedit-1.5/configure.ac hxpatch/configure.ac
--- hexedit-1.5/configure.ac 2020-08-28 11:51:07.000000000 +0200
+++ hxpatch/configure.ac 2021-03-16 15:37:40.127591071 +0100
@@ -14,7 +14,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.in Makefile-build.in"
+OTHER="COPYING Changes TODO install-sh configure config.h.in hexedit.1 hexedit.lsm Makefile.in configure.in Makefile-build.in"
AC_SUBST(PRODUCT)
AC_SUBST(VERSION)
AC_SUBST(INCL)
@@ -72,4 +72,4 @@
#endif
)
-AC_OUTPUT(Makefile Makefile-build hexedit.1)
+AC_OUTPUT(Makefile Makefile-build hexedit.1 hexedit.lsm)
diff -ur hexedit-1.5/hexedit.lsm.in hxpatch/hexedit.lsm.in
--- hexedit-1.5/hexedit.lsm.in 2020-08-28 11:51:07.000000000 +0200
+++ hxpatch/hexedit.lsm.in 2021-03-16 12:12:49.664995112 +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,12 +1,14 @@
Name: hexedit
Version: 1.2.13
Release: 15
Version: 1.5
Release: 1
Summary: hexedit - view and edit files in hexadecimal or in ASCII.
License: GPLv2+
URL: http://rigaux.org/hexedit.html
Source0: http://rigaux.org/%{name}-%{version}.src.tgz
Source: https://github.com/pixel/%{name}/archive/%{version}.tar.gz
Patch0: hexedit-1.2.13-config.patch
Patch1: hexedit-1.5.patch
BuildRequires: gcc ncurses-devel
@ -17,9 +19,10 @@ the file is read a piece at a time. You can modify the file and search through i
%package_help
%prep
%autosetup -n %{name} -p1
%autosetup -n %{name}-%{version} -p1
%build
./autogen.sh
%configure
%make_build
@ -37,7 +40,7 @@ the file is read a piece at a time. You can modify the file and search through i
%postun
%files
%doc %{name}-%{version}.lsm Changes
%doc %{name}.lsm Changes
%license COPYING
%{_bindir}/hexedit
@ -45,5 +48,8 @@ the file is read a piece at a time. You can modify the file and search through i
%{_mandir}/man1/hexedit.1*
%changelog
* Wed Jun 22 2022 dillon chen <dillon.chen@gmail.com> - 1.5-1
- update to 1.5
* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.2.13-15
- Package init.