From 1f7d76ac4fbc245f2013ad60e5c28b8ace1b3d76 Mon Sep 17 00:00:00 2001 From: zachmann Date: Thu, 14 Nov 2019 14:24:47 +0100 Subject: [PATCH] fix rpm build --- Makefile | 2 +- rpm/oidc-agent.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1d612580..1ca8b0f0 100644 --- a/Makefile +++ b/Makefile @@ -583,7 +583,7 @@ rpm: srctar yum-builddep -y rpm/oidc-agent.spec @mkdir -p rpm/rpmbuild/SOURCES @#@cp -af src Makefile rpm/rpmbuild/SOURCES - @mv oidc-agent.tar rpm/rpmbuild/SOURCES/ + @mv oidc-agent.tar rpm/rpmbuild/SOURCES/oidc-agent-$(VERSION).tar rpmbuild --define "_topdir $(BASEDIR)/rpm/rpmbuild" --define "_version $(VERSION)" -bb rpm/oidc-agent.spec @#rpmbuild --define "_topdir $(BASEDIR)/rpm/rpmbuild" -bb rpm/liboidc-agent3.spec @mv rpm/rpmbuild/RPMS/*/*rpm .. diff --git a/rpm/oidc-agent.spec b/rpm/oidc-agent.spec index 8d6414e5..881760a2 100644 --- a/rpm/oidc-agent.spec +++ b/rpm/oidc-agent.spec @@ -5,7 +5,7 @@ Summary: Commandline tool for obtaining OpenID Connect access tokens on the comm Group: Misc License: MIT-License URL: https://github.com/indigo-dc/oidc-agent -Source0: %{name}-%{version}.tar.gz +Source0: %{name}-%{version}.tar BuildRequires: libcurl-devel >= 7.29 BuildRequires: libsodium-devel >= 1.0.14