Skip to content

Commit

Permalink
Initialize as a source-git repository
Browse files Browse the repository at this point in the history
From-dist-git-commit: fbcc49819f3e4303ceea04d79f041b0cb7ce2fa4
  • Loading branch information
sgallagher committed May 18, 2023
1 parent d195824 commit a1fd873
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 11 deletions.
1 change: 1 addition & 0 deletions .distro/.fmf/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
1 change: 1 addition & 0 deletions .distro/ci.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
resultsdb-testcase: separate
18 changes: 18 additions & 0 deletions .distro/gating.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
--- !Policy
product_versions:
- fedora-*
decision_contexts: [bodhi_update_push_testing]
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier2-public.functional}

#gating rawhide
--- !Policy
product_versions:
- fedora-*
decision_contexts: [bodhi_update_push_stable]
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier2-public.functional}
7 changes: 7 additions & 0 deletions .distro/plans/tier1-public.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
summary: Public (Fedora) Tier1 beakerlib tests
discover:
how: fmf
url: https://src.fedoraproject.org/tests/sscg.git
filter: 'tier: 1'
execute:
how: tmt
7 changes: 7 additions & 0 deletions .distro/plans/tier2-public.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
summary: Public (Fedora) Tier2 beakerlib tests
discover:
how: fmf
url: https://src.fedoraproject.org/tests/sscg.git
filter: 'tier: 2'
execute:
how: tmt
11 changes: 5 additions & 6 deletions .distro/source-git.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
upstream_project_url: [email protected]:sgallagher/sscg.git
upstream_ref: sscg-3.0.2
upstream_ref: sscg-3.0.4
downstream_package_name: sscg
specfile_path: .distro/sscg.spec
patch_generation_ignore_paths:
- .distro
- .github
- .packit.yaml
- packaging
- release.sh
patch_generation_patch_id_digits: 1
sync_changelog: true
synced_files:
files_to_sync:
- src: .distro/
dest: .
delete: true
Expand All @@ -19,3 +15,6 @@ synced_files:
- protect sources
- exclude source-git.yaml
- exclude .gitignore
sources:
- path: sscg-3.0.3.tar.gz
url: https://src.fedoraproject.org/repo/pkgs/rpms/sscg/sscg-3.0.3.tar.gz/sha512/5820a44deaabf67296bf218485a22a5b58fcf48c6c33e2617946d0edaded3554f1acb2fb170eb189cdf4f8a61bb29bcb0385dc54996f7d0acdc8f45048b8e081/sscg-3.0.3.tar.gz
10 changes: 5 additions & 5 deletions .distro/sscg.spec
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
%{!?meson_test: %global meson_test %{__meson} test -C %{_vpath_builddir} --num-processes %{_smp_build_ncpus} --print-errorlogs}

Name: sscg
Version: 3.0.4
Release: 1.20230517132839514780.main.4.gba826ee
Version: 3.0.3
Release: %autorelease
Summary: Simple SSL certificate generator

License: GPL-3.0-or-later WITH OpenSSL-Exception
License: GPLv3+ with exceptions
URL: https://%{provider_prefix}
Source0: sscg-3.0.4.tar.gz
Source0: https://%{provider_prefix}/archive/refs/tags/%{repo}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: libtalloc-devel
BuildRequires: openssl
Expand All @@ -36,7 +36,7 @@ up a full PKI environment and without exposing the machine to a risk of
false signatures from the service certificate.

%prep
%autosetup -p1 -n sscg-3.0.4
%autosetup -p1 -n %{name}-%{name}-%{version}


%build
Expand Down

0 comments on commit a1fd873

Please sign in to comment.