Commit Graph

197 Commits

Author SHA1 Message Date
Colin Walters
de81c34c0f Quote reference to configure macro
RPM expands macros in spec file comments.  Yes, it's an insane format.
It took me a while to understand why we were running `configure` twice.
2018-08-27 12:01:18 -04:00
Colin Walters
1f289f2410 spec: Require just toolset on el>7
This was the cause of the stray `%else\n%endif` - there's only
`BuildRequires: rust-toolset-1.26` there right now.
2018-08-27 10:21:07 -04:00
Colin Walters
9c43f986d3 Support Rust on CentOS 7
The pain multiplies...there's no `rust-packaging` there, and
no SRPM macros so we need a copy of the arch list.
2018-08-20 16:07:57 -04:00
Colin Walters
5075393fb3 Add a /usr/bin/python3 BR
Since we do use it for autofiles.  Let's use the file path
to avoid hardcoding knowledge of which package contains it.
2018-08-14 10:05:14 -04:00
Jonathan Lebon
47d9af57c6 Merge #20 Do the SCL dance necessary to use Rust in RHEL > 7 2018-08-09 18:16:40 +00:00
Jonathan Lebon
c7aa8af948 Release 2018.7 2018-08-09 14:02:10 -04:00
Colin Walters
99142b85fc Do the SCL dance necessary to use Rust in RHEL > 7
The `%_configure` thing was especially painful to figure out.
But anyways tested and works.

I'd like to make Rust mandatory soon, along with the general
trend of paring down our experimental/optional feature matrix.
2018-08-09 13:59:37 -04:00
Jonathan Lebon
32bd097220 git master snapshot for RHBZ#1565647 2018-08-01 10:41:35 -04:00
Colin Walters
1196f1c2b3 https://github.com/projectatomic/rpm-ostree/pull/1461 2018-07-30 12:50:28 -04:00
Colin Walters
e255679cea https://github.com/projectatomic/rpm-ostree/pull/1469 2018-07-30 16:40:59 +00:00
Colin Walters
c92a606d60 Make build python3-only compatible for distributions that want that 2018-07-16 21:31:16 +00:00
Fedora Release Engineering
2a0fd3d7c1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 03:43:39 +00:00
Jonathan Lebon
f2b60ed353 Bump release for Rust rebuild 2018-06-29 15:37:43 -04:00
Colin Walters
a707bea879 Enable Rust
rpm-ostree now includes some Rust code.
See https://github.com/projectatomic/rpm-ostree/pull/1377
and https://github.com/projectatomic/rpm-ostree/pull/1391
2018-06-29 15:27:39 -04:00
Jonathan Lebon
39b44ddef2 Release 2018.6 2018-06-29 14:51:29 -04:00
Jonathan Lebon
48080d8ef7 Release 2018.5 2018-05-15 10:51:08 -04:00
Jonathan Lebon
8e5fd5e7d6 spec: use python-sphinx on RHEL/CentOS platforms
We use this spec file to build on CentOS as well. There,
`python2-sphinx` does not exist, only `python-sphinx`. Let's accommodate
this while still respecting guidelines on Fedora.

See also:
https://github.com/CentOS/sig-atomic-buildscripts/issues/324
2018-04-18 15:30:24 -04:00
Jonathan Lebon
24bf347350 Release 2018.4 2018-03-26 11:20:32 -04:00
Iryna Shcherbina
a2b7919bdb Update Python 2 dependency declarations to new packaging standards 2018-03-18 16:21:52 +01:00
Jonathan Lebon
5ffa5a9542 Add BR on gcc-c++
https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B
https://lists.fedoraproject.org/archives/list/devel-announce@lists.fedoraproject.org/thread/5TYOPW4LSPQ3RWP34VIS25MQE4EVJOGF/
2018-03-07 14:14:25 +00:00
Dusty Mabe
2acd02cd70
backport treating FUSE as netfs for s390x 2018-03-01 17:10:32 -05:00
Dusty Mabe
62c6ccb47b
fix date in changelog
sorry, the warning messages about invalid dates bother me
2018-03-01 16:46:11 -05:00
Jonathan Lebon
d146cef5e4 Release 2018.3 2018-02-18 21:46:42 +00:00
Jonathan Lebon
28c16f3b69 spec: Bump ostree BR to v2018.2
We use the new checkout filtering features from it.
2018-02-16 21:32:37 +00:00
Jonathan Lebon
580f4db85f Drop all patches and fix bogus dates 2018-02-16 21:13:37 +00:00
Jonathan Lebon
70a8898860 Release 2018.2 2018-02-16 21:04:01 +00:00
Fedora Release Engineering
ca07ae18bf - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 13:18:29 +00:00
Dusty Mabe
866d7e07f7
Revert the ostree:// formatting in the output.
See https://github.com/projectatomic/rpm-ostree/pull/1136#issuecomment-358122137

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-01-19 21:26:37 -05:00
Jonathan Lebon
bf924bb6f5 spec: add rpm-ostreed.conf file entry
Just remembered this had to go in as well with the upstream work. Sure
enough, rdgo is currently failing on this. Let's get it chugging along
again!
2018-01-16 21:45:43 +00:00
Jonathan Lebon
502d70123f spec: bump ostree requirement to 2017.15
We make use of the new `ostree_break_hardlink` API. Otherwise, no build
requirements on v2018.1 itself.
2018-01-15 20:44:54 +00:00
Colin Walters
14902173d2 Release 2018.1 2018-01-15 14:56:57 -05:00
Jonathan Lebon
0e3b7e4ada 2017.11-1: New upstream release 2017-12-04 22:21:21 +00:00
Colin Walters
b1f1a8a384 Backport patch for NFS issues 2017-11-22 11:43:17 -05:00
Jonathan Lebon
774cabbaaa 2017.10-2: Backport fix for --repo handling
https://github.com/projectatomic/rpm-ostree/pull/1101
2017-11-14 14:53:48 +00:00
Colin Walters
a43cbae1de New upstream release 2017-11-02 17:51:59 -04:00
Jonathan Lebon
b6f475dcdd spec: add explicit requires for -libs subpackage
RPMDiff was complaining about this:

