- Fix some rpmlint warnings
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=5
This commit is contained in:
parent
d59465cf9e
commit
83dabbae74
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 19 18:04:13 MST 2012 - jfehlig@suse.com
|
||||||
|
|
||||||
|
- Fix some rpmlint warnings
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 19 17:05:58 MST 2012 - jfehlig@suse.com
|
Thu Jan 19 17:05:58 MST 2012 - jfehlig@suse.com
|
||||||
|
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
# Required-Stop: $syslog
|
# Required-Stop: $syslog
|
||||||
# Should-Start:
|
# Should-Start:
|
||||||
# Should-Stop:
|
# Should-Stop:
|
||||||
# Default-Start: 2 3 4 5
|
# Default-Start: 3 5
|
||||||
# Default-Stop: 0 1 6
|
# Default-Stop: 0 1 2 6
|
||||||
# Short-Description: starts and stops sanlock daemon
|
# Short-Description: starts and stops sanlock daemon
|
||||||
# Description: starts and stops sanlock daemon
|
# Description: starts and stops sanlock daemon
|
||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
|
12
sanlock.spec
12
sanlock.spec
@ -26,7 +26,7 @@ Version: 1.9
|
|||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A shared disk lock manager
|
Summary: A shared disk lock manager
|
||||||
|
|
||||||
Group: System Environment/Base
|
Group: System/Base
|
||||||
License: GPLv2, GPLv2+, LGPLv2+
|
License: GPLv2, GPLv2+, LGPLv2+
|
||||||
URL: https://fedorahosted.org/sanlock/
|
URL: https://fedorahosted.org/sanlock/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
@ -77,8 +77,10 @@ make -C python \
|
|||||||
install LIBDIR=%{_libdir} \
|
install LIBDIR=%{_libdir} \
|
||||||
DESTDIR=$RPM_BUILD_ROOT PREFIX=%_prefix
|
DESTDIR=$RPM_BUILD_ROOT PREFIX=%_prefix
|
||||||
install -D -m 755 %SOURCE1 $RPM_BUILD_ROOT/etc/init.d/sanlock
|
install -D -m 755 %SOURCE1 $RPM_BUILD_ROOT/etc/init.d/sanlock
|
||||||
|
ln -s /etc/init.d/sanlock $RPM_BUILD_ROOT%{_sbindir}/rcsanlock
|
||||||
install -D -m 755 %SOURCE1 $RPM_BUILD_ROOT/%{_localstatedir}/adm/fillup-templates/sysconfig.sanlock
|
install -D -m 755 %SOURCE1 $RPM_BUILD_ROOT/%{_localstatedir}/adm/fillup-templates/sysconfig.sanlock
|
||||||
install -D -m 755 %SOURCE2 $RPM_BUILD_ROOT/etc/init.d/wdmd
|
install -D -m 755 %SOURCE2 $RPM_BUILD_ROOT/etc/init.d/wdmd
|
||||||
|
ln -s /etc/init.d/wdmd $RPM_BUILD_ROOT%{_sbindir}/rcwdmd
|
||||||
%if %{with_systemd}
|
%if %{with_systemd}
|
||||||
install -D -m 755 init.d/sanlock.service $RPM_BUILD_ROOT/%{_unitdir}/sanlock.service
|
install -D -m 755 init.d/sanlock.service $RPM_BUILD_ROOT/%{_unitdir}/sanlock.service
|
||||||
install -D -m 755 init.d/wdmd.service $RPM_BUILD_ROOT/%{_unitdir}/wdmd.service
|
install -D -m 755 init.d/wdmd.service $RPM_BUILD_ROOT/%{_unitdir}/wdmd.service
|
||||||
@ -130,8 +132,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
/etc/init.d/sanlock
|
/etc/init.d/sanlock
|
||||||
|
%{_sbindir}/rcsanlock
|
||||||
%{_localstatedir}/adm/fillup-templates/sysconfig.sanlock
|
%{_localstatedir}/adm/fillup-templates/sysconfig.sanlock
|
||||||
/etc/init.d/wdmd
|
/etc/init.d/wdmd
|
||||||
|
%{_sbindir}/rcwdmd
|
||||||
%if %{with_systemd}
|
%if %{with_systemd}
|
||||||
%{_unitdir}/sanlock.service
|
%{_unitdir}/sanlock.service
|
||||||
%{_unitdir}/wdmd.service
|
%{_unitdir}/wdmd.service
|
||||||
@ -144,7 +148,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%package -n libsanlock1
|
%package -n libsanlock1
|
||||||
Provides: sanlock-lib
|
Provides: sanlock-lib
|
||||||
Summary: A shared disk lock manager library
|
Summary: A shared disk lock manager library
|
||||||
Group: System Environment/Libraries
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
%description -n libsanlock1
|
%description -n libsanlock1
|
||||||
The %{name}-lib package contains the runtime libraries for sanlock,
|
The %{name}-lib package contains the runtime libraries for sanlock,
|
||||||
@ -165,7 +169,7 @@ access to the shared disks.
|
|||||||
%package -n python-%name
|
%package -n python-%name
|
||||||
Provides: sanlock-python
|
Provides: sanlock-python
|
||||||
Summary: Python bindings for the sanlock library
|
Summary: Python bindings for the sanlock library
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries/Python
|
||||||
Requires: %{name}-lib = %{version}-%{release}
|
Requires: %{name}-lib = %{version}-%{release}
|
||||||
|
|
||||||
%description -n python-%name
|
%description -n python-%name
|
||||||
@ -180,7 +184,7 @@ supplied by the sanlock library.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{name}-lib = %{version}-%{release}
|
Requires: %{name}-lib = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
### BEGIN INIT INFO
|
### BEGIN INIT INFO
|
||||||
# Provides: wdmd
|
# Provides: wdmd
|
||||||
# Required-Start: $time $syslog
|
# Required-Start: $time $syslog $remote_fs
|
||||||
# Required-Stop: $syslog
|
# Required-Stop: $syslog
|
||||||
# Should-Start:
|
# Should-Start:
|
||||||
# Should-Stop:
|
# Should-Stop:
|
||||||
# Default-Start: 2 3 4 5
|
# Default-Start: 3 5
|
||||||
# Default-Stop: 0 1 6
|
# Default-Stop: 0 1 2 6
|
||||||
# Short-Description: starts and stops wdmd daemon
|
# Short-Description: starts and stops wdmd daemon
|
||||||
# Description: starts and stops wdmd daemon
|
# Description: starts and stops wdmd daemon
|
||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
|
Loading…
Reference in New Issue
Block a user