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.
#BASEDIR=/mnt/test
+BINDIR:=/bin
+BINDIR:=/usr/bin
+
OBJS=hostname.o

View File

@ -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ý <jkoncick@redhat.com> - 3.14-2
- Install binaries into /usr/bin
* Sun Sep 08 2013 Jiri Popelka <jpopelka@redhat.com> - 3.14-1
- 3.14