import smartmontools-7.1-1.el8

This commit is contained in:
CentOS Sources 2020-11-03 06:46:09 -05:00 committed by Andrew Lukoshko
parent 3e358f3e3f
commit 0fb9a30757
4 changed files with 1132 additions and 443 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/smartmontools-6.6.tar.gz
SOURCES/smartmontools-7.1.tar.gz

View File

@ -1 +1 @@
8946f6350d6df9341d571381d66ffbb7d83b8af2 SOURCES/smartmontools-6.6.tar.gz
207dc2b50cab1c6fba7bc248665fbbe3189374e1 SOURCES/smartmontools-7.1.tar.gz

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
Summary: Tools for monitoring SMART capable hard disks
Name: smartmontools
Version: 6.6
Release: 3%{?dist}
Version: 7.1
Release: 1%{?dist}
Epoch: 1
Group: System Environment/Base
License: GPLv2+
@ -24,7 +24,7 @@ Requires(preun): systemd-units
Requires(postun): systemd-units
BuildRequires: readline-devel ncurses-devel automake util-linux groff gettext
BuildRequires: libselinux-devel libcap-ng-devel
BuildRequires: systemd-units
BuildRequires: systemd-units systemd-devel
%description
The smartmontools package contains two utility programs (smartctl
@ -44,15 +44,14 @@ cp %{SOURCE5} .
%build
autoreconf -i
%configure --with-selinux --with-libcap-ng=yes --with-systemdsystemunitdir=%{_unitdir} --sysconfdir=%{_sysconfdir}/%name/
%configure --with-selinux --with-libcap-ng=yes --with-libsystemd --with-systemdsystemunitdir=%{_unitdir} --sysconfdir=%{_sysconfdir}/%{name}/ --with-systemdenvfile=%{_sysconfdir}/sysconfig/%{name}
%ifarch sparc64
make CXXFLAGS="$RPM_OPT_FLAGS -fPIE" LDFLAGS="-pie -Wl,-z,relro,-z,now"
%else
make CXXFLAGS="$RPM_OPT_FLAGS -fpie" LDFLAGS="-pie -Wl,-z,relro,-z,now"
%endif
sed -i 's|/etc/smartmontools/sysconfig|/etc/sysconfig|g' smartd.service
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
@ -109,6 +108,9 @@ fi
%{_sharedstatedir}/%{name}
%changelog
* Wed Apr 22 2020 Michal Hlavinka <mhlavink@redhat.com> - 1:7.1-1
- smartmontools updated to 7.1 (#1671154)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:6.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild