diff --git a/hostname-rh.patch b/hostname-rh.patch index 979fbe8..9db89d2 100644 --- a/hostname-rh.patch +++ b/hostname-rh.patch @@ -47,7 +47,7 @@ diff -up hostname/Makefile.rh hostname/Makefile # uncomment the following line if you want to install to a different base dir. #BASEDIR=/mnt/test -+BINDIR:=/bin ++BINDIR:=/usr/bin + OBJS=hostname.o diff --git a/hostname.spec b/hostname.spec index 98baf4a..5953906 100644 --- a/hostname.spec +++ b/hostname.spec @@ -1,7 +1,7 @@ Summary: Utility to set/show the host name or domain name Name: hostname Version: 3.14 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Group: System Environment/Base URL: http://packages.qa.debian.org/h/hostname.html @@ -26,10 +26,13 @@ make BASEDIR=%{buildroot} install %files %doc COPYRIGHT -/bin/* +%{_bindir}/* %{_mandir}/man1/* %changelog +* Mon Oct 14 2013 Jaromír Končický - 3.14-2 +- Install binaries into /usr/bin + * Sun Sep 08 2013 Jiri Popelka - 3.14-1 - 3.14