diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 5b51a0e..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/macro-attr-0.2.0.crate diff --git a/0001-add-missing-fragment-specifier.patch b/0001-add-missing-fragment-specifier.patch deleted file mode 100644 index f0b390b..0000000 --- a/0001-add-missing-fragment-specifier.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 335ec79e8b3aaabde41300976c1dd2ca58d7a570 Mon Sep 17 00:00:00 2001 -From: Igor Gnatenko -Date: Wed, 22 Nov 2017 00:27:44 +0100 -Subject: [PATCH] add missing fragment specifier - -Fixes: https://github.com/DanielKeep/rust-custom-derive/issues/33 -Signed-off-by: Igor Gnatenko ---- - tests/stable_encodable.rs | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/stable_encodable.rs b/tests/stable_encodable.rs -index fc1ef07..8d84d34 100644 ---- a/tests/stable_encodable.rs -+++ b/tests/stable_encodable.rs -@@ -116,7 +116,7 @@ macro_rules! StableEncodable { - - ( - @extract_gen_args $fixed:tt, -- ($ty_name:ident: $($tail)*) -+ ($ty_name:ident: $($tail:tt)*) - -> bounds($($bounds:tt)*), ty_clss($($ty_clss:tt)*) - ) => { - StableEncodable! { --- -2.15.1 - diff --git a/README.md b/README.md deleted file mode 100644 index ceedb87..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-macro-attr - -The rust-macro-attr package \ No newline at end of file diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/macro-attr-fix-metadata.diff b/macro-attr-fix-metadata.diff deleted file mode 100644 index b492a79..0000000 --- a/macro-attr-fix-metadata.diff +++ /dev/null @@ -1,20 +0,0 @@ ---- macro-attr-0.2.0/Cargo.toml 2016-11-21T05:04:27+01:00 -+++ macro-attr-0.2.0/Cargo.toml 2018-11-02T20:01:36.545071+01:00 -@@ -13,16 +13,8 @@ - ".cargo/*", - "local/*", - "doc-pkg/*", -+ "scripts/*", - "update-docs.py", --] -- --[workspace] --members = [ -- "enum_derive", -- "newtype_derive", -- "tests/derive-name-macro", -- "tests/derive-name-proc", -- "tests/derive-name-test", - ] - - [features] diff --git a/rust-macro-attr.spec b/rust-macro-attr.spec deleted file mode 100644 index 4552528..0000000 --- a/rust-macro-attr.spec +++ /dev/null @@ -1,143 +0,0 @@ -# Generated by rust2rpm -%bcond_with check -%global debug_package %{nil} - -%global crate macro-attr - -Name: rust-%{crate} -Version: 0.2.0 -Release: 14%{?dist} -Summary: Macro that enables the use of custom, macro-based attributes and derivations - -# Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 -URL: https://crates.io/crates/macro-attr -Source: %{crates_source} -# Initial patched metadata -# * No workspace -Patch0: macro-attr-fix-metadata.diff -# https://github.com/DanielKeep/rust-custom-derive/pull/34 -Patch1: 0001-add-missing-fragment-specifier.patch - -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging -%if %{with check} -BuildRequires: (crate(rustc-serialize/default) >= 0.3.15 with crate(rustc-serialize/default) < 0.4.0) -%endif - -%global _description \ -This crate provides the `macro_attr!` macro that enables the use of custom,\ -macro-based attributes and derivations. Supersedes the `custom_derive` crate. - -%description %{_description} - -%package devel -Summary: %{summary} -BuildArch: noarch - -%description devel %{_description} - -This package contains library source intended for building other packages -which use "%{crate}" crate. - -%files devel -%license LICENSE -%doc README.md -%{cargo_registry}/%{crate}-%{version}/ - -%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 "default" feature of "%{crate}" crate. - -%files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml - -%package -n %{name}+std-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+std-devel %{_description} - -This package contains library source intended for building other packages -which use "std" feature of "%{crate}" crate. - -%files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml - -%package -n %{name}+unstable-macros-1-1-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+unstable-macros-1-1-devel %{_description} - -This package contains library source intended for building other packages -which use "unstable-macros-1-1" feature of "%{crate}" crate. - -%files -n %{name}+unstable-macros-1-1-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml - -%prep -%autosetup -n %{crate}-%{version_no_tilde} -N -find -type f -exec sed -i 's/\r$//' {} + -%autopatch -p1 -%cargo_prep - -%build -%cargo_build - -%install -%cargo_install - -%if %{with check} -%check -%cargo_test -%endif - -%changelog -* Sat Jul 23 2022 Fedora Release Engineering - 0.2.0-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Fri Jan 21 2022 Fedora Release Engineering - 0.2.0-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering - 0.2.0-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Wed Jan 27 2021 Fedora Release Engineering - 0.2.0-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 0.2.0-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Thu Jan 30 2020 Fedora Release Engineering - 0.2.0-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Fri Jul 26 2019 Fedora Release Engineering - 0.2.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sat Mar 09 2019 Igor Gnatenko - 0.2.0-7 -- Adapt to new packaging - -* Sat Feb 02 2019 Fedora Release Engineering - 0.2.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Nov 02 2018 Igor Gnatenko - 0.2.0-5 -- Adapt to new packaging - -* Sat Jul 14 2018 Fedora Release Engineering - 0.2.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri Feb 09 2018 Fedora Release Engineering - 0.2.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Mon Jan 08 2018 Igor Gnatenko - 0.2.0-2 -- Rebuild for rust-packaging v5 - -* Wed Nov 22 2017 Igor Gnatenko - 0.2.0-1 -- Initial package diff --git a/sources b/sources deleted file mode 100644 index 20b6d1f..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (macro-attr-0.2.0.crate) = d0866690ddce3b80104ed76c20c8af126eb568d16230ffde73400951093353f6a080318699a481e737c27f4acf424efa6988810b8833329171925599c24f9a6f