diff --git a/0001-Temporarily-accept-cargo_prep-V-flag-for-spec-compat.patch b/0001-Temporarily-accept-cargo_prep-V-flag-for-spec-compat.patch deleted file mode 100644 index 2195780dee7987ce31d400bf7766324232a5b66b..0000000000000000000000000000000000000000 --- a/0001-Temporarily-accept-cargo_prep-V-flag-for-spec-compat.patch +++ /dev/null @@ -1,27 +0,0 @@ -From c1cb014722147a3373a7d7ebbf99781cbb335cbf Mon Sep 17 00:00:00 2001 -From: Fabio Valentini -Date: Fri, 13 Oct 2023 00:31:15 +0200 -Subject: [PATCH] Temporarily accept cargo_prep -V flag for spec compatibiltiy - with RHEL - ---- - macros.d/macros.cargo | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/macros.d/macros.cargo b/macros.d/macros.cargo -index e99f5a6..05159d8 100644 ---- a/macros.d/macros.cargo -+++ b/macros.d/macros.cargo -@@ -54,7 +54,8 @@ - # -v - use vendored sources from instead of - # %%cargo_registry - # -N - Don't set up any registry. Only set up the build configuration. --%cargo_prep(v:N)\ -+%cargo_prep(V:v:N)\ -+%{-V:%{?fedora:%{error:The -V flag for cargo_prep is not supported in Fedora}}}\ - %{-v:%{-N:%{error:-v and -N are mutually exclusive!}}}\ - (\ - set -euo pipefail\ --- -2.41.0 - diff --git a/README.en.md b/README.en.md deleted file mode 100644 index 5670c5cf4b0cd3bd80ee4ed9611427f61bfacaf3..0000000000000000000000000000000000000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# rust-srpm-macros - -#### Description -RPM macros for building Rust source packages - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/README.md b/README.md index 91841a76374dbb1ce1b4c8fcb23fe7fc6f1bb311..5e0f50bc73a29f6cb33aa913ce8a54ced7bbe40d 100644 --- a/README.md +++ b/README.md @@ -1,37 +1,5 @@ -# rust-srpm-macros +Obsoleted since Oct 2025: -#### 介绍 -RPM macros for building Rust source packages +- https://gitee.com/openeuler/release-management/pulls/2447 -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 -5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) +- https://gitee.com/src-openeuler/rust-srpm-macros/issues/ID36GT diff --git a/rust-packaging-26.3.tar.gz b/rust-packaging-26.3.tar.gz deleted file mode 100644 index 479d1379322b9b90e23dc8a1665023cb42e823e7..0000000000000000000000000000000000000000 Binary files a/rust-packaging-26.3.tar.gz and /dev/null differ diff --git a/rust-packaging.spec b/rust-packaging.spec deleted file mode 100644 index aced4c92110d71686fb7531c258325e96cde0303..0000000000000000000000000000000000000000 --- a/rust-packaging.spec +++ /dev/null @@ -1,88 +0,0 @@ -%bcond_without check - -Name: rust-packaging -Version: 26.3 -Release: 1 -Summary: RPM macros and generators for building Rust packages -License: MIT - -URL: https://pagure.io/fedora-rust/rust-packaging -Source: %{url}/archive/%{version}/rust-packaging-%{version}.tar.gz - -Patch: 0001-Temporarily-accept-cargo_prep-V-flag-for-spec-compat.patch - -BuildArch: noarch - -%if %{with check} -BuildRequires: python3-pytest -%endif - -%description -%{summary}. - -%if ! 0%{?rhel} -%package -n rust-srpm-macros -Summary: RPM macros for building Rust projects - -%description -n rust-srpm-macros -RPM macros for building source packages for Rust projects. -%endif - -%package -n cargo-rpm-macros -Summary: RPM macros for building projects with cargo - -# obsolete + provide rust-packaging (removed in Fedora 38) -Obsoletes: rust-packaging < 24 -Provides: rust-packaging = %{version}-%{release} - -Requires: cargo2rpm >= 0.1.8 - -Requires: cargo -Requires: gawk -Requires: grep - -%if ! 0%{?rhel} -Requires: rust-srpm-macros = %{version}-%{release} -%else -# The "rust-srpm-macros" package is built from the "rust" source package in -# RHEL, so the package follows a different versioning scheme. -Requires: rust-srpm-macros -%endif - -%description -n cargo-rpm-macros -RPM macros for building projects with cargo. - -%prep -%autosetup -p1 - -%build -# nothing to do - -%install -install -D -p -m 0644 -t %{buildroot}/%{_rpmmacrodir} macros.d/macros.cargo -install -D -p -m 0644 -t %{buildroot}/%{_rpmmacrodir} macros.d/macros.rust -%if ! 0%{?rhel} -install -D -p -m 0644 -t %{buildroot}/%{_rpmmacrodir} macros.d/macros.rust-srpm -%endif -install -D -p -m 0644 -t %{buildroot}/%{_fileattrsdir} fileattrs/cargo.attr -install -D -p -m 0644 -t %{buildroot}/%{_fileattrsdir} fileattrs/cargo_vendor.attr - -%if ! 0%{?rhel} -%files -n rust-srpm-macros -%license LICENSE -%{_rpmmacrodir}/macros.rust -%{_rpmmacrodir}/macros.rust-srpm -%endif - -%files -n cargo-rpm-macros -%license LICENSE -%{_rpmmacrodir}/macros.cargo -%if 0%{?rhel} -%{_rpmmacrodir}/macros.rust -%endif -%{_fileattrsdir}/cargo.attr -%{_fileattrsdir}/cargo_vendor.attr - -%changelog -* Tue Oct 15 2024 jianglong - 26.3-1 -- Package init