Skip to content

Commit bad1563

Browse files
committed
Use Packit for releases
PRs will be automatically generated for Fedora releases. Signed-off-by: Stephen Gallagher <[email protected]>
1 parent aa993d0 commit bad1563

File tree

3 files changed

+161
-281
lines changed

3 files changed

+161
-281
lines changed

.packit.yaml

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
1-
---
1+
# See the documentation for more information:
2+
# https://packit.dev/docs/configuration/
3+
24
specfile_path: packaging/fedora/sscg.spec
35

4-
patch_generation_ignore_paths:
5-
- "packaging/"
6-
- ".ci/"
7-
- ".github/"
8-
- ".subprojects/"
6+
sync_changelog: true
7+
8+
upstream_package_name: sscg
9+
upstream_tag_template: sscg-{version}
10+
archive_root_dir_template: "{upstream_pkg_name}-{upstream_pkg_name}-{version}"
911

10-
upstream_tag_template: "sscg-{version}"
12+
downstream_package_name: sscg
1113

1214
notifications:
1315
pull_request:
14-
successful_build: false
15-
16-
synced_files:
17-
- .packit.yaml
18-
- src: packaging/fedora/*
19-
dest: .
20-
21-
sync_changelog: true
16+
successful_build: true
2217

2318

2419
jobs:
@@ -29,19 +24,15 @@ jobs:
2924
- fedora-all
3025
- centos-stream-8
3126
- epel-8
32-
33-
3427
- job: tests
3528
trigger: pull_request
3629
metadata:
3730
targets:
3831
- fedora-all
3932
- centos-stream-8
4033
- epel-8
41-
4234
- job: propose_downstream
4335
trigger: release
4436
metadata:
4537
dist_git_branches:
4638
- fedora-all
47-
- epel-8

packaging/fedora/sscg.spec

Lines changed: 6 additions & 215 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@
99
%{!?meson_test: %global meson_test %{__meson} test -C %{_vpath_builddir} --num-processes %{_smp_build_ncpus} --print-errorlogs}
1010

1111
Name: sscg
12-
Version: 2.6.2
13-
Release: 5%{?dist}
12+
Version: 0
13+
Release: %autorelease
1414
Summary: Simple SSL certificate generator
1515

1616
License: GPLv3+ with exceptions
1717
URL: https://%{provider_prefix}
18-
Source0: sscg-2.6.2.tar.gz
19-
18+
Source0: https://%{provider_prefix}/archive/refs/tags/%{repo}-%{version}.tar.gz
2019
BuildRequires: gcc
2120
BuildRequires: libtalloc-devel
2221
BuildRequires: openssl-devel
@@ -36,7 +35,7 @@ up a full PKI environment and without exposing the machine to a risk of
3635
false signatures from the service certificate.
3736

3837
%prep
39-
%autosetup -p1 -n sscg-2.6.2
38+
%autosetup -p1 -n %{name}-%{name}-%{version}
4039

4140

4241
%build
@@ -47,7 +46,7 @@ false signatures from the service certificate.
4746
%meson_install
4847

4948
%check
50-
%meson_test
49+
%meson_test -t 10
5150

5251
%files
5352
%license COPYING
@@ -56,212 +55,4 @@ false signatures from the service certificate.
5655
%{_mandir}/man8/%{name}.8*
5756

5857
%changelog
59-
* Wed Mar 17 2021 Stephen Gallagher <[email protected]> - 2.6.2-5
60-
- Fixing incorrect license declaration
61-
62-
* Wed Mar 17 2021 Stephen Gallagher <[email protected]> - 2.6.2-4
63-
- Updating to rebuild against the latest glibc
64-
65-
* Wed Jan 27 2021 Fedora Release Engineering <[email protected]> - 2.6.2-3
66-
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
67-
68-
* Wed Jul 29 2020 Fedora Release Engineering <[email protected]> - 2.6.2-2
69-
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
70-
71-
* Tue Jun 23 2020 Stephen Gallagher <[email protected]> - 2.6.2-1
72-
- Update to 2.6.2
73-
- Handle very short and very long passphrases properly (fixes rhbz#1850183)
74-
- Drop upstreamed patch
75-
76-
* Thu Apr 30 2020 Stephen Gallagher <[email protected]> - 2.6.1-4
77-
- Rebuild with corrected ELN macro definitions
78-
79-
* Thu Apr 30 2020 Stephen Gallagher <[email protected]> - 2.6.1-3
80-
- Don't bother running clang-format in the RPM build
81-
- Lengthen the test timeout so ARM tests pass
82-
83-
* Fri Jan 31 2020 Fedora Release Engineering <[email protected]> - 2.6.1-2
84-
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
85-
86-
* Thu Jan 09 2020 Stephen Gallagher <[email protected]> - 2.6.1-1
87-
- Bugfixes from upstream
88-
89-
* Fri Dec 13 2019 Stephen Gallagher <[email protected]> - 2.6.0-2
90-
- Fix incorrect help description for --client-key-file
91-
92-
* Fri Dec 13 2019 Stephen Gallagher <[email protected]> - 2.6.0-1
93-
- Update to 2.6.0
94-
- Can now generate an empty CRL file.
95-
- Can now create and store a Diffie-Hellman parameters (dhparams) file.
96-
- Support for setting a password on private keys.
97-
- Support for generating a client authentication certificate and key.
98-
- Better support for OpenSSL 1.0
99-
100-
* Sat Jul 27 2019 Fedora Release Engineering <[email protected]> - 2.5.1-3
101-
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
102-
103-
* Sun Feb 03 2019 Fedora Release Engineering <[email protected]> - 2.5.1-2
104-
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
105-
106-
* Wed Nov 28 2018 Stephen Gallagher <[email protected]> - 2.5.1-1
107-
- Update to 2.5.1
108-
- Fixes discovered by automated testing.
109-
110-
* Wed Nov 28 2018 Stephen Gallagher <[email protected]> - 2.5.0-1
111-
- Update to 2.5.0
112-
- Auto-detect the hash algorithm to use by default.
113-
114-
* Tue Nov 27 2018 Stephen Gallagher <[email protected]> - 2.4.0-1
115-
- Update to 2.4.0
116-
- Autodetect the minimum key strength from the system security level.
117-
- Disallow setting a key strength below the system minimum.
118-
119-
- Drop upstreamed patches
120-
121-
* Mon Sep 17 2018 Stephen Gallagher <[email protected]> - 2.3.3-4
122-
- Add a manpage.
123-
124-
* Sat Jul 14 2018 Fedora Release Engineering <[email protected]> - 2.3.3-3
125-
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
126-
127-
* Fri Feb 09 2018 Fedora Release Engineering <[email protected]> - 2.3.3-2
128-
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
129-
130-
* Fri Feb 02 2018 Stephen Gallagher <[email protected]> - 2.3.3-1
131-
- Update to 2.3.3
132-
- Do not overwrite destination files without --force
133-
134-
* Thu Jan 25 2018 Stephen Gallagher <[email protected]> - 2.3.2-1
135-
- Update to 2.3.2
136-
- Properly support hostnames up to 64 characters
137-
- Resolves: rhbz#1535537
138-
139-
* Tue Jan 02 2018 Stephen Gallagher <[email protected]> - 2.3.1-2
140-
- Skip tests on 32-bit ARM for now
141-
142-
* Tue Jan 02 2018 Stephen Gallagher <[email protected]> - 2.3.1-1
143-
- Update to 2.3.1
144-
- Bundle popt 1.16 on older releases like EPEL.
145-
146-
* Mon Dec 18 2017 Stephen Gallagher <[email protected]> - 2.3.0-1
147-
- Update to 2.3.0
148-
- Switch to meson build system
149-
- Add support for non-DNS subjectAlternativeName values (issue #4)
150-
151-
* Thu Sep 21 2017 Stephen Gallagher <[email protected]> - 2.2.0-1
152-
- Reorder combined PEM file
153-
- Resolves: RHBZ#1494208
154-
155-
* Wed Sep 20 2017 Stephen Gallagher <[email protected]> - 2.1.0-1
156-
- Add --email argument for setting emailAddress in the issuer
157-
158-
* Thu Aug 03 2017 Fedora Release Engineering <[email protected]> - 2.0.4-4
159-
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
160-
161-
* Thu Jul 27 2017 Fedora Release Engineering <[email protected]> - 2.0.4-3
162-
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
163-
164-
* Mon Apr 03 2017 Stephen Gallagher <[email protected]> - 2.0.4-2
165-
- Bump release to perform taskotron tests
166-
167-
* Tue Mar 21 2017 Stephen Gallagher <[email protected]> - 2.0.4-1
168-
- Update to 2.0.4
169-
- Addresses a potential race-condition when the key and certificate share the
170-
same file.
171-
172-
* Wed Mar 08 2017 Stephen Gallagher <[email protected]> - 2.0.3-1
173-
- Update to 2.0.3
174-
- Adds support for setting the file mode on the output certificates
175-
and keys.
176-
177-
* Fri Mar 03 2017 Stephen Gallagher <[email protected]> - 2.0.2-1
178-
- Update to 2.0.2
179-
- Always run with umask(077)
180-
181-
* Fri Mar 03 2017 Stephen Gallagher <[email protected]> - 2.0.1-1
182-
- Update to 2.0.1
183-
- Fix an issue with passing certificate lifetime explicitly
184-
185-
* Thu Feb 16 2017 Stephen Gallagher <[email protected]> - 2.0.0-1
186-
- Update to 2.0.0
187-
188-
* Thu Feb 16 2017 Stephen Gallagher <[email protected]> - 1.1.0-6
189-
- Exclude PPC64 from the build since it doesn't support linking to OpenSSL
190-
191-
* Sat Feb 11 2017 Fedora Release Engineering <[email protected]> - 1.1.0-5
192-
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
193-
194-
* Wed Nov 23 2016 Stephen Gallagher <[email protected]> - 1.1.0-4
195-
- Use compat-openssl10-devel on F26+
196-
197-
* Thu Jul 21 2016 Fedora Release Engineering <[email protected]> - 1.1.0-3
198-
- https://fedoraproject.org/wiki/Changes/golang1.7
199-
200-
* Tue May 31 2016 Stephen Gallagher <[email protected]> - 1.1.0-2
201-
- Debundle spacelog
202-
203-
* Wed May 25 2016 Stephen Gallagher <[email protected]> - 1.1.0-1
204-
- Update to 1.1.0
205-
- Add support for signing service keys with an existing CA
206-
207-
* Wed May 25 2016 Stephen Gallagher <[email protected]> - 1.0.4-1
208-
- Add support for exporting the CA private key
209-
- Fix incorrect output from -version
210-
- Add README.md
211-
212-
* Tue May 24 2016 Stephen Gallagher <[email protected]> - 1.0.3-1
213-
- Only sign certificates after all extensions have been added
214-
215-
* Mon May 23 2016 Stephen Gallagher <[email protected]> - 1.0.2-1
216-
- Generate x509v3 certificates
217-
218-
* Mon May 23 2016 Stephen Gallagher <[email protected]> - 1.0.1-1
219-
- Fix issue with temporary file creation
220-
221-
* Mon May 23 2016 Stephen Gallagher <[email protected]> - 1.0.0-1
222-
- New upstream release 1.0.0
223-
- Rewritten in Go
224-
- Runtime depends only on OpenSSL, no more Python
225-
- Support for writing certificate and key in a single file
226-
227-
* Wed May 18 2016 Stephen Gallagher <[email protected]> - 0.4.1-4
228-
- Add requirement on python-setuptools
229-
230-
* Fri Feb 05 2016 Fedora Release Engineering <[email protected]> - 0.4.1-3
231-
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
232-
233-
* Tue Nov 10 2015 Fedora Release Engineering <[email protected]> - 0.4.1-2
234-
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
235-
236-
* Fri Jun 19 2015 Fedora Release Engineering <[email protected]> - 0.4.1-1
237-
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
238-
239-
* Mon Mar 30 2015 Stephen Gallagher <[email protected]> 0.4.1-1
240-
- Change default CA location to match service certificate
241-
- Improve error handling
242-
243-
* Tue Mar 24 2015 Stephen Gallagher <[email protected]> 0.4.0-1
244-
- Spec file cleanups
245-
- PEP8 Cleanups
246-
- Make location arguments optional
247-
248-
* Mon Mar 23 2015 Stephen Gallagher <[email protected]> 0.3.0-1
249-
- Rename to sscg
250-
- Only build with default python interpreter
251-
252-
* Tue Mar 17 2015 Stephen Gallagher <[email protected]> 0.2.1-1
253-
- Include the LICENSE file in the tarball
254-
255-
* Tue Mar 17 2015 Stephen Gallagher <[email protected]> 0.2-2
256-
- Include the license in the build RPMs
257-
258-
* Tue Mar 17 2015 Stephen Gallagher <[email protected]> 0.2-1
259-
- Add support for namedConstraints
260-
- Add support for subjectAltNames
261-
- Fix packaging issues from Fedora package review
262-
263-
* Mon Mar 16 2015 Stephen Gallagher <[email protected]> 0.1-2
264-
- Update BuildRequires
265-
266-
* Mon Mar 16 2015 Stephen Gallagher <[email protected]> 0.1-1
267-
- First packaging
58+
%autochangelog

0 commit comments

Comments
 (0)