Summary(tr.UTF-8): Sistem servis bilgilerini sorgular ve yeniler
Summary(uk.UTF-8): Системна утиліта для керування ієрархією /etc/rc.d
Name: chkconfig
-Version: 1.5
-Release: 1
+Version: 1.25
+Release: 2
Epoch: 2
License: GPL v2
Group: Applications/System
-Source0: https://fedorahosted.org/releases/c/h/chkconfig/%{name}-%{version}.tar.bz2
-# Source0-md5: 0e59a43ef588a7bba5528b10bb59bef2
+#Source0Download: https://github.com/fedora-sysv/chkconfig/releases
+Source0: https://github.com/fedora-sysv/chkconfig/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 12a7b241ba7d3730b9dc389115be50ee
Patch0: %{name}-add.patch
Patch1: %{name}-noxinet.patch
Patch2: %{name}-rc.d.patch
Patch3: %{name}-optflags.patch
Patch4: %{name}-pl.patch
-URL: https://git.fedorahosted.org/git/chkconfig.git
+Patch5: %{name}-split-usr.patch
+URL: https://github.com/fedora-sysv/chkconfig
BuildRequires: gettext-tools
BuildRequires: libselinux-devel
BuildRequires: newt-devel
BuildRequires: popt-devel
Requires: rc-scripts
-# sr@Latn vs. sr@latin
-Conflicts: glibc-misc < 6:2.7
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%build
%{__make} \
CC="%{__cc}" \
OPTFLAGS="%{rpmcppflags} %{rpmcflags}" \
OPTLDFLAGS="%{rpmldflags}" \
- SYSTEMDDIR=/lib/systemd
+ SYSTEMDUTILDIR=/lib/systemd
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
MANDIR=%{_mandir} \
- SYSTEMDDIR=/lib/systemd \
+ SYSTEMDUTILDIR=/lib/systemd \
DESTDIR=$RPM_BUILD_ROOT
%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/bal