drop no longer necessary spec bits

This commit is contained in:
Peter Robinson 2018-07-23 00:16:59 +01:00
parent d7dd0e70d8
commit 8252f0b126

View File

@ -3,7 +3,6 @@ Name: chkconfig
Version: 1.10
Release: 6%{?dist}
License: GPLv2
Group: System Environment/Base
URL: https://github.com/fedora-sysv/chkconfig
Source: https://github.com/fedora-sysv/chkconfig/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: gcc
@ -18,7 +17,6 @@ of the drudgery of manually editing the symbolic links.
%package -n ntsysv
Summary: A tool to set the stop/start of system services in a runlevel
Group: System Environment/Base
Requires: chkconfig = %{version}-%{release}
%description -n ntsysv
@ -38,7 +36,6 @@ make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %{?_smp_mflags}
make check
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} SBINDIR=%{_sbindir} install
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
@ -52,7 +49,6 @@ mkdir -p $RPM_BUILD_ROOT/etc/chkconfig.d
%find_lang %{name}
%files -f %{name}.lang
%{!?_licensedir:%global license %%doc}
%license COPYING
%dir /etc/alternatives
/sbin/chkconfig