Skip to content

Commit 57d783c

Browse files
committed
Minor fixes for release
1 parent 8b6f2a0 commit 57d783c

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
`docker run -v ./pkg/network-journal.spec:/root/rpmbuild/SPECS/network-journal.spec -v ./pkg:/root/rpmbuild/target -it network-journal/rpmbuild:latest /bin/bash`
99
1. Run the following commands inside the container while replacing `<version>` with the version to build (e.g. "0.1.0"):
1010
```bash
11-
wget http://github.com/nerou42/network-journal/archive/v<version>/network-journal-<version>.tar.gz -O SOURCES/network-journal-<version>.tar.gz
11+
wget http://github.com/nerou42/network-journal/archive/network-journal-<version>/network-journal-<version>.tar.gz -O SOURCES/network-journal-<version>.tar.gz
1212
rpmbuild -bb SPECS/network-journal.spec
1313
mv RPMS/x86_64/network-journal-<version>-1.el9.x86_64.rpm target/
1414
```

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "network-journal"
3-
version = "0.5.1"
3+
version = "0.5.2"
44
authors = ["nerou GmbH"]
55
description = "Collect network reports (like CSP, NEL, DMARC etc.) and print them to file"
66
repository = "https://github.com/nerou42/network-journal"

pkg/network-journal.spec

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ Summary: Webserver and IMAP client to collect standardized browser and ma
99
License: GPL-3.0-or-later
1010
URL: https://github.com/nerou42/network-journal
1111

12-
Source0: https://github.com/nerou42/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
12+
Source0: https://github.com/nerou42/%{name}/archive/%{name}-%{version}/%{name}-%{version}.tar.gz
1313

1414
BuildArch: x86_64
1515
BuildRequires: systemd-rpm-macros
16-
BuildRequires: gcc, openssl-devel
17-
BuildRequires: (cargo or /root/.cargo/bin/cargo)
16+
BuildRequires: gcc, openssl-devel, cargo
1817

1918

2019
%description
@@ -23,7 +22,7 @@ All collected data is logged to a file that can be processed with, e.g. an ELK-s
2322

2423

2524
%prep
26-
%setup
25+
%setup -n %{name}-%{name}-%{version}
2726
cargo fetch --locked -q
2827

2928

@@ -76,6 +75,10 @@ cargo test -r
7675

7776

7877
%changelog
78+
* Sun Oct 26 2025 nerou GmbH <info@nerou.de>
79+
- Add cargo as build dependency
80+
- Fix license notation's SPDX compatibility
81+
7982
* Wed Sep 24 2025 nerou GmbH <info@nerou.de>
8083
- Add configuration reference file
8184
- Fix compatibility issues

pkg/rpmbuild.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
FROM almalinux:9-minimal
22

33
# microdnf install -y almalinux-release-devel && microdnf install -y python3-rust2rpm
4+
# (curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y)
45
RUN rpm -e --nodeps coreutils-single && \
56
microdnf upgrade -y && \
6-
microdnf install -y wget tar git chkconfig coreutils diffutils patch gcc openssl-devel && \
7+
microdnf install -y wget tar git chkconfig coreutils diffutils patch gcc openssl-devel cargo && \
78
microdnf install -y rpm-build rpm-devel rpmlint rpmdevtools && \
8-
(curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y) && \
99
microdnf clean all && rm -rf /var/cache/yum && \
1010
mkdir /root/rpmbuild && cd /root/rpmbuild && \
1111
rpmdev-setuptree

0 commit comments

Comments
 (0)