Accepting request 868370 from home:jengelh:branches:server:dns
- Trim marketing wording from description. - Drop old rpm constructs. OBS-URL: https://build.opensuse.org/request/show/868370 OBS-URL: https://build.opensuse.org/package/show/server:dns/knot?expand=0&rev=2
This commit is contained in:
parent
f349915e31
commit
7a008e197f
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 1 13:19:02 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Trim marketing wording from description.
|
||||||
|
- Drop old rpm constructs.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 25 22:30:39 UTC 2021 - Michal Hrusecky <michal.hrusecky@opensuse.org>
|
Mon Jan 25 22:30:39 UTC 2021 - Michal Hrusecky <michal.hrusecky@opensuse.org>
|
||||||
|
|
||||||
|
21
knot.spec
21
knot.spec
@ -91,7 +91,7 @@ BuildRequires: systemd-devel
|
|||||||
Obsoletes: knot2 < %{version}
|
Obsoletes: knot2 < %{version}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Knot DNS is a high-performance authoritative DNS server implementation.
|
Knot DNS is an implementation of an authoritative DNS server.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
@ -99,7 +99,7 @@ Requires: knot = %{version}
|
|||||||
#
|
#
|
||||||
Summary: Development files for the knot libraries
|
Summary: Development files for the knot libraries
|
||||||
%description devel
|
%description devel
|
||||||
Knot DNS is a high-performance authoritative DNS server implementation.
|
Knot DNS is an implementation of an authoritative DNS server.
|
||||||
|
|
||||||
Development files for knot.
|
Development files for knot.
|
||||||
|
|
||||||
@ -108,7 +108,7 @@ Group: System/Libraries
|
|||||||
#
|
#
|
||||||
Summary: Shared library from knot: libdnssec
|
Summary: Shared library from knot: libdnssec
|
||||||
%description -n %{libdnssec}
|
%description -n %{libdnssec}
|
||||||
Knot DNS is a high-performance authoritative DNS server implementation.
|
Knot DNS is an implementation of an authoritative DNS server.
|
||||||
|
|
||||||
This package holds the shared library libdnssec from knot.
|
This package holds the shared library libdnssec from knot.
|
||||||
|
|
||||||
@ -117,7 +117,7 @@ Group: System/Libraries
|
|||||||
#
|
#
|
||||||
Summary: Shared library from knot: libknot
|
Summary: Shared library from knot: libknot
|
||||||
%description -n %{libknot}
|
%description -n %{libknot}
|
||||||
Knot DNS is a high-performance authoritative DNS server implementation.
|
Knot DNS is an implementation of an authoritative DNS server.
|
||||||
|
|
||||||
This package holds the shared library libknot from knot.
|
This package holds the shared library libknot from knot.
|
||||||
|
|
||||||
@ -126,18 +126,16 @@ Group: System/Libraries
|
|||||||
#
|
#
|
||||||
Summary: Shared library from knot 2: libzscanner
|
Summary: Shared library from knot 2: libzscanner
|
||||||
%description -n %{libzscanner}
|
%description -n %{libzscanner}
|
||||||
Knot DNS is a high-performance authoritative DNS server implementation.
|
Knot DNS is an implementation of an authoritative DNS server.
|
||||||
|
|
||||||
This package holds the shared library libzscanner from knot.
|
This package holds the shared library libzscanner from knot.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--sysconfdir=%{_sysconfdir} \
|
|
||||||
--libexecdir=%{_libexecdir}/%{pkg_name} \
|
--libexecdir=%{_libexecdir}/%{pkg_name} \
|
||||||
--localstatedir=%{_localstatedir} \
|
|
||||||
--includedir=%{_includedir}/knot/ \
|
--includedir=%{_includedir}/knot/ \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-recvmmsg=yes \
|
--enable-recvmmsg=yes \
|
||||||
@ -168,7 +166,7 @@ This package holds the shared library libzscanner from knot.
|
|||||||
--with-module-whoami=shared \
|
--with-module-whoami=shared \
|
||||||
--with-bash-completions=/etc/bash_completion.d \
|
--with-bash-completions=/etc/bash_completion.d \
|
||||||
--disable-silent-rules
|
--disable-silent-rules
|
||||||
make %{?_smp_mflags} STRIP="/bin/true"
|
%make_build STRIP="/bin/true"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags} STRIP="/bin/true"
|
make DESTDIR=%{buildroot} install %{?_smp_mflags} STRIP="/bin/true"
|
||||||
@ -229,7 +227,6 @@ fi
|
|||||||
%postun -n %{libzscanner} -p /sbin/ldconfig
|
%postun -n %{libzscanner} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %attr(750,root,root) %{_sysconfdir}/%{pkg_name}
|
%dir %attr(750,root,root) %{_sysconfdir}/%{pkg_name}
|
||||||
%config(noreplace) %{_sysconfdir}/%{pkg_name}/%{pkg_name}.conf
|
%config(noreplace) %{_sysconfdir}/%{pkg_name}/%{pkg_name}.conf
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
@ -245,19 +242,15 @@ fi
|
|||||||
%ghost %dir %(751,knot,knot) /run/knot
|
%ghost %dir %(751,knot,knot) /run/knot
|
||||||
|
|
||||||
%files -n %{libdnssec}
|
%files -n %{libdnssec}
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libdnssec.so.*
|
%{_libdir}/libdnssec.so.*
|
||||||
|
|
||||||
%files -n %{libknot}
|
%files -n %{libknot}
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libknot.so.*
|
%{_libdir}/libknot.so.*
|
||||||
|
|
||||||
%files -n %{libzscanner}
|
%files -n %{libzscanner}
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libzscanner.so.*
|
%{_libdir}/libzscanner.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_includedir}/knot/
|
%{_includedir}/knot/
|
||||||
%{_libdir}/libdnssec.so
|
%{_libdir}/libdnssec.so
|
||||||
%{_libdir}/libknot.so
|
%{_libdir}/libknot.so
|
||||||
|
Loading…
Reference in New Issue
Block a user