SHA256
1
0
forked from pool/drbd

Accepting request 729689 from home:jengelh:branches:network:ha-clustering:Factory

- Restore higher summary specifity.
- Drop old-age %clean, %defattr.

OBS-URL: https://build.opensuse.org/request/show/729689
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/drbd?expand=0&rev=92
This commit is contained in:
nick wang 2019-09-10 07:54:08 +00:00 committed by Git OBS Bridge
parent 6e60e2a4f7
commit 6ef3f2b5b0
2 changed files with 13 additions and 12 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 10 07:45:05 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Restore higher summary specifity.
- Drop old-age %clean, %defattr.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 9 07:09:37 UTC 2019 - nick wang <nwang@suse.com> Mon Sep 9 07:09:37 UTC 2019 - nick wang <nwang@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package drbd # spec file for package drbd
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
# needssslcertforbuild # needssslcertforbuild
@ -26,10 +26,10 @@
Name: drbd Name: drbd
Version: 9.0.19~1+git.8e93a5d9 Version: 9.0.19~1+git.8e93a5d9
Release: 0 Release: 0
Summary: Driver for Linux Summary: Linux driver for the "Distributed Replicated Block Device"
License: GPL-2.0+ License: GPL-2.0-or-later
Group: Productivity/Clustering/HA Group: Productivity/Clustering/HA
Url: http://drbd.linbit.com/ URL: https://drbd.linbit.com/
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Source1: preamble Source1: preamble
#In kernel is: kernel/drivers/block/drbd/drbd.ko #In kernel is: kernel/drivers/block/drbd/drbd.ko
@ -41,12 +41,11 @@ BuildRequires: kernel-source
BuildRequires: kernel-syms BuildRequires: kernel-syms
BuildRequires: libelf-devel BuildRequires: libelf-devel
#https://github.com/openSUSE/rpmlint-checks/blob/master/KMPPolicyCheck.py #https://github.com/openSUSE/rpmlint-checks/blob/master/KMPPolicyCheck.py
BuildRequires: modutils
BuildRequires: coccinelle BuildRequires: coccinelle
BuildRequires: modutils
Requires: drbd-utils >= 9.2.0 Requires: drbd-utils >= 9.2.0
Supplements: drbd-utils >= 9.2.0 Supplements: drbd-utils >= 9.2.0
Obsoletes: drbd-kmp < %{version} Obsoletes: drbd-kmp < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExcludeArch: i586 s390 ExcludeArch: i586 s390
%kernel_module_package -n drbd -p %{_sourcedir}/preamble %kernel_module_package -n drbd -p %{_sourcedir}/preamble
%if 0%{?buildrt} == 1 %if 0%{?buildrt} == 1
@ -55,7 +54,7 @@ BuildRequires: kernel-syms-rt
%endif %endif
%description %description
Drbd is a distributed replicated block device. It mirrors a block DRBD is a distributed replicated block device. It mirrors a block
device over the network to another machine. Think of it as networked device over the network to another machine. Think of it as networked
raid 1. It is a building block for setting up clusters. raid 1. It is a building block for setting up clusters.
@ -109,11 +108,7 @@ mkdir -p %{buildroot}/%{_sbindir}
ln -s -f %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{name} ln -s -f %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{name}
rm -f drbd.conf rm -f drbd.conf
%clean
rm -rf %{buildroot}
%files %files
%defattr(-,root,root)
%doc COPYING %doc COPYING
%doc ChangeLog %doc ChangeLog
%{_sbindir}/rc%{name} %{_sbindir}/rc%{name}