Browse Source

[libxdg-basedir] Fix spec file

nsITobin 3 weeks ago
parent
commit
e3c4454843
2 changed files with 3 additions and 2 deletions
  1. BIN
      libxdg-basedir/libxdg-basedir-1.2.0-25.el8.src.rpm
  2. 3 2
      libxdg-basedir/package.spec

BIN
libxdg-basedir/libxdg-basedir-1.2.0-25.el8.src.rpm


+ 3 - 2
libxdg-basedir/package.spec

@@ -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