diff --git a/hexedit.spec b/hexedit.spec index fcef672..91d1ba1 100644 --- a/hexedit.spec +++ b/hexedit.spec @@ -3,7 +3,7 @@ Name: hexedit Version: 1.2.13 Release: 3%{?dist} License: GPLv2+ -Group: Applications/Editors + URL: http://rigaux.org/hexedit.html Source: http://rigaux.org/%{name}-%{version}.src.tgz @@ -12,7 +12,6 @@ Patch1: hexedit-1.2.13-config.patch Patch2: hexedit-man-page-color.patch BuildRequires: ncurses-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description Hexedit shows a file both in ASCII and in hexadecimal. The file can be a device @@ -30,22 +29,20 @@ and search through it. make %{_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT - -make install mandir=$RPM_BUILD_ROOT%{_mandir} bindir=$RPM_BUILD_ROOT%{_bindir} INSTALL='install -p' - -%clean -rm -rf $RPM_BUILD_ROOT +make install \ + mandir=$RPM_BUILD_ROOT%{_mandir} \ + bindir=$RPM_BUILD_ROOT%{_bindir} \ + INSTALL='install -p' %files -%defattr(-,root,root) %doc hexedit-%{version}.lsm COPYING Changes %{_bindir}/hexedit -%{_mandir}/*/* +%{_mandir}/man1/hexedit.1* %changelog * Fri Apr 05 2013 Richard W.M. Jones - 1.2.13-3 - Add patch to document --color option. +- Modernize the spec file. * Tue Mar 26 2013 Ville Skyttä - 1.2.13-2 - Bring back config patch to fix -debuginfo, it hasn't been upstreamed yet.