Install binaries into /usr/bin

This commit is contained in:
Jaromír Končický 2013-10-14 15:45:15 +02:00
parent 9c72bc4377
commit 67af99f381
2 changed files with 6 additions and 3 deletions

View File

@ -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. # uncomment the following line if you want to install to a different base dir.
#BASEDIR=/mnt/test #BASEDIR=/mnt/test
+BINDIR:=/bin +BINDIR:=/usr/bin
+ +
OBJS=hostname.o OBJS=hostname.o

View File

@ -1,7 +1,7 @@
Summary: Utility to set/show the host name or domain name Summary: Utility to set/show the host name or domain name
Name: hostname Name: hostname
Version: 3.14 Version: 3.14
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Base Group: System Environment/Base
URL: http://packages.qa.debian.org/h/hostname.html URL: http://packages.qa.debian.org/h/hostname.html
@ -26,10 +26,13 @@ make BASEDIR=%{buildroot} install
%files %files
%doc COPYRIGHT %doc COPYRIGHT
/bin/* %{_bindir}/*
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Mon Oct 14 2013 Jaromír Končický <jkoncick@redhat.com> - 3.14-2
- Install binaries into /usr/bin
* Sun Sep 08 2013 Jiri Popelka <jpopelka@redhat.com> - 3.14-1 * Sun Sep 08 2013 Jiri Popelka <jpopelka@redhat.com> - 3.14-1
- 3.14 - 3.14