Initial release
This commit is contained in:
commit
9b4570dabb
1
.cas.metadata
Normal file
1
.cas.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
6f4eb30b026cac0183364fd17dbf1155ef226c93 SOURCES/v1.0.3.tar.gz
|
25
SOURCES/0001-Remove-dev-from-cas-version.patch
Normal file
25
SOURCES/0001-Remove-dev-from-cas-version.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 00e8e30dd95010d736fcbd6f8c62a78d701108b6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Sofia Boldyreva <mooresofia81@gmail.com>
|
||||||
|
Date: Fri, 11 Nov 2022 14:50:05 +0100
|
||||||
|
Subject: [PATCH] Remove -dev from cas version
|
||||||
|
|
||||||
|
---
|
||||||
|
Makefile | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/Makefile b/Makefile
|
||||||
|
index 409b82f..b0ab4ca 100644
|
||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -24,7 +24,7 @@ SETUPEXE=codenotary_cas_v${VERSION}_setup.exe
|
||||||
|
|
||||||
|
.PHONY: cas
|
||||||
|
cas:
|
||||||
|
- $(GO) build -ldflags '${LDFLAGS} -X github.com/codenotary/cas/pkg/meta.version=v${VERSION}-dev' ./cmd/cas
|
||||||
|
+ $(GO) build -ldflags '${LDFLAGS} -X github.com/codenotary/cas/pkg/meta.version=v${VERSION}' ./cmd/cas
|
||||||
|
|
||||||
|
.PHONY: vendor
|
||||||
|
vendor:
|
||||||
|
--
|
||||||
|
2.31.1
|
||||||
|
|
50
SPECS/cas.spec
Normal file
50
SPECS/cas.spec
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
Name: cas
|
||||||
|
Version: 1.0.3
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Community Attestation Service
|
||||||
|
|
||||||
|
License: ASL 2.0
|
||||||
|
URL: https://github.com/codenotary/cas
|
||||||
|
Source0: https://github.com/codenotary/cas/archive/refs/tags/v%{version}.tar.gz
|
||||||
|
Patch0: 0001-Remove-dev-from-cas-version.patch
|
||||||
|
|
||||||
|
BuildRequires: make golang
|
||||||
|
BuildRequires: git-core
|
||||||
|
|
||||||
|
%description
|
||||||
|
Give any digital asset a meaningful, globally-unique, immutable identity
|
||||||
|
that is authentic, verifiable, traceable from anywhere.
|
||||||
|
|
||||||
|
# workaround for missing GCC builid
|
||||||
|
%global _missing_build_ids_terminate_build 0
|
||||||
|
%global debug_package %{nil}
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
make
|
||||||
|
make docs/cmd
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man1
|
||||||
|
install -p -m 755 %{name} %{buildroot}%{_bindir}
|
||||||
|
install -p -m 644 docs/man/*.1 %{buildroot}%{_mandir}/man1
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_bindir}/cas
|
||||||
|
%{_mandir}/man1/*.1.gz
|
||||||
|
|
||||||
|
%doc README.md CONTRIBUTING.md CHANGELOG.md
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Nov 11 2022 Sofia Boldyreva <mooresofia81@gmail.com> 1.0.3-1
|
||||||
|
- Updated to 1.0.3
|
||||||
|
|
||||||
|
* Fri Oct 29 2021 simone 1.0.0-1
|
||||||
|
- Initial version of the package
|
Loading…
Reference in New Issue
Block a user