diff --git a/ding-libs.spec b/ding-libs.spec index c9407e4..1c97fe8 100644 --- a/ding-libs.spec +++ b/ding-libs.spec @@ -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,22 +183,22 @@ 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 \ - "%buildroot/%_datadir/doc/ding-libs"/README.* \ - "%buildroot/%_datadir/doc/ding-libs/examples/dhash_example.c" \ - "%buildroot/%_datadir/doc/ding-libs/examples/dhash_test.c" +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" # Remove document install script. RPM is handling this rm -f */doc/html/installdox