Compare commits

...

No commits in common. "c8" and "c9s" have entirely different histories.
c8 ... c9s

11 changed files with 67 additions and 7 deletions

View File

@ -1 +1 @@
06c55912eea39a994cfb116192d82c89212db172 SOURCES/fstrm-0.6.1.tar.gz
06c55912eea39a994cfb116192d82c89212db172 fstrm-0.6.1.tar.gz

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/fstrm-0.6.1.tar.gz
/fstrm-*.tar.gz

View File

@ -55,6 +55,7 @@ using fstrm library.
Summary: API documentation for fstrm library
BuildArch: noarch
BuildRequires: doxygen
BuildRequires: make
Requires: %{name} = %{version}-%{release}
%description doc
@ -114,17 +115,21 @@ make check
%doc %{_pkgdocdir}/html
%changelog
* Wed Jul 13 2022 Petr Menšík <pemensik@redhat.com> - 0.6.1-3
- Distribute also fstrm-utils (#2039889)
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com>
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 09 2021 Petr Menšík <pemensik@redhat.com> - 0.6.1-2
- Apply coverity fixes also to bundled libmy
* Thu Apr 08 2021 Petr Menšík <pemensik@redhat.com> - 0.6.1-1
- Update to 0.6.1 (#1922510)
- Update to 0.6.1 (#1946415)
* Wed Jan 06 2021 Petr Menšík <pemensik@redhat.com> - 0.6.0-3.1
- Rebuild for gating
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 0.6.0-5
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Sep 15 2020 Petr Menšík <pemensik@redhat.com> - 0.6.0-3
- Move command line tools to utils subpackage

8
gating.yaml Normal file
View File

@ -0,0 +1,8 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tedude.validation}

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (fstrm-0.6.1.tar.gz) = b8bc954d894a6967ab20975949d3b5ab142933bb14d51f0bd93d6f72e6a8963d06365626ae4df977b70b2678eb495ca6edaedbfd1b9149ac1ec9384df2b56806

View File

@ -0,0 +1,31 @@
#include <fstrm.h>
#include <stdio.h>
#include <stdlib.h>
int
main(void)
{
const char *file_path = "/tmp/output.fs";
struct fstrm_file_options *fopt;
struct fstrm_iothr *iothr;
struct fstrm_writer *writer;
fopt = fstrm_file_options_init();
fstrm_file_options_set_file_path(fopt, file_path);
writer = fstrm_file_writer_init(fopt, NULL);
if (!writer) {
fprintf(stderr, "Error: fstrm_file_writer_init() failed.\n");
exit(EXIT_FAILURE);
}
iothr = fstrm_iothr_init(NULL, &writer);
if (!iothr) {
fprintf(stderr, "Error: fstrm_iothr_init() failed.\n");
exit(EXIT_FAILURE);
}
fstrm_iothr_destroy(&iothr);
fstrm_file_options_destroy(&fopt);
return 0;
}

15
tests/tests.yml Normal file
View File

@ -0,0 +1,15 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
required_packages:
- fstrm-devel
- gcc
tests:
- pkg-config:
dir: .
run: pkg-config --modversion libfstrm
- build-sample-program:
dir: samples
run: gcc -Wall -Wextra $(pkg-config --cflags --libs libfstrm) -o /dev/null fstrm-sample-program.c