6a7fa4e9 |
Summary: command line utility to set and view hardware parameters
Name: hdparm
Version: 9.51 |
421d1f6b |
Release: 2%{?dist} |
6a7fa4e9 |
License: BSD
URL: http://sourceforge.net/projects/%{name}/
Source0: http://downloads.sourceforge.net/hdparm/%{name}-%{version}.tar.gz
%define sha1 hdparm=cc9dc4cbaa00f7534988c37111be8e2c6e81cf73
Group: Applications/System
Vendor: VMware, Inc.
Distribution: Photon
%description
The Hdparm package contains a utility that is useful for controlling ATA/IDE
controllers and hard drives both to increase performance and sometimes to increase stability.
%prep
%setup -q
%build |
421d1f6b |
sed -i 's/STRIP ?= strip/STRIP=$(STRIP)/' Makefile
sed -i 's/LDFLAGS = -s/LDFLAGS=$(LDFLAGS)/' Makefile
make %{?_smp_mflags} CFLAGS="%{optflags}" LDFLAGS="" STRIP="/bin/true" |
6a7fa4e9 |
%install
make DESTDIR=%{buildroot} binprefix=%{_prefix} install
%check
make %{?_smp_mflags} check
%files
%defattr(-,root,root)
%{_sbindir}/hdparm
%{_mandir}/man8/hdparm.8*
%changelog |
421d1f6b |
* Tue Apr 25 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 9.51-2
- Ensure non empty debuginfo |
6a7fa4e9 |
* Wed Jan 25 2017 Dheeraj Shetty <dheerajs@vmware.com> 9.51-1
- Initial build. First version |