remove obsolete initscript and related files; add debug package [release 9.65-2mamba;Sun Oct 09 2022]
This commit is contained in:
parent
4427572483
commit
3acb14acab
@ -1,6 +1,5 @@
|
|||||||
# hdparm
|
# hdparm
|
||||||
|
|
||||||
Hdparm is a useful system utility for setting (E)IDE hard drive parameters.
|
Hdparm is a useful system utility for setting (E)IDE hard drive parameters.
|
||||||
For example, hdparm can be used to tweak hard drive performance and to spin
|
For example, hdparm can be used to tweak hard drive performance and to spin down hard drives for power conservation.
|
||||||
down hard drives for power conservation.
|
|
||||||
|
|
||||||
|
38
hdparm.spec
38
hdparm.spec
@ -1,6 +1,6 @@
|
|||||||
Name: hdparm
|
Name: hdparm
|
||||||
Version: 9.65
|
Version: 9.65
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: A utility for displaying and/or setting IDE hard disk parameters
|
Summary: A utility for displaying and/or setting IDE hard disk parameters
|
||||||
Group: System/Kernel and Hardware
|
Group: System/Kernel and Hardware
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -17,43 +17,39 @@ BuildRequires: glibc-devel
|
|||||||
|
|
||||||
%description
|
%description
|
||||||
Hdparm is a useful system utility for setting (E)IDE hard drive parameters.
|
Hdparm is a useful system utility for setting (E)IDE hard drive parameters.
|
||||||
For example, hdparm can be used to tweak hard drive performance and to spin
|
For example, hdparm can be used to tweak hard drive performance and to spin down hard drives for power conservation.
|
||||||
down hard drives for power conservation.
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make
|
%make STRIP=/bin/true
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
install -d %{buildroot}/sbin
|
%makeinstall sbindir=%{_sbindir} STRIP=/bin/true
|
||||||
install -d %{buildroot}%{_initrddir}
|
|
||||||
install -d %{buildroot}%{_sysconfdir}/rc.d/rcsysinit.d
|
|
||||||
install -d %{buildroot}%{_sysconfdir}/sysconfig
|
|
||||||
install -d %{buildroot}%{_mandir}/man8
|
|
||||||
|
|
||||||
%makeinstall
|
install -m755 contrib/idectl %{buildroot}%{_sbindir}
|
||||||
|
install -m755 contrib/ultrabayd %{buildroot}%{_sbindir}
|
||||||
cp %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/harddisks
|
|
||||||
install -m 744 %{SOURCE2} %{buildroot}%{_initrddir}/hdparm
|
|
||||||
ln -s ../init.d/hdparm %{buildroot}%{_sysconfdir}/rc.d/rcsysinit.d/S35hdparm
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/sbin/hdparm
|
%{_sbindir}/hdparm
|
||||||
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/sysconfig/harddisks
|
%{_sbindir}/idectl
|
||||||
%{_initrddir}/hdparm
|
%{_sbindir}/ultrabayd
|
||||||
%{_sysconfdir}/rc.d/rcsysinit.d/*
|
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
%doc Changelog LICENSE.TXT README.acoustic
|
%doc LICENSE.TXT
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Oct 09 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 9.65-2mamba
|
||||||
|
- remove obsolete initscript and related files; add debug package
|
||||||
|
|
||||||
* Thu Sep 08 2022 Automatic Build System <autodist@mambasoft.it> 9.65-1mamba
|
* Thu Sep 08 2022 Automatic Build System <autodist@mambasoft.it> 9.65-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
@ -167,11 +163,11 @@ ln -s ../init.d/hdparm %{buildroot}%{_sysconfdir}/rc.d/rcsysinit.d/S35hdparm
|
|||||||
* Thu Mar 04 2004 Davide Madrisan <davide.madrisan@qilinux.it> 5.5-1qilnx
|
* Thu Mar 04 2004 Davide Madrisan <davide.madrisan@qilinux.it> 5.5-1qilnx
|
||||||
- new version rebuit
|
- new version rebuit
|
||||||
|
|
||||||
* Fri Nov 22 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 5.4-4qilnx
|
* Sat Nov 22 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 5.4-4qilnx
|
||||||
- removed chkconfig execution (it now starts in rc.sysinit phase)
|
- removed chkconfig execution (it now starts in rc.sysinit phase)
|
||||||
- added rcsysinit.d service symlink
|
- added rcsysinit.d service symlink
|
||||||
|
|
||||||
* Wed Nov 18 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 5.4-3qilnx
|
* Tue Nov 18 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 5.4-3qilnx
|
||||||
- changed service precedence from 10 to 09
|
- changed service precedence from 10 to 09
|
||||||
|
|
||||||
* Wed Nov 12 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 5.4-2qilnx
|
* Wed Nov 12 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 5.4-2qilnx
|
||||||
|
Loading…
Reference in New Issue
Block a user