[hostname] Install binaries into /usr/bin
Jaromir Koncicky
jkoncick at fedoraproject.org
Mon Oct 14 15:43:44 UTC 2013
commit 67af99f381230af0599672e1bea4112996700d34
Author: Jaromír Končický <jkoncick at redhat.com>
Date: Mon Oct 14 15:45:15 2013 +0200
Install binaries into /usr/bin
hostname-rh.patch | 2 +-
hostname.spec | 7 +++++--
2 files changed, 6 insertions(+), 3 deletions(-)
---
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ý <jkoncick at redhat.com> - 3.14-2
+- Install binaries into /usr/bin
+
* Sun Sep 08 2013 Jiri Popelka <jpopelka at redhat.com> - 3.14-1
- 3.14
More information about the scm-commits
mailing list