```
Subpackage rpm-ostree on x86_64 consumes library
librpmostree-1.so.1()(64bit) from subpackage rpm-ostree-libs but does
not have explicit package version requirement.
Please add Requires: rpm-ostree-libs = %{version}-%{release} to
rpm-ostree in the specfile to avoid the need to test interoperability
between the various combinations of old and new subpackages.
```

Since we don't use any symbol versioning in rpm-ostree, this seems like
a fair point. In practice, the matching -libs package should be
available at the same time when composing/installing, though this
protects us from manual `rpm` invocations as well.
2017-09-26 14:29:18 +00:00
Jonathan Lebon
4bd8b46192 2017.9-1: new upstream version
Also bump requirement on libostree for multiple things, including
`OSTREE_REPO_CHECKOUT_OVERWRITE_UNION_IDENTICAL`.
2017-09-25 17:23:01 +00:00
Jonathan Lebon
90722b718c tests: just directly rsync files
Using the synchronize module made rsync try to fetch the files from the
VM, even though we were part of the delegated block. Might be a subtle
bug in ansible. But really, there's no point in using the module here.
Both src and dest are local, so we can just call rsync ourselves.
2017-08-24 15:36:49 -04:00
Jonathan Lebon
0c6f1a3de0 tests: no longer deploy vmcheck
We don't have to do this anymore in v2017.8.
See https://github.com/projectatomic/rpm-ostree/pull/917.
2017-08-24 15:36:26 -04:00
Jonathan Lebon
cae2408d4f tests: minor syntax cleanups for legibility
Split ssh_config and long commands over multiple lines. Other minor
cleanups and syntax consistency fixes.
2017-08-24 15:33:38 -04:00
Stef Walter
1459e66ac5 tests: Don't use custom qemu provisioning
We can just use the standard inventory scripts for the rpm-ostree
tests, and write out an ssh-config that matches what our tests
expect.
2017-08-23 09:30:51 +02:00
Stef Walter
cabb5ce26c tests: Avoid using koji to download srpm
Just download the actual source tarball from the spec file
using the fedpkg command and use dit directly.
2017-08-23 08:40:29 +02:00
Stef Walter
b78097c2c8 tests: Setup defaults for subjects and artifacts
While hacking on tests, folks are going to be relying on the
default behavior of standard-test-roles which fills in these
Ansible variables from environment variables.

This is not necessary for execution in the pipeline, but just
for ease of use for folks looking at this first test in dist-git.
2017-08-22 21:20:00 +02:00
Jonathan Lebon
77767f7d82 2017.8-2: patch to allow metadata_expire=0 2017-08-21 17:17:12 -04:00
Jonathan Lebon
4e22ac5d98 Merge #3 tests: Install build dependencies before using rpm-build 2017-08-21 15:40:27 +00:00
Stef Walter
6463ba777d tests: Install build dependencies before using rpm-build
Before running rpm-build we need to bring in the build
dependencies that the SRPM requires.
2017-08-21 17:05:42 +02:00
Stef Walter
3a53b78063 tests: Make sure the log directory exists
In the qemu_provision module, make sure the log directory exists
before trying to write to it.
2017-08-21 16:59:40 +02:00
Jonathan Lebon
d52199e26b 2017.8-1: new upstream version 2017-08-18 09:28:19 -04:00
Jonathan Lebon
187998ad0c tests: minor cleanup
This is actually just an excuse to `fedpkg push` and kick the CI
pipeline because it doesn't get triggered by PR merges today:
https://pagure.io/fedora-infrastructure/issue/6263.
2017-08-16 15:43:24 -04:00
Jonathan Lebon
d11be14ae1 tests: run parts of the vmcheck testsuite
Run the basic and layering-basic vmcheck tests on qcow2 Atomic Host
images. It's full of hacks for now; I'd like to confirm first that there
aren't any oversights that would prevent the pipeline from running it.

Once we get it going, we can work on cleaning up and upstreaming the
hacks to standard-test-roles, and run all the vmcheck tests.
2017-08-15 14:44:18 -04:00