###############################################################################
name = hostname
-version = 3.15
+version = 3.23
release = 1
groups = System Environment/Base
-url = http://packages.qa.debian.org/h/hostname.html
+url = https://packages.qa.debian.org/h/hostname.html
license = GPLv2+
summary = Utility to set/show the host name or domain name.
sources = %{name}_%{version}.tar.gz
build
- DIR_APP = %{DIR_SRC}/%{name}
+ requires
+ rpcsvc-proto-devel
+ end
- make_build_targets += \
- CFLAGS="%{CFLAGS}"
+ DIR_APP = %{DIR_SRC}/%{name}
make_install_targets += \
- BASEDIR=%{BUILDROOT} \
- BINDIR=%{bindir}
+ BASEDIR="%{BUILDROOT}" \
+ BINDIR="%{bindir}" \
+ MANDIR="%{mandir}"
end
packages
package %{name}
- groups += Base
- end
-
- conflicts
- net-tools < 2.0
- end
package %{name}-debuginfo
template DEBUGINFO