Commit Graph

19 Commits

Author SHA1 Message Date
Matthew Krupcale
13250ad902 Explicitly define CC and CFLAGS for bootstrap builds
build2 does not directly build any C code since it instead directly #include's
bundled C dependencies in C++ TUs, but this premptively ensures that if this
were to change we build such C code with the proper flags.

Non-bootstrap builds already define the proper C flags through the use of the
%build2 or %build2_configure macros.

 * build2.spec: define CC and CFLAGS for bootstrap builds
2022-01-27 22:45:36 -05:00
Matthew Krupcale
4cc4bb9c97 Add libbutl lz4 patch
libbutl bundles lz4[1] and builds it as an amalgamated translation unit in
lz4.cxx, but there is a conflicting typdef unalign in lz4.c and xxhash.c. This
patch [2] renames the lz4.c typedef to not conflict with that defined in
xxhash.c. See also the upstream issue [3].

 * build2.spec: add libbutl lz4 patch to Patches and apply during %setup
 * libbutl-lz4-typdef-unalign.patch: add libbutl lz4 patch

[1] https://github.com/lz4/lz4
[2] https://git.build2.org/cgit/libbutl/commit/?id=23c07078a9f2790b96a6ee6a6183911aaec71533
[3] https://github.com/lz4/lz4/issues/1053
2022-01-27 22:45:36 -05:00
Matthew Krupcale
d48191929d Update to v0.14.0
* .gitignore, sources: Update to v0.14.0
 * bpkg-openssl-3-pkeyutl.patch, libbutl-openssl-info-overloads.patch: add patches for OpenSSL v3.0 support [1]
 * build2-disable-test-cc-modules-ppc64le.patch: add patch to disable failing C++ modules tests on PPC64LE
 * build2.spec:
    - Update to v0.14.0
    - Re-enable bootstrap required for this releas
    - Update comments on libbutl license
    - Use config.install.etc for specifying system configuration file directory
    - Use config.install.scope to prevent installing statically built, bundled libodb [2,3]
 * libbuild2-config.install.scope-no-update-for-install.patch: add patch to make config.install.scope not apply during update-for-install pre-operation [3]
 * macros.build2:
    - Use config.install.legal for specifying system configuration file directory

[1] https://lists.build2.org/archives/users/2021-November/000923.html
[2] https://lists.build2.org/archives/announce/2021/000021.html
[3] https://lists.build2.org/archives/users/2021-November/000919.html
2022-01-23 18:41:57 -05:00
Fedora Release Engineering
20da0b9305 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 18:57:08 +00:00
Fedora Release Engineering
7cbb838671 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 13:59:47 +00:00
Fedora Release Engineering
92f1d419a5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 01:28:12 +00:00
Fedora Release Engineering
a784f3a9c4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 00:17:07 +00:00
Fedora Release Engineering
5197d7e106 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 13:28:12 +00:00
Matthew Krupcale
e3db101ac4 Disable bootstrap
We had to bootstrap v0.13.0 due to the use of new config directive

 * build2.spec: disable bootstrap
2020-07-25 14:19:00 -04:00
Matthew Krupcale
44467c6123 Update to v0.13.0
* build2-libbuild2-buildfile-host_config-config.install.chroot-remove.patch: Delete.
 * .gitignore, sources: Update to v0.13.0
 * build2.spec:
    - Update to v0.13.0
    - Re-enable bootstrap required for this release due to use of new config directive
    - Add common pkg-config file to -devel library subpackages
    - Remove CONTRIBUTING.md
    - Add AUTHORS, COPYRIGHT, and LEGAL files to license files
    - Use config.install.legal for specifying license directory
 * macros.build2:
    - Use config.install.legal for specifying license directory
2020-07-20 11:19:48 -04:00
Fedora Release Engineering
934fd95bf1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 13:23:36 +00:00
Matthew Krupcale
4e123901c7 Disable bootstrap
Now that build2 is in the official repositories, we do not need to bootstrap anymore.

Note that we had to bootstrap v0.12.0 as well due to the libbuild2 restructuring from this release requiring bootstrap.

 * build2.spec: disable bootstrap
2019-11-22 10:22:11 -05:00
Matthew Krupcale
78e723f604 Update to v0.12.0
This update includes a major restructuring which breaks build2 into a library, libbuild2, and its bundled build module libraries, libbuild-{bash,bin,c,cc,cxx,in,version}. Thus, this also adds libbuild2{,-devel,-static} subpackages and moves some runtime requirements from build2 to the libbuild2 package.

 * .gitignore, build2.spec, sources: Update to v0.12.0
 * build2-libbuild2-buildfile-host_config-config.install.chroot-remove.patch: Upstream patch removing confit.install.chroot from libbuild2 host configuration. This prevents $RPM_BUILD_ROOT from appearing in libbuild2.
2019-11-22 09:04:22 -05:00
Matthew Krupcale
b4d4e4f59b Remove PostScript documentation UTF-8 encoding conversion
This is fixed upstream[1] and is not strictly correct in any case since PostScript uses its own encoding[2].

 * build2.spec: Remove PostScript documentation UTF-8 encoding conversion

[1] https://git.build2.org/cgit/build2/commit/?id=8ceb809c28f663bb1473722de3c6a24319888e61
[2] https://en.wikipedia.org/wiki/PostScript_Latin_1_Encoding
2019-11-22 07:30:53 -05:00
Matthew Krupcale
1a35b340fb Add missing Requires: pkgconfig for -devel packages
This ensures that %{_libdir}/pkgconfig exists for the pkg-config files installed by the -devel packages

 * build2.spec: Add Requires: pkgconfig for -devel packages
2019-11-22 07:30:53 -05:00
Matthew Krupcale
3b77ad7d3f Remove unnecessary %ldconfig_scriptlets
Since F28, these scriptlets are unnecessary and are handled by RPM file triggers[1].

 * build2.spec: Remove %ldconfig_scriptlets

[1] https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets
2019-11-22 07:30:53 -05:00
Fedora Release Engineering
fc4effcfca - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 19:39:55 +00:00
Matthew Krupcale
362b3f8527 Initial packaging
This is the initial Fedora build2 package specification. It includes sub-packages for the build2 toolchain, such as bpkg and bdep and their corresponding libraries.

 * .gitignore: ignore source archives
 * build2.spec: initial build2 spec file
 * macros.build2: build2 RPM macros
 * sources: source archive hashes
2019-06-11 16:49:37 -04:00
Gwyn Ciesla
cfafb35e05 Added the README 2019-03-11 00:20:33 +00:00