|
@@ -5,7 +5,7 @@ Summary: Implementation of the XDG Base Directory Specifications
|
|
|
|
|
|
License: MIT
|
|
|
URL: https://github.com/devnev/libxdg-basedir
|
|
|
-Source0: https://github.com/devnev/%{name}/archive/%{name}-%{version}.tar.gz
|
|
|
+Source0: https://github.com/devnev/libxdg-basedir/archive/refs/tags/%{name}-%{version}.tar.gz
|
|
|
Patch0: libxdg-basedir-leak.patch
|
|
|
Patch1: libxdg-basedir-valgrind-libtool.patch
|
|
|
Patch2: libxdg-basedir-basedir-bounds-error.patch
|
|
@@ -44,7 +44,7 @@ developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
%prep
|
|
|
-%setup -q
|
|
|
+%setup -n %{name}-%{name}-%{version}
|
|
|
|
|
|
%patch0 -p1
|
|
|
%patch1 -p1
|
|
@@ -52,6 +52,7 @@ developing applications that use %{name}.
|
|
|
%patch3 -p1
|
|
|
|
|
|
%build
|
|
|
+./autogen.sh
|
|
|
%configure --disable-static
|
|
|
make %{?_smp_mflags}
|
|
|
make doxygen-run
|