diff --git a/1.5.tar.gz b/1.5.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..d2b3f0c0e6ac19dd6f10caf1bae5623369615783 Binary files /dev/null and b/1.5.tar.gz differ diff --git a/hexedit-1.2.13-config.patch b/hexedit-1.2.13-config.patch index 0421bcdcd253c77273dfa009408641a74677f8a6..12ab85e5d04aab44e18cc0bdfa417f149a43a2ae 100644 --- a/hexedit-1.2.13-config.patch +++ b/hexedit-1.2.13-config.patch @@ -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 diff --git a/hexedit-1.2.13.src.tgz b/hexedit-1.2.13.src.tgz deleted file mode 100644 index 35dc88295a523deecdc329820ef84bb0c972f592..0000000000000000000000000000000000000000 Binary files a/hexedit-1.2.13.src.tgz and /dev/null differ diff --git a/hexedit.spec b/hexedit.spec index aed4886adc69552890c8ad0f801c0d63eacd7006..a89b743f1192b86121b7950bc732c581475b8292 100644 --- a/hexedit.spec +++ b/hexedit.spec @@ -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 - 1.5-1 +- update to 1.5 + * Fri Oct 11 2019 openEuler Buildteam - 1.2.13-15 - Package init.