소스 검색

Make changes for a Fedora RPM

This change adds an RPM file and makes some
minor modifications to the build in order to create
an RPM file which passed the Fedora review process.

For this spec file to work there has to be a tag named
`open62541-<version>`, e.g. `open62541-0.2`. However this
can be locally emulated by providing a sources file of the
same name, e.g. `open62541-0.2.tar.gz`.

An easier option is to use `tito` for a local build and
execute `tito --test --rpm` in order to build a local version
of the latest git commit automatically.

Also see: https://bugzilla.redhat.com/show_bug.cgi?id=1487578
Jens Reimann 7 년 전
부모
커밋
101dab5933
3개의 변경된 파일9개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 0
      .tito/packages/.readme
  2. 5 0
      .tito/tito.props
  3. 1 1
      open62541.spec

+ 3 - 0
.tito/packages/.readme

@@ -0,0 +1,3 @@
+the .tito/packages directory contains metadata files
+named after their packages. Each file has the latest tagged
+version and the project's relative directory.

+ 5 - 0
.tito/tito.props

@@ -0,0 +1,5 @@
+[buildconfig]
+builder = tito.builder.Builder
+tagger = tito.tagger.VersionTagger
+changelog_do_not_remove_cherrypick = 0
+changelog_format = %s (%ae)

+ 1 - 1
open62541.spec

@@ -4,7 +4,7 @@ Release:  1%{?dist}
 Summary:  OPC UA implementation
 License:  MPLv2.0
 URL:      http://open62541.org
-Source0:  https://github.com/ctron/open62541/archive/%{name}-%{version}.tar.gz
+Source0:  https://github.com/open62541/open62541/archive/%{name}-%{version}.tar.gz
 
 BuildRequires: cmake, python