- rebased to 2.4.16.1
- spec file cleanup
This commit is contained in:
parent
c5216a8a48
commit
eb604b348b
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@
|
|||||||
/iprutils-2.4.12.1.tar.gz
|
/iprutils-2.4.12.1.tar.gz
|
||||||
/iprutils-2.4.14.1.tar.gz
|
/iprutils-2.4.14.1.tar.gz
|
||||||
/iprutils-2.4.15.1.tar.gz
|
/iprutils-2.4.15.1.tar.gz
|
||||||
|
/iprutils-2.4.16.1.tar.gz
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
Summary: Utilities for the IBM Power Linux RAID adapters
|
Summary: Utilities for the IBM Power Linux RAID adapters
|
||||||
Name: iprutils
|
Name: iprutils
|
||||||
Version: 2.4.15.1
|
Version: 2.4.16.1
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
License: CPL
|
License: CPL
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://sourceforge.net/projects/iprdd/
|
URL: http://sourceforge.net/projects/iprdd/
|
||||||
Source0: https://sourceforge.net/projects/iprdd/files/iprutils%20for%202.6%20kernels/2.4.15/%{name}-%{version}.tar.gz
|
Source0: https://sourceforge.net/projects/iprdd/files/iprutils%20for%202.6%20kernels/2.4.16/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
# missing man page
|
# missing man page
|
||||||
Source1: iprdbg.8.gz
|
Source1: iprdbg.8.gz
|
||||||
@ -13,48 +13,45 @@ Source1: iprdbg.8.gz
|
|||||||
# sent to upstream
|
# sent to upstream
|
||||||
Patch0: 0001-Service-start-is-controled-by-udev-rule.patch
|
Patch0: 0001-Service-start-is-controled-by-udev-rule.patch
|
||||||
|
|
||||||
Requires: /sbin/pidof
|
|
||||||
|
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: libcap-devel
|
BuildRequires: libcap-devel
|
||||||
BuildRequires: kernel-headers
|
BuildRequires: kernel-headers
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
BuildRequires: python2-devel
|
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
|
|
||||||
Obsoletes: ipr-utils
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Provides a suite of utilities to manage and configure SCSI devices
|
Provides a suite of utilities to manage and configure SCSI devices
|
||||||
supported by the ipr SCSI storage device driver.
|
supported by the ipr SCSI storage device driver.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch0 -p1 -b .udev
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags} -fPIE -Wl,-z,relro,-z,now"
|
%configure --with-systemd --disable-static --disable-sosreport
|
||||||
export LDFLAGS="-pie"
|
%{make_build}
|
||||||
%configure
|
|
||||||
%{__make} %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__make} DESTDIR=%{buildroot} install
|
%{make_install}
|
||||||
|
|
||||||
# iprutils.target
|
# iprutils.target
|
||||||
%{__install} -m 0644 systemd/iprutils.target %{buildroot}/%{_unitdir}/iprutils.target
|
install -p -m 0644 systemd/iprutils.target %{buildroot}/%{_unitdir}/iprutils.target
|
||||||
|
|
||||||
mkdir -p %{buildroot}/%{_udevrulesdir}
|
mkdir -p %{buildroot}/%{_udevrulesdir}
|
||||||
%{__install} -m 0644 udev/rules.d/90-iprutils.rules %{buildroot}/%{_udevrulesdir}/90-iprutils.rules
|
install -p -m 0644 udev/rules.d/90-iprutils.rules %{buildroot}/%{_udevrulesdir}/90-iprutils.rules
|
||||||
|
|
||||||
# missing man page
|
# missing man page
|
||||||
%{__install} -m 0644 %SOURCE1 %{buildroot}%{_mandir}/man8/
|
install -p -m 0644 %SOURCE1 %{buildroot}%{_mandir}/man8/
|
||||||
|
|
||||||
#install bash completion
|
#install bash completion
|
||||||
%{__mv} %{buildroot}/%{_sysconfdir}/bash_completion.d/{iprconfig-bash-completion.sh,iprconfig}
|
mv %{buildroot}/%{_sysconfdir}/bash_completion.d/{iprconfig-bash-completion.sh,iprconfig}
|
||||||
|
|
||||||
# Remove temporary files and scripts that will not be packaged.
|
# Remove temporary files and scripts that will not be packaged.
|
||||||
%{__rm} %{buildroot}/%{_sysconfdir}/ha.d/resource.d/iprha
|
rm %{buildroot}/%{_sysconfdir}/ha.d/resource.d/iprha
|
||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_post iprinit.service
|
%systemd_post iprinit.service
|
||||||
@ -69,18 +66,23 @@ mkdir -p %{buildroot}/%{_udevrulesdir}
|
|||||||
%systemd_preun iprutils.target
|
%systemd_preun iprutils.target
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README LICENSE
|
%license LICENSE
|
||||||
|
%doc README
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
%{_sysconfdir}/bash_completion.d/
|
%{_sysconfdir}/bash_completion.d/
|
||||||
#fix permissions
|
%{_mandir}/man*/*
|
||||||
%attr(0644,root,root) %{_mandir}/man*/*
|
|
||||||
%{_unitdir}/iprinit.service
|
%{_unitdir}/iprinit.service
|
||||||
%{_unitdir}/iprdump.service
|
%{_unitdir}/iprdump.service
|
||||||
%{_unitdir}/iprupdate.service
|
%{_unitdir}/iprupdate.service
|
||||||
%{_unitdir}/iprutils.target
|
%{_unitdir}/iprutils.target
|
||||||
%{_udevrulesdir}/90-iprutils.rules
|
%{_udevrulesdir}/90-iprutils.rules
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 11 2018 Dan Horák <dan[at]danny.cz> - 2.4.16.1-1
|
||||||
|
- rebased to 2.4.16.1
|
||||||
|
- spec file cleanup
|
||||||
|
|
||||||
* Thu Mar 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.4.15.1-4
|
* Thu Mar 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.4.15.1-4
|
||||||
- Update Python 2 dependency declarations to new packaging standards
|
- Update Python 2 dependency declarations to new packaging standards
|
||||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (iprutils-2.4.15.1.tar.gz) = 34987356c989ccfcb462153eb7d3792c770a04f4ef14406073dfec4895598e5e7968050e17d2b6d057659c2c57be68406911d9abbc1b820980685ed27ea83dad
|
SHA512 (iprutils-2.4.16.1.tar.gz) = 9eb69689bfd6821a69f8cfb550f007a2b5359f5d38652d61c74aff04e2b7acf1c7e8d32492dc3e6da0876de5d2338eba36100f4b2ded04e932d1ddf36ad9c171
|
||||||
|
Loading…
Reference in New Issue
Block a user