diff --git a/hostname-rh.patch b/hostname-rh.patch index 9db89d2..979fbe8 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:=/usr/bin ++BINDIR:=/bin + OBJS=hostname.o diff --git a/hostname.spec b/hostname.spec index 5953906..beaf374 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: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Group: System Environment/Base URL: http://packages.qa.debian.org/h/hostname.html @@ -22,7 +22,7 @@ DNS name, and to display or set its hostname or NIS domain name. make CFLAGS="$RPM_OPT_FLAGS $CFLAGS" %install -make BASEDIR=%{buildroot} install +make BASEDIR=%{buildroot} BINDIR=%{_bindir} install %files %doc COPYRIGHT @@ -30,6 +30,9 @@ make BASEDIR=%{buildroot} install %{_mandir}/man1/* %changelog +* Wed Oct 16 2013 Jiri Popelka - 3.14-3 +- use BINDIR + * Mon Oct 14 2013 Jaromír Končický - 3.14-2 - Install binaries into /usr/bin