use BINDIR
This commit is contained in:
parent
67af99f381
commit
8172be0169
@ -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:=/usr/bin
|
+BINDIR:=/bin
|
||||||
+
|
+
|
||||||
OBJS=hostname.o
|
OBJS=hostname.o
|
||||||
|
|
||||||
|
@ -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: 2%{?dist}
|
Release: 3%{?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
|
||||||
@ -22,7 +22,7 @@ DNS name, and to display or set its hostname or NIS domain name.
|
|||||||
make CFLAGS="$RPM_OPT_FLAGS $CFLAGS"
|
make CFLAGS="$RPM_OPT_FLAGS $CFLAGS"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make BASEDIR=%{buildroot} install
|
make BASEDIR=%{buildroot} BINDIR=%{_bindir} install
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc COPYRIGHT
|
%doc COPYRIGHT
|
||||||
@ -30,6 +30,9 @@ make BASEDIR=%{buildroot} install
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 16 2013 Jiri Popelka <jpopelka@redhat.com> - 3.14-3
|
||||||
|
- use BINDIR
|
||||||
|
|
||||||
* Mon Oct 14 2013 Jaromír Končický <jkoncick@redhat.com> - 3.14-2
|
* Mon Oct 14 2013 Jaromír Končický <jkoncick@redhat.com> - 3.14-2
|
||||||
- Install binaries into /usr/bin
|
- Install binaries into /usr/bin
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user