tstellar pushed to libcxx (f36). "Update to 14.0.0"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-04-01 04:50:07 UTC
From 36e1962617cd748882b29cdf81eebe65278d949d Mon Sep 17 00:00:00 2001
From: Timm Bäder <tbaeder(a)redhat.com>
Date: Mar 24 2022 07:42:32 +0000
Subject: Update to 14.0.0
---
diff --git a/0001-PATCH-libcxx-Remove-monorepo-requirement.patch b/0001-PATCH-libcxx-Remove-monorepo-requirement.patch
index 6e673de..9baa403 100644
--- a/0001-PATCH-libcxx-Remove-monorepo-requirement.patch
+++ b/0001-PATCH-libcxx-Remove-monorepo-requirement.patch
@@ -22,15 +22,15 @@ index 9bf1a02..5348a15 100644
#===============================================================================
# Setup Project
#===============================================================================
-@@ -39,8 +32,6 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR OR LIBCXX_STANDALONE_BUIL
- set(LIBCXX_STANDALONE_BUILD 1)
- set(LLVM_LIT_OUTPUT_DIR "${LIBCXX_BINARY_DIR}/bin")
+@@ -39,8 +32,6 @@
+ include(GNUInstallDirs)
+ if (LIBCXX_STANDALONE_BUILD)
- # Find the LLVM sources and simulate LLVM CMake options.
- include(HandleOutOfTreeLLVM)
- endif()
- if (LIBCXX_STANDALONE_BUILD)
+ find_package(Python3 COMPONENTS Interpreter)
+ if(NOT Python3_Interpreter_FOUND)
--
1.8.3.1
diff --git a/add-llvm-cmake-package.patch b/add-llvm-cmake-package.patch
new file mode 100644
index 0000000..bc3d516
--- /dev/null
+++ b/add-llvm-cmake-package.patch
@@ -0,0 +1,19 @@
+diff -ruN libcxx-14.0.0rc2.src.orig/CMakeLists.txt libcxx-14.0.0rc2.src/CMakeLists.txt
+--- a/libcxx-14.0.0rc2.src.orig/CMakeLists.txt 2022-03-04 17:08:07.363822171 +0100
++++ a/libcxx-14.0.0rc2.src/CMakeLists.txt 2022-03-07 08:29:06.632754832 +0100
+@@ -13,6 +13,7 @@
+ "${LLVM_COMMON_CMAKE_UTILS}/Modules"
+ )
+
++
+ set(CMAKE_FOLDER "libc++")
+
+ set(LIBCXX_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
+@@ -40,6 +41,7 @@
+ include(GNUInstallDirs)
+
+ if (LIBCXX_STANDALONE_BUILD)
++ find_package(LLVM REQUIRED HINTS "${LLVM_CMAKE_DIR}")
+
+ find_package(Python3 COMPONENTS Interpreter)
+ if(NOT Python3_Interpreter_FOUND)
diff --git a/libcxx.spec b/libcxx.spec
index 817de3c..f7436ca 100644
--- a/libcxx.spec
+++ b/libcxx.spec
@@ -1,9 +1,9 @@
# If you need to bootstrap this, turn this on.
# Otherwise, you have a loop with libcxxabi
%global bootstrap 0
-#global rc_ver 3
-%global libcxx_version 13.0.1
+%global libcxx_version 14.0.0
+#global rc_ver 2
%global libcxx_srcdir libcxx-%{libcxx_version}%{?rc_ver:rc%{rc_ver}}.src
Name: libcxx
@@ -17,10 +17,12 @@ Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{libcxx
Source2: tstellar-gpg-key.asc
Patch0: 0001-PATCH-libcxx-Remove-monorepo-requirement.patch
+Patch1: add-llvm-cmake-package.patch
BuildRequires: gcc-c++ llvm-devel cmake llvm-static ninja-build
-# We need python3-devel for pathfix.py.
+# We need python3-devel for %%py3_shebang_fix
BuildRequires: python3-devel
+BuildRequires: llvm-cmake-devel
# The static libc++ links the static abi library in as well
BuildRequires: libcxxabi-static
@@ -64,8 +66,7 @@ Summary: Static libraries for libcxx
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%autosetup -n %{libcxx_srcdir} -p2
-pathfix.py -i %{__python3} -pn \
- utils/*.py
+%py3_shebang_fix utils/
%build
@@ -80,6 +81,7 @@ common_cmake_flags="\
-DPYTHON_EXECUTABLE=%{_bindir}/python3 \
%endif
-DLIBCXX_STANDALONE_BUILD=ON \
+ -DLIBCXX_INCLUDE_BENCHMARKS=OFF \
-DCMAKE_BUILD_TYPE=RelWithDebInfo"
# Build the static libc++.a.
@@ -120,7 +122,7 @@ install results-static/libc++.a %{buildroot}/%{_libdir}
# Install header files that libcxxabi needs
mkdir -p %{buildroot}%{_includedir}/libcxx-internal/
-install -m 0644 src/include/* %{buildroot}%{_includedir}/libcxx-internal/
+install -m 0644 src/include/*.h %{buildroot}%{_includedir}/libcxx-internal/
%files
%license LICENSE.TXT
@@ -138,6 +140,9 @@ install -m 0644 src/include/* %{buildroot}%{_includedir}/libcxx-internal/
%changelog
+* Thu Mar 24 2022 Timm Bäder <tbaeder(a)redhat.com> - 14.0.0-1
+- Update to 14.0.0
+
* Thu Feb 03 2022 Nikita Popov <npopov(a)redhat.com> - 13.0.1-1
- Update to LLVM 13.0.1 final
https://src.fedoraproject.org/rpms/libcxx/c/36e1962617cd748882b29cdf81eeb...
2Â years, 1Â month
tstellar pushed to libcxx (f36). "Upload correct 14.0.0 sources"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-04-01 04:50:07 UTC
From 9a98d7c6b2bf919507f1fd59be397b5f277c82b4 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar(a)redhat.com>
Date: Mar 30 2022 03:42:30 +0000
Subject: Upload correct 14.0.0 sources
---
diff --git a/sources b/sources
index 7f4996b..4335a8e 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (libcxx-14.0.0.src.tar.xz) = 70ec1164a897a83a5317b0ab9205282407de61d371c939798e58ead310cf56e1710ad936f961f7b96304f4e1c6d83c7983e68a7bf30d47fa11b8ff7ed39851bc
+SHA512 (libcxx-14.0.0.src.tar.xz) = 93c0089668c2e8406362cd7dfa2ff05590009aff2738ba2dc19aae3671532b07c9fd2ffad7c5487b03bf5bd87f097dddd620ca4a89598d630c1480218f4fa2e4
SHA512 (libcxx-14.0.0.src.tar.xz.sig) = 8f7415316f04436113319ad266d55289f23b7a80264f190a9fba68d9974517623bed9bc9239913926cd6fa36866fd7386729f1b80281dcb00906a67fc1f2267d
https://src.fedoraproject.org/rpms/libcxx/c/9a98d7c6b2bf919507f1fd59be397...
2Â years, 1Â month
tstellar pushed to libclc (f36). "Upload new sources"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-04-01 04:48:21 UTC
From 9cd3b046f1300a8fb6bff6f950d97a20494c20b9 Mon Sep 17 00:00:00 2001
From: sergesanspaille <sguelton(a)redhat.com>
Date: Mar 30 2022 06:05:51 +0000
Subject: Upload new sources
---
diff --git a/.gitignore b/.gitignore
index ef223e5..d6785bf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/libclc-13.0.0.src.tar.xz.sig
/libclc-13.0.1rc2.src.tar.xz.sig
/libclc-13.0.1.src.tar.xz.sig
+/libclc-14.0.0.src.tar.xz.sig
diff --git a/sources b/sources
index 511e8d9..898149d 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (libclc-13.0.1.src.tar.xz) = 2bb5a8837509eba35a1c83709921f0c5acee56b315367828c8bacc75f2cd98e30bc42eb56dc7ee847520c58d88f1f7688c505be86f7f95793465b32f349eb446
-SHA512 (libclc-13.0.1.src.tar.xz.sig) = 963450cc7e3e5c166798d5c45546c1481bd89c59594d0ea8f2fccf60ba176087c83d905f019421d33e3cd73a2315dbb4d90be28d7c4c52f67ca5028d17b70a5c
+SHA512 (libclc-14.0.0.src.tar.xz) = f1209c424729d82c824c863f290df3c5c61c50eb9eb35ff059a3fc46439e9093b76b540d86abcfbacdb2afc6dcb01dded000ef8f8ff6f3fe99ea045a4145d24b
+SHA512 (libclc-14.0.0.src.tar.xz.sig) = 9fe2c69346dc55d363cdcc9190e05bf951fe8e4902730b25354e03bfb394b3e30b5859170998c0f988c32d0bd1b993c31e7a6d74bea1dc43412115b97e4e0cc0
https://src.fedoraproject.org/rpms/libclc/c/9cd3b046f1300a8fb6bff6f950d97...
2Â years, 1Â month
tstellar pushed to libclc (f36). "Update to 14.0.0"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-04-01 04:48:21 UTC
From 8d2467e34335606b3e2ca816fe8e90749eb46def Mon Sep 17 00:00:00 2001
From: Timm Bäder <tbaeder(a)redhat.com>
Date: Mar 30 2022 06:01:25 +0000
Subject: Update to 14.0.0
---
diff --git a/libclc.spec b/libclc.spec
index f7fad05..1e8f6f7 100644
--- a/libclc.spec
+++ b/libclc.spec
@@ -2,7 +2,7 @@
%global debug_package %{nil}
%global shortname clc
-%global libclc_version 13.0.1
+%global libclc_version 14.0.0
#global rc_ver 2
%global libclc_srcdir libclc-%{libclc_version}%{?rc_ver:rc%{rc_ver}}.src
@@ -95,6 +95,9 @@ export CFLAGS="%{build_cflags} -D__extern_always_inline=inline"
%{_libdir}/pkgconfig/%{name}.pc
%changelog
+* Wed Mar 30 2022 Timm Bäder <tbaeder(a)redhat.com> - 14.0.0-1
+- Update to 14.0.0
+
* Thu Feb 03 2022 Nikita Popov <npopov(a)redhat.com> - 13.0.1-1
- Update to LLVM 13.0.1 final
https://src.fedoraproject.org/rpms/libclc/c/8d2467e34335606b3e2ca816fe8e9...
2Â years, 1Â month
tstellar pushed to compiler-rt (f36). "Update to 14.0.0"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-04-01 04:39:58 UTC
From ddc83a70e7a362b90f42f003fb2742ed81a18a28 Mon Sep 17 00:00:00 2001
From: Timm Bäder <tbaeder(a)redhat.com>
Date: Mar 24 2022 07:45:51 +0000
Subject: Update to 14.0.0
---
diff --git a/0001-PATCH-compiler-rt-Workaround-libstdc-limitation-wrt..patch b/0001-PATCH-compiler-rt-Workaround-libstdc-limitation-wrt..patch
deleted file mode 100644
index f734b5f..0000000
--- a/0001-PATCH-compiler-rt-Workaround-libstdc-limitation-wrt..patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 8247295860b69fd379e282c3e6315df9f700e4d8 Mon Sep 17 00:00:00 2001
-From: serge-sans-paille <sguelton(a)redhat.com>
-Date: Thu, 25 Feb 2021 14:12:57 +0100
-Subject: [PATCH][compiler-rt] Workaround libstdc++ limitation wrt. thread copy
-
----
- compiler-rt/lib/fuzzer/FuzzerDefs.h | 6 ++++++
- compiler-rt/lib/fuzzer/FuzzerDriver.cpp | 2 +-
- 2 files changed, 7 insertions(+), 1 deletion(-)
-
-diff --git a/compiler-rt/lib/fuzzer/FuzzerDefs.h b/compiler-rt/lib/fuzzer/FuzzerDefs.h
-index 1a2752a..abfbb8d 100644
---- a/compiler-rt/lib/fuzzer/FuzzerDefs.h
-+++ b/compiler-rt/lib/fuzzer/FuzzerDefs.h
-@@ -50,6 +50,12 @@ template<typename T>
-
- template<class Other>
- struct rebind { typedef fuzzer_allocator<Other> other; };
-+
-+ template< class U, class... Args >
-+ void construct( U* p, Args&&... args ) {
-+ std::allocator<T>::construct(p, std::forward<Args>(args)...);
-+ }
-+
- };
-
- template<typename T>
-diff --git a/compiler-rt/lib/fuzzer/FuzzerDriver.cpp b/compiler-rt/lib/fuzzer/FuzzerDriver.cpp
-index 447cafc..2fce139 100644
---- a/compiler-rt/lib/fuzzer/FuzzerDriver.cpp
-+++ b/compiler-rt/lib/fuzzer/FuzzerDriver.cpp
-@@ -294,7 +294,7 @@ static int RunInMultipleProcesses(const Vector<std::string> &Args,
- std::thread Pulse(PulseThread);
- Pulse.detach();
- for (unsigned i = 0; i < NumWorkers; i++)
-- V.push_back(std::thread(WorkerThread, std::ref(Cmd), &Counter, NumJobs, &HasErrors));
-+ V.emplace_back(WorkerThread, std::ref(Cmd), &Counter, NumJobs, &HasErrors);
- for (auto &T : V)
- T.join();
- return HasErrors ? 1 : 0;
---
-1.8.3.1
-
diff --git a/add-llvm-cmake-package.patch b/add-llvm-cmake-package.patch
new file mode 100644
index 0000000..b7b63b6
--- /dev/null
+++ b/add-llvm-cmake-package.patch
@@ -0,0 +1,37 @@
+commit b18bde7a9bd6ed80f5721c47c805f0158b4fe9f8
+Author: Timm Bäder <tbaeder(a)redhat.com>
+Date: Wed Mar 9 07:17:21 2022 +0100
+
+ [compiler-rt] Add LLVM cmake package in standalone builds
+
+ So the other files from the toplevel cmake/Modules directory have a
+ chance of being found.
+
+diff --git a/compiler-rt/CMakeLists.txt b/compiler-rt/CMakeLists.txt
+index 3a41aa43e406..6516e10fa3c5 100644
+--- a/compiler-rt/CMakeLists.txt
++++ b/compiler-rt/CMakeLists.txt
+@@ -28,6 +28,12 @@ else()
+ set(CMAKE_CFG_RESOLVED_INTDIR "")
+ endif()
+
++if(COMPILER_RT_STANDALONE_BUILD)
++ # Needed to find the other modules from the toplevel cmake/Modules dir
++ find_package(LLVM REQUIRED HINTS "${LLVM_CMAKE_DIR}")
++ list(APPEND CMAKE_MODULE_PATH "${LLVM_DIR}")
++endif()
++
+ include(SetPlatformToolchainTools)
+ include(base-config-ix)
+ include(CompilerRTUtils)
+diff --git a/compiler-rt/test/CMakeLists.txt b/compiler-rt/test/CMakeLists.txt
+index 5c2b634e1180..098fb0481517 100644
+--- a/compiler-rt/test/CMakeLists.txt
++++ b/compiler-rt/test/CMakeLists.txt
+@@ -1,6 +1,3 @@
+-# Needed for lit support in standalone builds.
+-include(AddLLVM)
+-
+ option(COMPILER_RT_TEST_STANDALONE_BUILD_LIBS
+ "When set to ON and testing in a standalone build, test the runtime \
+ libraries built by this standalone build rather than the runtime libraries \
diff --git a/compiler-rt.spec b/compiler-rt.spec
index 9601da9..ec94e25 100644
--- a/compiler-rt.spec
+++ b/compiler-rt.spec
@@ -1,6 +1,5 @@
+%global compiler_rt_version 14.0.0
#global rc_ver 2
-
-%global compiler_rt_version 13.0.1
%global crt_srcdir compiler-rt-%{compiler_rt_version}%{?rc_ver:rc%{rc_ver}}.src
# see https://sourceware.org/bugzilla/show_bug.cgi?id=25271
@@ -20,7 +19,7 @@ Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{compil
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{compiler...
Source2: tstellar-gpg-key.asc
-Patch0: 0001-PATCH-compiler-rt-Workaround-libstdc-limitation-wrt..patch
+Patch0: add-llvm-cmake-package.patch
BuildRequires: gcc
BuildRequires: gcc-c++
@@ -30,6 +29,7 @@ BuildRequires: python3
# We need python3-devel for %%py3_shebang_fix
BuildRequires: python3-devel
BuildRequires: llvm-devel = %{version}
+BuildRequires: llvm-cmake-devel = %{version}
# For gpg source verification
BuildRequires: gnupg2
@@ -111,6 +111,9 @@ popd
%endif
%changelog
+* Thu Mar 24 2022 Timm Bäder <tbaeder(a)redhat.com> - 14.0.0-1
+- Update to 14.0.0
+
* Thu Feb 03 2022 Nikita Popov <npopov(a)redhat.com> - 13.0.1-1
- Update to LLVM 13.0.1 final
https://src.fedoraproject.org/rpms/compiler-rt/c/ddc83a70e7a362b90f42f003...
2Â years, 1Â month
tstellar pushed to compiler-rt (f36). "Add 14.0.0 sources"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-04-01 04:39:58 UTC
From 14aa17fc593c2ef75248ac798e6a5a8ef1e9257e Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar(a)redhat.com>
Date: Mar 30 2022 04:07:10 +0000
Subject: Add 14.0.0 sources
---
diff --git a/.gitignore b/.gitignore
index aa9c221..8a09fcf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -93,3 +93,5 @@
/compiler-rt-13.0.1rc2.src.tar.xz.sig
/compiler-rt-13.0.1.src.tar.xz
/compiler-rt-13.0.1.src.tar.xz.sig
+/compiler-rt-14.0.0.src.tar.xz
+/compiler-rt-14.0.0.src.tar.xz.sig
diff --git a/sources b/sources
index 73ad802..1c61541 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (compiler-rt-13.0.1.src.tar.xz) = 2cdc3d5cfe5fcf7eba497912ccaadcf33dbd2dd029840fbd54c861b24927e5f4dd494b1ecee1c6c8abbd21e1adf08c217448f408d75346147bac15000fe9ec29
-SHA512 (compiler-rt-13.0.1.src.tar.xz.sig) = c143c2122ab52f5295f8c32063c7f3822ac2c49fa12121d60fa89f6c99d54709d47a0c6bf41794858de92213f8304bee5a4cf82706b00ac31a2097cca9549efe
+SHA512 (compiler-rt-14.0.0.src.tar.xz) = 9df73ef3b81f2b70902726e0dc5529c0cc1e976ce75fbfb1c3d7930882d82fc0896934a32d1c9511b08962cac5b409c14f54dc53833fbf0724256b22165c4439
+SHA512 (compiler-rt-14.0.0.src.tar.xz.sig) = 3998c7a7477a95ae36591b8658677a44f5d4c88a57e93df57fc3f4670c38a71fb0e385b7f9b44ef7e97d7ce77551b4ea790c6f63174e79a2ffc9dd678dcf886f
https://src.fedoraproject.org/rpms/compiler-rt/c/14aa17fc593c2ef75248ac79...
2Â years, 1Â month
tstellar pushed to compiler-rt (f36). "Add rpminspect config file.
(..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-04-01 04:39:58 UTC
From 2329a7b813d6110fc743888075a54dfb3fe767da Mon Sep 17 00:00:00 2001
From: Jesus Checa Hidalgo <jchecahi(a)redhat.com>
Date: Feb 15 2022 16:15:36 +0000
Subject: Add rpminspect config file.
This prevents badfuncs test to fail due to forbidden functions
being expectedly present in compiler-rt rpm.
---
diff --git a/rpminspect.yaml b/rpminspect.yaml
new file mode 100644
index 0000000..e3e96f2
--- /dev/null
+++ b/rpminspect.yaml
@@ -0,0 +1,21 @@
+---
+# For compiler-rt, we filter out the following forbidden functions from the list:
+# - gethostbyname
+# - gethostbyname2
+# - gethostbyaddr
+# - inet_aton
+# These are never actually used, and are installed just as interceptors.
+badfuncs:
+ - inet_addr
+ - inet_nsap_addr
+ - inet_ntoa
+ - inet_nsap_ntoa
+ - inet_makeaddr
+ - inet_netof
+ - inet_network
+ - inet_neta
+ - inet_net_ntop
+ - inet_net_pton
+ - rcmd
+ - rexec
+ - rresvport
https://src.fedoraproject.org/rpms/compiler-rt/c/2329a7b813d6110fc7438880...
2Â years, 1Â month
salimma pushed to rust-nu-ansi-term (f34). "Initial Fedora package
(..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-04-01 04:08:36 UTC
From c5da2ae2a374b92242e835f687f5dfad83d33122 Mon Sep 17 00:00:00 2001
From: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Apr 01 2022 03:37:51 +0000
Subject: Initial Fedora package
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..65cf32e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/nu-ansi-term-0.45.1.crate
diff --git a/nu-ansi-term-fix-metadata.diff b/nu-ansi-term-fix-metadata.diff
new file mode 100644
index 0000000..99e4a86
--- /dev/null
+++ b/nu-ansi-term-fix-metadata.diff
@@ -0,0 +1,9 @@
+--- nu-ansi-term-0.45.1/Cargo.toml 1970-01-01T00:00:01+00:00
++++ nu-ansi-term-0.45.1/Cargo.toml 2022-04-01T03:36:27.011008+00:00
+@@ -38,6 +38,3 @@
+
+ [features]
+ derive_serde_style = ["serde"]
+-[target."cfg(target_os=\"windows\")".dependencies.winapi]
+-version = "0.3.4"
+-features = ["consoleapi", "errhandlingapi", "fileapi", "handleapi", "processenv"]
diff --git a/rust-nu-ansi-term.spec b/rust-nu-ansi-term.spec
new file mode 100644
index 0000000..a880d6a
--- /dev/null
+++ b/rust-nu-ansi-term.spec
@@ -0,0 +1,97 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate nu-ansi-term
+
+Name: rust-%{crate}
+Version: 0.45.1
+Release: %autorelease
+Summary: Library for ANSI terminal colors and styles (bold, underline)
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/nu-ansi-term
+Source: %{crates_source}
+# Remove Windows target
+Patch0: nu-ansi-term-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Library for ANSI terminal colors and styles (bold, underline).}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENCE
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+derive_serde_style-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+derive_serde_style-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "derive_serde_style" feature of the "%{crate}" crate.
+
+%files -n %{name}+derive_serde_style-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+serde-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+serde-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "serde" feature of the "%{crate}" crate.
+
+%files -n %{name}+serde-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..c3c4334
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (nu-ansi-term-0.45.1.crate) = 40c12b8a588de4fbf8bf155d884efc184163a5a87e621bf5df4b67c8bfb0291534b1995976f0e603297fd97072805783b3004f64bb4ecc5ff12069c199853cf5
https://src.fedoraproject.org/rpms/rust-nu-ansi-term/c/c5da2ae2a374b92242...
2Â years, 1Â month
salimma pushed to rust-nu-ansi-term (f35). "Initial Fedora package
(..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-04-01 04:02:35 UTC
From c5da2ae2a374b92242e835f687f5dfad83d33122 Mon Sep 17 00:00:00 2001
From: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Apr 01 2022 03:37:51 +0000
Subject: Initial Fedora package
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..65cf32e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/nu-ansi-term-0.45.1.crate
diff --git a/nu-ansi-term-fix-metadata.diff b/nu-ansi-term-fix-metadata.diff
new file mode 100644
index 0000000..99e4a86
--- /dev/null
+++ b/nu-ansi-term-fix-metadata.diff
@@ -0,0 +1,9 @@
+--- nu-ansi-term-0.45.1/Cargo.toml 1970-01-01T00:00:01+00:00
++++ nu-ansi-term-0.45.1/Cargo.toml 2022-04-01T03:36:27.011008+00:00
+@@ -38,6 +38,3 @@
+
+ [features]
+ derive_serde_style = ["serde"]
+-[target."cfg(target_os=\"windows\")".dependencies.winapi]
+-version = "0.3.4"
+-features = ["consoleapi", "errhandlingapi", "fileapi", "handleapi", "processenv"]
diff --git a/rust-nu-ansi-term.spec b/rust-nu-ansi-term.spec
new file mode 100644
index 0000000..a880d6a
--- /dev/null
+++ b/rust-nu-ansi-term.spec
@@ -0,0 +1,97 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate nu-ansi-term
+
+Name: rust-%{crate}
+Version: 0.45.1
+Release: %autorelease
+Summary: Library for ANSI terminal colors and styles (bold, underline)
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/nu-ansi-term
+Source: %{crates_source}
+# Remove Windows target
+Patch0: nu-ansi-term-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Library for ANSI terminal colors and styles (bold, underline).}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENCE
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+derive_serde_style-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+derive_serde_style-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "derive_serde_style" feature of the "%{crate}" crate.
+
+%files -n %{name}+derive_serde_style-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+serde-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+serde-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "serde" feature of the "%{crate}" crate.
+
+%files -n %{name}+serde-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..c3c4334
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (nu-ansi-term-0.45.1.crate) = 40c12b8a588de4fbf8bf155d884efc184163a5a87e621bf5df4b67c8bfb0291534b1995976f0e603297fd97072805783b3004f64bb4ecc5ff12069c199853cf5
https://src.fedoraproject.org/rpms/rust-nu-ansi-term/c/c5da2ae2a374b92242...
2Â years, 1Â month
salimma pushed to rust-nu-ansi-term (f36). "Initial Fedora package
(..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-04-01 03:58:25 UTC
From c5da2ae2a374b92242e835f687f5dfad83d33122 Mon Sep 17 00:00:00 2001
From: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Apr 01 2022 03:37:51 +0000
Subject: Initial Fedora package
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..65cf32e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/nu-ansi-term-0.45.1.crate
diff --git a/nu-ansi-term-fix-metadata.diff b/nu-ansi-term-fix-metadata.diff
new file mode 100644
index 0000000..99e4a86
--- /dev/null
+++ b/nu-ansi-term-fix-metadata.diff
@@ -0,0 +1,9 @@
+--- nu-ansi-term-0.45.1/Cargo.toml 1970-01-01T00:00:01+00:00
++++ nu-ansi-term-0.45.1/Cargo.toml 2022-04-01T03:36:27.011008+00:00
+@@ -38,6 +38,3 @@
+
+ [features]
+ derive_serde_style = ["serde"]
+-[target."cfg(target_os=\"windows\")".dependencies.winapi]
+-version = "0.3.4"
+-features = ["consoleapi", "errhandlingapi", "fileapi", "handleapi", "processenv"]
diff --git a/rust-nu-ansi-term.spec b/rust-nu-ansi-term.spec
new file mode 100644
index 0000000..a880d6a
--- /dev/null
+++ b/rust-nu-ansi-term.spec
@@ -0,0 +1,97 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate nu-ansi-term
+
+Name: rust-%{crate}
+Version: 0.45.1
+Release: %autorelease
+Summary: Library for ANSI terminal colors and styles (bold, underline)
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/nu-ansi-term
+Source: %{crates_source}
+# Remove Windows target
+Patch0: nu-ansi-term-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Library for ANSI terminal colors and styles (bold, underline).}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENCE
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+derive_serde_style-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+derive_serde_style-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "derive_serde_style" feature of the "%{crate}" crate.
+
+%files -n %{name}+derive_serde_style-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+serde-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+serde-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "serde" feature of the "%{crate}" crate.
+
+%files -n %{name}+serde-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..c3c4334
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (nu-ansi-term-0.45.1.crate) = 40c12b8a588de4fbf8bf155d884efc184163a5a87e621bf5df4b67c8bfb0291534b1995976f0e603297fd97072805783b3004f64bb4ecc5ff12069c199853cf5
https://src.fedoraproject.org/rpms/rust-nu-ansi-term/c/c5da2ae2a374b92242...
2Â years, 1Â month