diff --git a/.gitignore b/.gitignore index e35d328cee..b28c58ae49 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ anda-build/ -*.patch diff --git a/anda/rust/sccache/anda.hcl b/anda/rust/sccache/anda.hcl deleted file mode 100644 index a57944ad84..0000000000 --- a/anda/rust/sccache/anda.hcl +++ /dev/null @@ -1,6 +0,0 @@ -project pkg { - arches = ["x86_64"] - rpm { - spec = "rust-sccache.spec" - } -} diff --git a/anda/rust/sccache/rust-sccache.spec b/anda/rust/sccache/rust-sccache.spec deleted file mode 100644 index f9c512256f..0000000000 --- a/anda/rust/sccache/rust-sccache.spec +++ /dev/null @@ -1,428 +0,0 @@ -# Generated by rust2rpm 24 -# dont run brp scriptlet -%undefine __brp_mangle_shebangs -%global debug_package %{nil} -%global crate sccache - -Name: rust-sccache -Version: 0.5.3 -Release: 1%{?dist} -Summary: Ccache-like tool - -License: Apache-2.0 -URL: https://crates.io/crates/sccache -Group: Development/Languages/Rust -Source: %{crates_source} -# Automatically generated patch to strip foreign dependencies -Patch: sccache-fix-metadata-auto.diff - -BuildRequires: anda-srpm-macros cargo-rpm-macros >= 24 openssl-devel pkg-config - -%global _description %{expand: -Sccache is a ccache-like tool. It is used as a compiler wrapper and -avoids compilation when possible, storing a cache in a remote storage -using various cloud storage.} - -%description %{_description} - -%package -n %{crate} -Summary: %{summary} - -%description -n %{crate} %{_description} - -%files -n %{crate} -%license LICENSE -%doc CODE_OF_CONDUCT.md -%doc README.md -%{_bindir}/sccache -%{_bindir}/sccache-dist - -%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 -%{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}+all-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+all-devel %{_description} - -This package contains library source intended for building other packages which -use the "all" feature of the "%{crate}" crate. - -%files -n %{name}+all-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+azure-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+azure-devel %{_description} - -This package contains library source intended for building other packages which -use the "azure" feature of the "%{crate}" crate. - -%files -n %{name}+azure-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+dist-client-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+dist-client-devel %{_description} - -This package contains library source intended for building other packages which -use the "dist-client" feature of the "%{crate}" crate. - -%files -n %{name}+dist-client-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+dist-server-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+dist-server-devel %{_description} - -This package contains library source intended for building other packages which -use the "dist-server" feature of the "%{crate}" crate. - -%files -n %{name}+dist-server-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+dist-tests-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+dist-tests-devel %{_description} - -This package contains library source intended for building other packages which -use the "dist-tests" feature of the "%{crate}" crate. - -%files -n %{name}+dist-tests-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+flate2-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+flate2-devel %{_description} - -This package contains library source intended for building other packages which -use the "flate2" feature of the "%{crate}" crate. - -%files -n %{name}+flate2-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+gcs-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+gcs-devel %{_description} - -This package contains library source intended for building other packages which -use the "gcs" feature of the "%{crate}" crate. - -%files -n %{name}+gcs-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+gha-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+gha-devel %{_description} - -This package contains library source intended for building other packages which -use the "gha" feature of the "%{crate}" crate. - -%files -n %{name}+gha-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+hyper-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+hyper-devel %{_description} - -This package contains library source intended for building other packages which -use the "hyper" feature of the "%{crate}" crate. - -%files -n %{name}+hyper-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+jwt-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+jwt-devel %{_description} - -This package contains library source intended for building other packages which -use the "jwt" feature of the "%{crate}" crate. - -%files -n %{name}+jwt-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+libmount-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+libmount-devel %{_description} - -This package contains library source intended for building other packages which -use the "libmount" feature of the "%{crate}" crate. - -%files -n %{name}+libmount-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+memcached-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+memcached-devel %{_description} - -This package contains library source intended for building other packages which -use the "memcached" feature of the "%{crate}" crate. - -%files -n %{name}+memcached-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+native-zlib-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+native-zlib-devel %{_description} - -This package contains library source intended for building other packages which -use the "native-zlib" feature of the "%{crate}" crate. - -%files -n %{name}+native-zlib-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+nix-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+nix-devel %{_description} - -This package contains library source intended for building other packages which -use the "nix" feature of the "%{crate}" crate. - -%files -n %{name}+nix-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+opendal-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+opendal-devel %{_description} - -This package contains library source intended for building other packages which -use the "opendal" feature of the "%{crate}" crate. - -%files -n %{name}+opendal-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+openssl-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+openssl-devel %{_description} - -This package contains library source intended for building other packages which -use the "openssl" feature of the "%{crate}" crate. - -%files -n %{name}+openssl-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+redis-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+redis-devel %{_description} - -This package contains library source intended for building other packages which -use the "redis" feature of the "%{crate}" crate. - -%files -n %{name}+redis-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+reqsign-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+reqsign-devel %{_description} - -This package contains library source intended for building other packages which -use the "reqsign" feature of the "%{crate}" crate. - -%files -n %{name}+reqsign-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+reqwest-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+reqwest-devel %{_description} - -This package contains library source intended for building other packages which -use the "reqwest" feature of the "%{crate}" crate. - -%files -n %{name}+reqwest-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+rouille-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+rouille-devel %{_description} - -This package contains library source intended for building other packages which -use the "rouille" feature of the "%{crate}" crate. - -%files -n %{name}+rouille-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+s3-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+s3-devel %{_description} - -This package contains library source intended for building other packages which -use the "s3" feature of the "%{crate}" crate. - -%files -n %{name}+s3-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+sha2-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+sha2-devel %{_description} - -This package contains library source intended for building other packages which -use the "sha2" feature of the "%{crate}" crate. - -%files -n %{name}+sha2-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+syslog-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+syslog-devel %{_description} - -This package contains library source intended for building other packages which -use the "syslog" feature of the "%{crate}" crate. - -%files -n %{name}+syslog-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+unstable-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+unstable-devel %{_description} - -This package contains library source intended for building other packages which -use the "unstable" feature of the "%{crate}" crate. - -%files -n %{name}+unstable-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+url-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+url-devel %{_description} - -This package contains library source intended for building other packages which -use the "url" feature of the "%{crate}" crate. - -%files -n %{name}+url-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+vendored-openssl-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+vendored-openssl-devel %{_description} - -This package contains library source intended for building other packages which -use the "vendored-openssl" feature of the "%{crate}" crate. - -%files -n %{name}+vendored-openssl-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+version-compare-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+version-compare-devel %{_description} - -This package contains library source intended for building other packages which -use the "version-compare" feature of the "%{crate}" crate. - -%files -n %{name}+version-compare-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+void-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+void-devel %{_description} - -This package contains library source intended for building other packages which -use the "void" feature of the "%{crate}" crate. - -%files -n %{name}+void-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+webdav-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+webdav-devel %{_description} - -This package contains library source intended for building other packages which -use the "webdav" feature of the "%{crate}" crate. - -%files -n %{name}+webdav-devel -%ghost %{crate_instdir}/Cargo.toml - -%prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 -%cargo_prep_online - -%build -%cargo_build -f dist-server - -%install -%cargo_install -f dist-server - -%if %{with check} -%check -%cargo_test -f dist-server -%endif - -%changelog -%autochangelog diff --git a/anda/rust/sccache/sccache-fix-metadata-auto.diff b/anda/rust/sccache/sccache-fix-metadata-auto.diff deleted file mode 100644 index e31b18399e..0000000000 --- a/anda/rust/sccache/sccache-fix-metadata-auto.diff +++ /dev/null @@ -1,17 +0,0 @@ ---- sccache-0.4.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ sccache-0.4.2/Cargo.toml 2023-05-10T14:25:40.783197+00:00 -@@ -362,14 +362,3 @@ - [target."cfg(unix)".dependencies.daemonize] - version = "0.5" - --[target."cfg(windows)".dependencies.parity-tokio-ipc] --version = "0.9" -- --[target."cfg(windows)".dependencies.winapi] --version = "0.3" --features = [ -- "fileapi", -- "handleapi", -- "stringapiset", -- "winnls", --] diff --git a/anda/rust/sccache/update.rhai b/anda/rust/sccache/update.rhai deleted file mode 100644 index eb645c69f5..0000000000 --- a/anda/rust/sccache/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(crates("sccache"));