make it possible again to copy-and paste part of the DL URL
use modern macros OBS-URL: https://build.opensuse.org/package/show/network:ldap/ding-libs?expand=0&rev=42
This commit is contained in:
parent
3d32755d72
commit
a73c0d9d25
@ -30,10 +30,10 @@ Release: 0
|
||||
Summary: "Ding is not GLib" assorted utility libraries
|
||||
License: GPL-3.0-or-later AND LGPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/SSSD/%name
|
||||
URL: https://github.com/SSSD/ding-libs
|
||||
|
||||
Source: %URL/releases/download/%version/%name-%version.tar.gz
|
||||
Source2: %URL/releases/download/%version/%name-%version.tar.gz.asc
|
||||
Source: https://github.com/SSSD/ding-libs/releases/download/%version/%name-%version.tar.gz
|
||||
Source2: https://github.com/SSSD/ding-libs/releases/download/%version/%name-%version.tar.gz.asc
|
||||
Source3: %name.keyring
|
||||
Source4: baselibs.conf
|
||||
Patch1: 0001-increase-ini-max-value-length.patch
|
||||
@ -183,19 +183,19 @@ A dynamically-growing, reference-counted array
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags} all docs
|
||||
%make_build all docs
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} check
|
||||
%make_build check
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %buildroot -type f -name "*.la" -delete -print
|
||||
rm -fv "%buildroot/%_libdir"/*.la
|
||||
|
||||
# Remove the example files from the output directory
|
||||
# We will copy them directly from the source directory
|
||||
# for packaging
|
||||
rm -f \
|
||||
rm -fv \
|
||||
"%buildroot/%_datadir/doc/ding-libs"/README.* \
|
||||
"%buildroot/%_datadir/doc/ding-libs/examples/dhash_example.c" \
|
||||
"%buildroot/%_datadir/doc/ding-libs/examples/dhash_test.c"
|
||||
|
Loading…
Reference in New Issue
Block a user