Architecture specific change in rpms/rust-syntex_syntax.git
by githook-noreply@fedoraproject.org
The package rpms/rust-syntex_syntax.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-syntex_syntax.git/commit/?id....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit e4582c042d1d20d46255ab09695fa0494caf13ab
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Fri Apr 6 18:07:51 2018 +0200
Unneeded packages after rustfmt retirement
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 65f59b4..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/syntex_syntax-0.59.1.crate
diff --git a/0001-bump-bitflags-to-1.0.patch b/0001-bump-bitflags-to-1.0.patch
deleted file mode 100644
index e41a15f..0000000
--- a/0001-bump-bitflags-to-1.0.patch
+++ /dev/null
@@ -1,186 +0,0 @@
-From aa5139125723bd8f8f94b585ea1eb2cb1711a7c7 Mon Sep 17 00:00:00 2001
-From: Igor Gnatenko <i.gnatenko.brain(a)gmail.com>
-Date: Fri, 10 Nov 2017 20:23:33 +0100
-Subject: [PATCH] bump bitflags to 1.0
-
-Signed-off-by: Igor Gnatenko <i.gnatenko.brain(a)gmail.com>
----
- src/parse/parser.rs | 38 +++++++++++++++++++-------------------
- 1 file changed, 19 insertions(+), 19 deletions(-)
-
-diff --git a/src/parse/parser.rs b/src/parse/parser.rs
-index 9291711..26bab5f 100644
---- a/src/parse/parser.rs
-+++ b/src/parse/parser.rs
-@@ -2280,7 +2280,7 @@ impl<'a> Parser<'a> {
- let e = if self.token.can_begin_expr()
- && !(self.token == token::OpenDelim(token::Brace)
- && self.restrictions.contains(
-- RESTRICTION_NO_STRUCT_LITERAL)) {
-+ Restrictions::RESTRICTION_NO_STRUCT_LITERAL)) {
- Some(self.parse_expr()?)
- } else {
- None
-@@ -2307,7 +2307,7 @@ impl<'a> Parser<'a> {
- // This is a struct literal, unless we're prohibited
- // from parsing struct literals here.
- let prohibited = self.restrictions.contains(
-- RESTRICTION_NO_STRUCT_LITERAL
-+ Restrictions::RESTRICTION_NO_STRUCT_LITERAL
- );
- if !prohibited {
- return self.parse_struct_expr(lo, pth, attrs);
-@@ -2724,7 +2724,7 @@ impl<'a> Parser<'a> {
- token::Ident(..) if self.token.is_keyword(keywords::In) => {
- self.bump();
- let place = self.parse_expr_res(
-- RESTRICTION_NO_STRUCT_LITERAL,
-+ Restrictions::RESTRICTION_NO_STRUCT_LITERAL,
- None,
- )?;
- let blk = self.parse_block()?;
-@@ -2787,7 +2787,7 @@ impl<'a> Parser<'a> {
-
- let cur_op_span = self.span;
- let restrictions = if op.is_assign_like() {
-- self.restrictions & RESTRICTION_NO_STRUCT_LITERAL
-+ self.restrictions & Restrictions::RESTRICTION_NO_STRUCT_LITERAL
- } else {
- self.restrictions
- };
-@@ -2837,13 +2837,13 @@ impl<'a> Parser<'a> {
-
- let rhs = match op.fixity() {
- Fixity::Right => self.with_res(
-- restrictions - RESTRICTION_STMT_EXPR,
-+ restrictions - Restrictions::RESTRICTION_STMT_EXPR,
- |this| {
- this.parse_assoc_expr_with(op.precedence(),
- LhsExpr::NotYetParsed)
- }),
- Fixity::Left => self.with_res(
-- restrictions - RESTRICTION_STMT_EXPR,
-+ restrictions - Restrictions::RESTRICTION_STMT_EXPR,
- |this| {
- this.parse_assoc_expr_with(op.precedence() + 1,
- LhsExpr::NotYetParsed)
-@@ -2851,7 +2851,7 @@ impl<'a> Parser<'a> {
- // We currently have no non-associative operators that are not handled above by
- // the special cases. The code is here only for future convenience.
- Fixity::None => self.with_res(
-- restrictions - RESTRICTION_STMT_EXPR,
-+ restrictions - Restrictions::RESTRICTION_STMT_EXPR,
- |this| {
- this.parse_assoc_expr_with(op.precedence() + 1,
- LhsExpr::NotYetParsed)
-@@ -2961,7 +2961,7 @@ impl<'a> Parser<'a> {
- if self.token.can_begin_expr() {
- // parse `for i in 1.. { }` as infinite loop, not as `for i in (1..{})`.
- if self.token == token::OpenDelim(token::Brace) {
-- return !self.restrictions.contains(RESTRICTION_NO_STRUCT_LITERAL);
-+ return !self.restrictions.contains(Restrictions::RESTRICTION_NO_STRUCT_LITERAL);
- }
- true
- } else {
-@@ -2975,7 +2975,7 @@ impl<'a> Parser<'a> {
- return self.parse_if_let_expr(attrs);
- }
- let lo = self.prev_span;
-- let cond = self.parse_expr_res(RESTRICTION_NO_STRUCT_LITERAL, None)?;
-+ let cond = self.parse_expr_res(Restrictions::RESTRICTION_NO_STRUCT_LITERAL, None)?;
- let thn = self.parse_block()?;
- let mut els: Option<P<Expr>> = None;
- let mut hi = thn.span;
-@@ -2994,7 +2994,7 @@ impl<'a> Parser<'a> {
- self.expect_keyword(keywords::Let)?;
- let pat = self.parse_pat()?;
- self.expect(&token::Eq)?;
-- let expr = self.parse_expr_res(RESTRICTION_NO_STRUCT_LITERAL, None)?;
-+ let expr = self.parse_expr_res(Restrictions::RESTRICTION_NO_STRUCT_LITERAL, None)?;
- let thn = self.parse_block()?;
- let (hi, els) = if self.eat_keyword(keywords::Else) {
- let expr = self.parse_else_expr()?;
-@@ -3048,7 +3048,7 @@ impl<'a> Parser<'a> {
-
- let pat = self.parse_pat()?;
- self.expect_keyword(keywords::In)?;
-- let expr = self.parse_expr_res(RESTRICTION_NO_STRUCT_LITERAL, None)?;
-+ let expr = self.parse_expr_res(Restrictions::RESTRICTION_NO_STRUCT_LITERAL, None)?;
- let (iattrs, loop_block) = self.parse_inner_attrs_and_block()?;
- attrs.extend(iattrs);
-
-@@ -3063,7 +3063,7 @@ impl<'a> Parser<'a> {
- if self.token.is_keyword(keywords::Let) {
- return self.parse_while_let_expr(opt_ident, span_lo, attrs);
- }
-- let cond = self.parse_expr_res(RESTRICTION_NO_STRUCT_LITERAL, None)?;
-+ let cond = self.parse_expr_res(Restrictions::RESTRICTION_NO_STRUCT_LITERAL, None)?;
- let (iattrs, body) = self.parse_inner_attrs_and_block()?;
- attrs.extend(iattrs);
- let span = span_lo.to(body.span);
-@@ -3077,7 +3077,7 @@ impl<'a> Parser<'a> {
- self.expect_keyword(keywords::Let)?;
- let pat = self.parse_pat()?;
- self.expect(&token::Eq)?;
-- let expr = self.parse_expr_res(RESTRICTION_NO_STRUCT_LITERAL, None)?;
-+ let expr = self.parse_expr_res(Restrictions::RESTRICTION_NO_STRUCT_LITERAL, None)?;
- let (iattrs, body) = self.parse_inner_attrs_and_block()?;
- attrs.extend(iattrs);
- let span = span_lo.to(body.span);
-@@ -3107,7 +3107,7 @@ impl<'a> Parser<'a> {
- fn parse_match_expr(&mut self, mut attrs: ThinVec<Attribute>) -> PResult<'a, P<Expr>> {
- let match_span = self.prev_span;
- let lo = self.prev_span;
-- let discriminant = self.parse_expr_res(RESTRICTION_NO_STRUCT_LITERAL,
-+ let discriminant = self.parse_expr_res(Restrictions::RESTRICTION_NO_STRUCT_LITERAL,
- None)?;
- if let Err(mut e) = self.expect(&token::OpenDelim(token::Brace)) {
- if self.token == token::Token::Semi {
-@@ -3149,7 +3149,7 @@ impl<'a> Parser<'a> {
- None
- };
- self.expect(&token::FatArrow)?;
-- let expr = self.parse_expr_res(RESTRICTION_STMT_EXPR, None)?;
-+ let expr = self.parse_expr_res(Restrictions::RESTRICTION_STMT_EXPR, None)?;
-
- let require_comma =
- !classify::expr_is_simple_block(&expr)
-@@ -3731,7 +3731,7 @@ impl<'a> Parser<'a> {
- self.look_ahead(2, |t| *t == token::OpenDelim(token::Brace)) &&
-
- // prevent `while catch {} {}`, `if catch {} {} else {}`, etc.
-- !self.restrictions.contains(RESTRICTION_NO_STRUCT_LITERAL)
-+ !self.restrictions.contains(Restrictions::RESTRICTION_NO_STRUCT_LITERAL)
- }
-
- fn is_union_item(&self) -> bool {
-@@ -3853,7 +3853,7 @@ impl<'a> Parser<'a> {
- self.mk_expr(lo.to(hi), ExprKind::Path(None, pth), ThinVec::new())
- };
-
-- let expr = self.with_res(RESTRICTION_STMT_EXPR, |this| {
-+ let expr = self.with_res(Restrictions::RESTRICTION_STMT_EXPR, |this| {
- let expr = this.parse_dot_or_call_expr_with(expr, lo, attrs.into())?;
- this.parse_assoc_expr_with(0, LhsExpr::AlreadyParsed(expr))
- })?;
-@@ -3994,7 +3994,7 @@ impl<'a> Parser<'a> {
-
- // Remainder are line-expr stmts.
- let e = self.parse_expr_res(
-- RESTRICTION_STMT_EXPR, Some(attrs.into()))?;
-+ Restrictions::RESTRICTION_STMT_EXPR, Some(attrs.into()))?;
- Stmt {
- id: ast::DUMMY_NODE_ID,
- span: lo.to(e.span),
-@@ -4007,7 +4007,7 @@ impl<'a> Parser<'a> {
-
- /// Is this expression a successfully-parsed statement?
- fn expr_is_complete(&mut self, e: &Expr) -> bool {
-- self.restrictions.contains(RESTRICTION_STMT_EXPR) &&
-+ self.restrictions.contains(Restrictions::RESTRICTION_STMT_EXPR) &&
- !classify::expr_requires_semi_to_be_stmt(e)
- }
-
---
-2.15.0
-
diff --git a/README.md b/README.md
deleted file mode 100644
index e847651..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-syntex_syntax
-
-The rust-syntex_syntax package
\ No newline at end of file
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..ab3b01f
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Unneeded packages after rustfmt retirement
diff --git a/rust-syntex_syntax.spec b/rust-syntex_syntax.spec
deleted file mode 100644
index 87de51d..0000000
--- a/rust-syntex_syntax.spec
+++ /dev/null
@@ -1,95 +0,0 @@
-# Generated by rust2rpm
-%bcond_without check
-%global debug_package %{nil}
-
-%global crate syntex_syntax
-
-Name: rust-%{crate}
-Version: 0.59.1
-Release: 4%{?dist}
-Summary: Backport of libsyntax
-
-License: MIT or ASL 2.0
-URL: https://crates.io/crates/syntex_syntax
-Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{...
-# Initial patched metadata
-# * Bump bitflags to 1.0, https://github.com/serde-rs/syntex/pull/124
-Patch0: syntex_syntax-0.59.1-fix-metadata.diff
-# Patch code for bitflags 1.0
-Patch1: 0001-bump-bitflags-to-1.0.patch
-
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
-# [dependencies]
-BuildRequires: (crate(bitflags) >= 1.0.0 with crate(bitflags) < 2.0.0)
-BuildRequires: (crate(extprim) >= 1.0.0 with crate(extprim) < 2.0.0)
-BuildRequires: (crate(log) >= 0.3.0 with crate(log) < 0.4.0)
-BuildRequires: ((crate(serde) >= 1.0.0 with crate(serde) < 2.0.0) with crate(serde/rc))
-BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
-BuildRequires: (crate(serde_json) >= 1.0.0 with crate(serde_json) < 2.0.0)
-BuildRequires: (crate(syntex_errors) >= 0.59.0 with crate(syntex_errors) < 0.60.0)
-BuildRequires: (crate(syntex_pos) >= 0.59.0 with crate(syntex_pos) < 0.60.0)
-BuildRequires: (crate(unicode-xid) >= 0.1.0 with crate(unicode-xid) < 0.2.0)
-
-%description
-%{summary}.
-
-%package devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description devel
-Backport of libsyntax.
-
-This package contains library source intended for building other packages
-which use %{crate} from crates.io.
-
-%prep
-%autosetup -n %{crate}-%{version} -p1
-# Treating warnings as errors is bad idea
-t=$(stat -c %y src/lib.rs)
-sed -i -e '/#!\[deny(warnings)\]/d' src/lib.rs
-touch -d "$t" src/lib.rs
-%cargo_prep
-
-%build
-%cargo_build
-
-%install
-%cargo_install
-
-%if %{with check}
-%check
-%cargo_test
-%endif
-
-%files devel
-%license LICENSE-MIT LICENSE-APACHE
-%doc README.md
-%{cargo_registry}/%{crate}-%{version}/
-
-%changelog
-* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.59.1-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.59.1-3
-- Rebuild for rust-packaging v5
-
-* Fri Nov 10 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.59.1-2
-- Bump bitflags to 1.0
-
-* Mon Jun 26 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.59.1-1
-- Update to 0.59.1
-
-* Thu Jun 15 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.59.0-1
-- Update to 0.59.0
-
-* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.58.1-2
-- Port to use rust-packaging
-
-* Fri Feb 24 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.58.1-1
-- Update to 0.58.1
-
-* Sat Feb 18 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.58.0-1
-- Initial package
diff --git a/sources b/sources
deleted file mode 100644
index ffba3e2..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (syntex_syntax-0.59.1.crate) = e0542a10de238b36b32b7d0efd41f4cee3f221c2df9694bd8656420ee66a382a7fb168befdaa0e756a981a860327c4f7cde5f62a1877a64d78386cf8b68cef8b
diff --git a/syntex_syntax-0.59.1-fix-metadata.diff b/syntex_syntax-0.59.1-fix-metadata.diff
deleted file mode 100644
index 58a1016..0000000
--- a/syntex_syntax-0.59.1-fix-metadata.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- syntex_syntax-0.59.1/Cargo.toml 1970-01-01T01:00:00+01:00
-+++ syntex_syntax-0.59.1/Cargo.toml 2017-11-10T20:18:02.943010+01:00
-@@ -36,7 +36,7 @@
- version = "1.0"
-
- [dependencies.bitflags]
--version = "0.9"
-+version = "1.0"
-
- [dependencies.syntex_errors]
- version = "0.59"
6 years, 1 month
Architecture specific change in rpms/rust-rustfmt.git
by githook-noreply@fedoraproject.org
The package rpms/rust-rustfmt.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-rustfmt.git/commit/?id=888d3....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 888d34a184e0d33830f94140122f508fd3ccaeba
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Fri Apr 6 18:07:52 2018 +0200
Replaced by rustfmt-preview from rustc.src
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 01bc6f4..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/rustfmt-0.9.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 013ad6f..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-rustfmt
-
-The rust-rustfmt package
\ No newline at end of file
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..0324207
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Replaced by rustfmt-preview from rustc.src
diff --git a/rust-rustfmt.spec b/rust-rustfmt.spec
deleted file mode 100644
index ee0937d..0000000
--- a/rust-rustfmt.spec
+++ /dev/null
@@ -1,119 +0,0 @@
-# Generated by rust2rpm
-%bcond_without check
-
-%global crate rustfmt
-
-Name: rust-%{crate}
-Version: 0.9.0
-Release: 7%{?dist}
-Summary: Tool to find and fix Rust formatting issues
-
-License: ASL 2.0 or MIT
-URL: https://crates.io/crates/rustfmt
-Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{...
-# Initial patched metadata
-# * No windows
-Patch0: rustfmt-0.9.0-fix-metadata.diff
-
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
-# [dependencies]
-BuildRequires: (crate(diff) >= 0.1.0 with crate(diff) < 0.2.0)
-BuildRequires: (crate(env_logger) >= 0.4.0 with crate(env_logger) < 0.5.0)
-BuildRequires: (crate(getopts) >= 0.2.0 with crate(getopts) < 0.3.0)
-BuildRequires: (crate(libc) >= 0.2.11 with crate(libc) < 0.3.0)
-BuildRequires: (crate(log) >= 0.3.0 with crate(log) < 0.4.0)
-BuildRequires: (crate(regex) >= 0.2.0 with crate(regex) < 0.3.0)
-BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
-BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
-BuildRequires: (crate(serde_json) >= 1.0.0 with crate(serde_json) < 2.0.0)
-BuildRequires: (crate(strings) >= 0.1.0 with crate(strings) < 0.2.0)
-BuildRequires: (crate(syntex_errors) >= 0.59.0 with crate(syntex_errors) < 0.60.0)
-BuildRequires: (crate(syntex_syntax) >= 0.59.0 with crate(syntex_syntax) < 0.60.0)
-BuildRequires: (crate(term) >= 0.4.0 with crate(term) < 0.5.0)
-BuildRequires: (crate(toml) >= 0.4.0 with crate(toml) < 0.5.0)
-BuildRequires: (crate(unicode-segmentation) >= 1.0.0 with crate(unicode-segmentation) < 2.0.0)
-
-%description
-%{summary}.
-
-%package -n %{crate}
-Summary: %{summary}
-
-%description -n %{crate}
-%{summary}.
-
-%package devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description devel
-Tool to find and fix Rust formatting issues.
-
-This package contains library source intended for building other packages
-which use %{crate} from crates.io.
-
-%prep
-%autosetup -n %{crate}-%{version} -p1
-%cargo_prep
-
-%build
-%cargo_build
-
-%install
-%cargo_install
-
-%if %{with check}
-%check
-%cargo_test
-%endif
-
-%files -n %{crate}
-%license LICENSE-APACHE LICENSE-MIT
-%{_bindir}/rustfmt
-%{_bindir}/cargo-fmt
-
-%files devel
-%license LICENSE-APACHE LICENSE-MIT
-%{cargo_registry}/%{crate}-%{version}/
-
-%changelog
-* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9.0-7
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.9.0-6
-- Rebuild for rust-packaging v5
-
-* Wed Nov 15 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.9.0-5
-- Rebuild for dependency change
-
-* Tue Nov 14 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.9.0-4
-- Rebuild for dependency change
-
-* Mon Nov 13 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.9.0-3
-- Rebuild for dependencies change
-
-* Sat Nov 11 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.9.0-2
-- Include licenses to main package
-
-* Thu Jun 15 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.9.0-1
-- Update to 0.9.0
-
-* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.8.1-2
-- Port to use rust-packaging
-
-* Thu Mar 30 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.8.1-1
-- Update to 0.8.1
-
-* Sat Mar 11 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.8.0-2
-- Rename with rust prefix
-
-* Wed Mar 08 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.8.0-1
-- Update to 0.8.0
-
-* Sun Feb 26 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.7.1-2
-- Rebuild
-
-* Sun Feb 26 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.7.1-1
-- Initial package
diff --git a/rustfmt-0.9.0-fix-metadata.diff b/rustfmt-0.9.0-fix-metadata.diff
deleted file mode 100644
index ae6f492..0000000
--- a/rustfmt-0.9.0-fix-metadata.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- rustfmt-0.9.0/Cargo.toml 1970-01-01T01:00:00+01:00
-+++ rustfmt-0.9.0/Cargo.toml 2017-06-15T20:07:46.196156+02:00
-@@ -69,10 +69,5 @@
- [features]
- cargo-fmt = []
- default = ["cargo-fmt"]
--[target."cfg(windows)".dependencies.kernel32-sys]
--version = "0.2.2"
--
--[target."cfg(windows)".dependencies.winapi]
--version = "0.2.7"
- [target."cfg(unix)".dependencies.libc]
- version = "0.2.11"
diff --git a/sources b/sources
deleted file mode 100644
index 9b6e96c..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (rustfmt-0.9.0.crate) = 6a09091f27dedcb8e838ee4561ebf05dd23b2e368853b8494a3e14574cd47ce04da20a388963c885863f535a50d8e37f9880a6eaba35c5cc7677bde342f47bce
6 years, 1 month
Architecture specific change in rpms/rust-syntex_pos.git
by githook-noreply@fedoraproject.org
The package rpms/rust-syntex_pos.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-syntex_pos.git/commit/?id=2b....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 2ba3e05dd14f266d93b67ed4aa82df6ca809c5c3
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Fri Apr 6 18:07:45 2018 +0200
Unneeded packages after rustfmt retirement
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 6aaeed6..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/syntex_pos-0.59.1.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 212a047..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-syntex_pos
-
-The rust-syntex_pos package
\ No newline at end of file
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..ab3b01f
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Unneeded packages after rustfmt retirement
diff --git a/rust-syntex_pos.spec b/rust-syntex_pos.spec
deleted file mode 100644
index dc16a1b..0000000
--- a/rust-syntex_pos.spec
+++ /dev/null
@@ -1,79 +0,0 @@
-# Generated by rust2rpm
-%bcond_without check
-%global debug_package %{nil}
-
-%global crate syntex_pos
-
-Name: rust-%{crate}
-Version: 0.59.1
-Release: 3%{?dist}
-Summary: Backport of libsyntax_pos
-
-License: MIT or ASL 2.0
-URL: https://crates.io/crates/syntex_pos
-Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{...
-
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
-# [dependencies]
-BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
-BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
-
-%description
-%{summary}.
-
-%package devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description devel
-Backport of libsyntax_pos.
-
-This package contains library source intended for building other packages
-which use %{crate} from crates.io.
-
-%prep
-%autosetup -n %{crate}-%{version} -p1
-%cargo_prep
-
-%build
-%cargo_build
-
-%install
-%cargo_install
-
-%if %{with check}
-%check
-%cargo_test
-%endif
-
-%files devel
-%license LICENSE-MIT LICENSE-APACHE
-%doc README.md
-%{cargo_registry}/%{crate}-%{version}/
-
-%changelog
-* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.59.1-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.59.1-2
-- Rebuild for rust-packaging v5
-
-* Mon Jun 26 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.59.1-1
-- Update to 0.59.1
-
-* Thu Jun 15 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.59.0-1
-- Update to 0.59.0
-
-* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.58.1-2
-- Port to use rust-packaging
-
-* Fri Feb 24 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.58.1-1
-- Update to 0.58.1
-
-* Fri Feb 24 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.58.0-2
-- Use rich dependencies
-
-* Sat Feb 18 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.58.0-1
-- Initial package
diff --git a/sources b/sources
deleted file mode 100644
index 4889265..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (syntex_pos-0.59.1.crate) = d7a34ce17fcea91827977151c482043a096b78c0734ab270b2934d0a119a52e4ad417321d055796479f8d1708e071b5c6bd5af1d5011aa3c3b9896474db3c48c
6 years, 1 month
Architecture specific change in rpms/rust-syntex_errors.git
by githook-noreply@fedoraproject.org
The package rpms/rust-syntex_errors.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-syntex_errors.git/commit/?id....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 6c51d2e6614ddc2f730a29020908bdd468ee0663
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Fri Apr 6 18:07:38 2018 +0200
Unneeded packages after rustfmt retirement
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 0369662..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/syntex_errors-0.59.1.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 3af6922..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-syntex_errors
-
-The rust-syntex_errors package
\ No newline at end of file
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..ab3b01f
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Unneeded packages after rustfmt retirement
diff --git a/rust-syntex_errors.spec b/rust-syntex_errors.spec
deleted file mode 100644
index 70bf6ae..0000000
--- a/rust-syntex_errors.spec
+++ /dev/null
@@ -1,83 +0,0 @@
-# Generated by rust2rpm
-%bcond_without check
-%global debug_package %{nil}
-
-%global crate syntex_errors
-
-Name: rust-%{crate}
-Version: 0.59.1
-Release: 3%{?dist}
-Summary: Backport of librustc_errors
-
-License: MIT or ASL 2.0
-URL: https://crates.io/crates/syntex_errors
-Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{...
-
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
-# [dependencies]
-BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0)
-BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
-BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
-BuildRequires: (crate(syntex_pos) >= 0.59.0 with crate(syntex_pos) < 0.60.0)
-BuildRequires: (crate(term) >= 0.4.0 with crate(term) < 0.5.0)
-BuildRequires: (crate(unicode-xid) >= 0.1.0 with crate(unicode-xid) < 0.2.0)
-
-%description
-%{summary}.
-
-%package devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description devel
-Backport of librustc_errors.
-
-This package contains library source intended for building other packages
-which use %{crate} from crates.io.
-
-%prep
-%autosetup -n %{crate}-%{version} -p1
-%cargo_prep
-
-%build
-%cargo_build
-
-%install
-%cargo_install
-
-%if %{with check}
-%check
-%cargo_test
-%endif
-
-%files devel
-%license LICENSE-MIT LICENSE-APACHE
-%doc README.md
-%{cargo_registry}/%{crate}-%{version}/
-
-%changelog
-* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.59.1-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.59.1-2
-- Rebuild for rust-packaging v5
-
-* Mon Jun 26 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.59.1-1
-- Update to 0.59.1
-
-* Thu Jun 15 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.59.0-1
-- Update to 0.59.0
-
-* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.58.1-2
-- Port to use rust-packaging
-
-* Fri Feb 24 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.58.1-1
-- Update to 0.58.1
-
-* Fri Feb 24 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.58.0-2
-- Use rich dependencies
-
-* Sat Feb 18 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.58.0-1
-- Initial package
diff --git a/sources b/sources
deleted file mode 100644
index 66115c1..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (syntex_errors-0.59.1.crate) = 58cf16a48545dfcc0faf740f583e1397a36e0364bec50cb10d141dc28e4ff92054358b85a86060deb92cfa2c9946c5bcf86d92691c3e26ee39444e7d800e0c34
6 years, 1 month
Architecture specific change in rpms/rust-syntex_syntax.git
by githook-noreply@fedoraproject.org
The package rpms/rust-syntex_syntax.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-syntex_syntax.git/commit/?id....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit fed9b95c9fe756f9e71c15cbe5fab9d8a4894309
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Fri Apr 6 18:07:04 2018 +0200
Unneeded packages after rustfmt retirement
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 65f59b4..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/syntex_syntax-0.59.1.crate
diff --git a/0001-bump-bitflags-to-1.0.patch b/0001-bump-bitflags-to-1.0.patch
deleted file mode 100644
index e41a15f..0000000
--- a/0001-bump-bitflags-to-1.0.patch
+++ /dev/null
@@ -1,186 +0,0 @@
-From aa5139125723bd8f8f94b585ea1eb2cb1711a7c7 Mon Sep 17 00:00:00 2001
-From: Igor Gnatenko <i.gnatenko.brain(a)gmail.com>
-Date: Fri, 10 Nov 2017 20:23:33 +0100
-Subject: [PATCH] bump bitflags to 1.0
-
-Signed-off-by: Igor Gnatenko <i.gnatenko.brain(a)gmail.com>
----
- src/parse/parser.rs | 38 +++++++++++++++++++-------------------
- 1 file changed, 19 insertions(+), 19 deletions(-)
-
-diff --git a/src/parse/parser.rs b/src/parse/parser.rs
-index 9291711..26bab5f 100644
---- a/src/parse/parser.rs
-+++ b/src/parse/parser.rs
-@@ -2280,7 +2280,7 @@ impl<'a> Parser<'a> {
- let e = if self.token.can_begin_expr()
- && !(self.token == token::OpenDelim(token::Brace)
- && self.restrictions.contains(
-- RESTRICTION_NO_STRUCT_LITERAL)) {
-+ Restrictions::RESTRICTION_NO_STRUCT_LITERAL)) {
- Some(self.parse_expr()?)
- } else {
- None
-@@ -2307,7 +2307,7 @@ impl<'a> Parser<'a> {
- // This is a struct literal, unless we're prohibited
- // from parsing struct literals here.
- let prohibited = self.restrictions.contains(
-- RESTRICTION_NO_STRUCT_LITERAL
-+ Restrictions::RESTRICTION_NO_STRUCT_LITERAL
- );
- if !prohibited {
- return self.parse_struct_expr(lo, pth, attrs);
-@@ -2724,7 +2724,7 @@ impl<'a> Parser<'a> {
- token::Ident(..) if self.token.is_keyword(keywords::In) => {
- self.bump();
- let place = self.parse_expr_res(
-- RESTRICTION_NO_STRUCT_LITERAL,
-+ Restrictions::RESTRICTION_NO_STRUCT_LITERAL,
- None,
- )?;
- let blk = self.parse_block()?;
-@@ -2787,7 +2787,7 @@ impl<'a> Parser<'a> {
-
- let cur_op_span = self.span;
- let restrictions = if op.is_assign_like() {
-- self.restrictions & RESTRICTION_NO_STRUCT_LITERAL
-+ self.restrictions & Restrictions::RESTRICTION_NO_STRUCT_LITERAL
- } else {
- self.restrictions
- };
-@@ -2837,13 +2837,13 @@ impl<'a> Parser<'a> {
-
- let rhs = match op.fixity() {
- Fixity::Right => self.with_res(
-- restrictions - RESTRICTION_STMT_EXPR,
-+ restrictions - Restrictions::RESTRICTION_STMT_EXPR,
- |this| {
- this.parse_assoc_expr_with(op.precedence(),
- LhsExpr::NotYetParsed)
- }),
- Fixity::Left => self.with_res(
-- restrictions - RESTRICTION_STMT_EXPR,
-+ restrictions - Restrictions::RESTRICTION_STMT_EXPR,
- |this| {
- this.parse_assoc_expr_with(op.precedence() + 1,
- LhsExpr::NotYetParsed)
-@@ -2851,7 +2851,7 @@ impl<'a> Parser<'a> {
- // We currently have no non-associative operators that are not handled above by
- // the special cases. The code is here only for future convenience.
- Fixity::None => self.with_res(
-- restrictions - RESTRICTION_STMT_EXPR,
-+ restrictions - Restrictions::RESTRICTION_STMT_EXPR,
- |this| {
- this.parse_assoc_expr_with(op.precedence() + 1,
- LhsExpr::NotYetParsed)
-@@ -2961,7 +2961,7 @@ impl<'a> Parser<'a> {
- if self.token.can_begin_expr() {
- // parse `for i in 1.. { }` as infinite loop, not as `for i in (1..{})`.
- if self.token == token::OpenDelim(token::Brace) {
-- return !self.restrictions.contains(RESTRICTION_NO_STRUCT_LITERAL);
-+ return !self.restrictions.contains(Restrictions::RESTRICTION_NO_STRUCT_LITERAL);
- }
- true
- } else {
-@@ -2975,7 +2975,7 @@ impl<'a> Parser<'a> {
- return self.parse_if_let_expr(attrs);
- }
- let lo = self.prev_span;
-- let cond = self.parse_expr_res(RESTRICTION_NO_STRUCT_LITERAL, None)?;
-+ let cond = self.parse_expr_res(Restrictions::RESTRICTION_NO_STRUCT_LITERAL, None)?;
- let thn = self.parse_block()?;
- let mut els: Option<P<Expr>> = None;
- let mut hi = thn.span;
-@@ -2994,7 +2994,7 @@ impl<'a> Parser<'a> {
- self.expect_keyword(keywords::Let)?;
- let pat = self.parse_pat()?;
- self.expect(&token::Eq)?;
-- let expr = self.parse_expr_res(RESTRICTION_NO_STRUCT_LITERAL, None)?;
-+ let expr = self.parse_expr_res(Restrictions::RESTRICTION_NO_STRUCT_LITERAL, None)?;
- let thn = self.parse_block()?;
- let (hi, els) = if self.eat_keyword(keywords::Else) {
- let expr = self.parse_else_expr()?;
-@@ -3048,7 +3048,7 @@ impl<'a> Parser<'a> {
-
- let pat = self.parse_pat()?;
- self.expect_keyword(keywords::In)?;
-- let expr = self.parse_expr_res(RESTRICTION_NO_STRUCT_LITERAL, None)?;
-+ let expr = self.parse_expr_res(Restrictions::RESTRICTION_NO_STRUCT_LITERAL, None)?;
- let (iattrs, loop_block) = self.parse_inner_attrs_and_block()?;
- attrs.extend(iattrs);
-
-@@ -3063,7 +3063,7 @@ impl<'a> Parser<'a> {
- if self.token.is_keyword(keywords::Let) {
- return self.parse_while_let_expr(opt_ident, span_lo, attrs);
- }
-- let cond = self.parse_expr_res(RESTRICTION_NO_STRUCT_LITERAL, None)?;
-+ let cond = self.parse_expr_res(Restrictions::RESTRICTION_NO_STRUCT_LITERAL, None)?;
- let (iattrs, body) = self.parse_inner_attrs_and_block()?;
- attrs.extend(iattrs);
- let span = span_lo.to(body.span);
-@@ -3077,7 +3077,7 @@ impl<'a> Parser<'a> {
- self.expect_keyword(keywords::Let)?;
- let pat = self.parse_pat()?;
- self.expect(&token::Eq)?;
-- let expr = self.parse_expr_res(RESTRICTION_NO_STRUCT_LITERAL, None)?;
-+ let expr = self.parse_expr_res(Restrictions::RESTRICTION_NO_STRUCT_LITERAL, None)?;
- let (iattrs, body) = self.parse_inner_attrs_and_block()?;
- attrs.extend(iattrs);
- let span = span_lo.to(body.span);
-@@ -3107,7 +3107,7 @@ impl<'a> Parser<'a> {
- fn parse_match_expr(&mut self, mut attrs: ThinVec<Attribute>) -> PResult<'a, P<Expr>> {
- let match_span = self.prev_span;
- let lo = self.prev_span;
-- let discriminant = self.parse_expr_res(RESTRICTION_NO_STRUCT_LITERAL,
-+ let discriminant = self.parse_expr_res(Restrictions::RESTRICTION_NO_STRUCT_LITERAL,
- None)?;
- if let Err(mut e) = self.expect(&token::OpenDelim(token::Brace)) {
- if self.token == token::Token::Semi {
-@@ -3149,7 +3149,7 @@ impl<'a> Parser<'a> {
- None
- };
- self.expect(&token::FatArrow)?;
-- let expr = self.parse_expr_res(RESTRICTION_STMT_EXPR, None)?;
-+ let expr = self.parse_expr_res(Restrictions::RESTRICTION_STMT_EXPR, None)?;
-
- let require_comma =
- !classify::expr_is_simple_block(&expr)
-@@ -3731,7 +3731,7 @@ impl<'a> Parser<'a> {
- self.look_ahead(2, |t| *t == token::OpenDelim(token::Brace)) &&
-
- // prevent `while catch {} {}`, `if catch {} {} else {}`, etc.
-- !self.restrictions.contains(RESTRICTION_NO_STRUCT_LITERAL)
-+ !self.restrictions.contains(Restrictions::RESTRICTION_NO_STRUCT_LITERAL)
- }
-
- fn is_union_item(&self) -> bool {
-@@ -3853,7 +3853,7 @@ impl<'a> Parser<'a> {
- self.mk_expr(lo.to(hi), ExprKind::Path(None, pth), ThinVec::new())
- };
-
-- let expr = self.with_res(RESTRICTION_STMT_EXPR, |this| {
-+ let expr = self.with_res(Restrictions::RESTRICTION_STMT_EXPR, |this| {
- let expr = this.parse_dot_or_call_expr_with(expr, lo, attrs.into())?;
- this.parse_assoc_expr_with(0, LhsExpr::AlreadyParsed(expr))
- })?;
-@@ -3994,7 +3994,7 @@ impl<'a> Parser<'a> {
-
- // Remainder are line-expr stmts.
- let e = self.parse_expr_res(
-- RESTRICTION_STMT_EXPR, Some(attrs.into()))?;
-+ Restrictions::RESTRICTION_STMT_EXPR, Some(attrs.into()))?;
- Stmt {
- id: ast::DUMMY_NODE_ID,
- span: lo.to(e.span),
-@@ -4007,7 +4007,7 @@ impl<'a> Parser<'a> {
-
- /// Is this expression a successfully-parsed statement?
- fn expr_is_complete(&mut self, e: &Expr) -> bool {
-- self.restrictions.contains(RESTRICTION_STMT_EXPR) &&
-+ self.restrictions.contains(Restrictions::RESTRICTION_STMT_EXPR) &&
- !classify::expr_requires_semi_to_be_stmt(e)
- }
-
---
-2.15.0
-
diff --git a/README.md b/README.md
deleted file mode 100644
index e847651..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-syntex_syntax
-
-The rust-syntex_syntax package
\ No newline at end of file
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..ab3b01f
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Unneeded packages after rustfmt retirement
diff --git a/rust-syntex_syntax.spec b/rust-syntex_syntax.spec
deleted file mode 100644
index 87de51d..0000000
--- a/rust-syntex_syntax.spec
+++ /dev/null
@@ -1,95 +0,0 @@
-# Generated by rust2rpm
-%bcond_without check
-%global debug_package %{nil}
-
-%global crate syntex_syntax
-
-Name: rust-%{crate}
-Version: 0.59.1
-Release: 4%{?dist}
-Summary: Backport of libsyntax
-
-License: MIT or ASL 2.0
-URL: https://crates.io/crates/syntex_syntax
-Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{...
-# Initial patched metadata
-# * Bump bitflags to 1.0, https://github.com/serde-rs/syntex/pull/124
-Patch0: syntex_syntax-0.59.1-fix-metadata.diff
-# Patch code for bitflags 1.0
-Patch1: 0001-bump-bitflags-to-1.0.patch
-
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
-# [dependencies]
-BuildRequires: (crate(bitflags) >= 1.0.0 with crate(bitflags) < 2.0.0)
-BuildRequires: (crate(extprim) >= 1.0.0 with crate(extprim) < 2.0.0)
-BuildRequires: (crate(log) >= 0.3.0 with crate(log) < 0.4.0)
-BuildRequires: ((crate(serde) >= 1.0.0 with crate(serde) < 2.0.0) with crate(serde/rc))
-BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
-BuildRequires: (crate(serde_json) >= 1.0.0 with crate(serde_json) < 2.0.0)
-BuildRequires: (crate(syntex_errors) >= 0.59.0 with crate(syntex_errors) < 0.60.0)
-BuildRequires: (crate(syntex_pos) >= 0.59.0 with crate(syntex_pos) < 0.60.0)
-BuildRequires: (crate(unicode-xid) >= 0.1.0 with crate(unicode-xid) < 0.2.0)
-
-%description
-%{summary}.
-
-%package devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description devel
-Backport of libsyntax.
-
-This package contains library source intended for building other packages
-which use %{crate} from crates.io.
-
-%prep
-%autosetup -n %{crate}-%{version} -p1
-# Treating warnings as errors is bad idea
-t=$(stat -c %y src/lib.rs)
-sed -i -e '/#!\[deny(warnings)\]/d' src/lib.rs
-touch -d "$t" src/lib.rs
-%cargo_prep
-
-%build
-%cargo_build
-
-%install
-%cargo_install
-
-%if %{with check}
-%check
-%cargo_test
-%endif
-
-%files devel
-%license LICENSE-MIT LICENSE-APACHE
-%doc README.md
-%{cargo_registry}/%{crate}-%{version}/
-
-%changelog
-* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.59.1-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.59.1-3
-- Rebuild for rust-packaging v5
-
-* Fri Nov 10 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.59.1-2
-- Bump bitflags to 1.0
-
-* Mon Jun 26 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.59.1-1
-- Update to 0.59.1
-
-* Thu Jun 15 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.59.0-1
-- Update to 0.59.0
-
-* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.58.1-2
-- Port to use rust-packaging
-
-* Fri Feb 24 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.58.1-1
-- Update to 0.58.1
-
-* Sat Feb 18 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.58.0-1
-- Initial package
diff --git a/sources b/sources
deleted file mode 100644
index ffba3e2..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (syntex_syntax-0.59.1.crate) = e0542a10de238b36b32b7d0efd41f4cee3f221c2df9694bd8656420ee66a382a7fb168befdaa0e756a981a860327c4f7cde5f62a1877a64d78386cf8b68cef8b
diff --git a/syntex_syntax-0.59.1-fix-metadata.diff b/syntex_syntax-0.59.1-fix-metadata.diff
deleted file mode 100644
index 58a1016..0000000
--- a/syntex_syntax-0.59.1-fix-metadata.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- syntex_syntax-0.59.1/Cargo.toml 1970-01-01T01:00:00+01:00
-+++ syntex_syntax-0.59.1/Cargo.toml 2017-11-10T20:18:02.943010+01:00
-@@ -36,7 +36,7 @@
- version = "1.0"
-
- [dependencies.bitflags]
--version = "0.9"
-+version = "1.0"
-
- [dependencies.syntex_errors]
- version = "0.59"
6 years, 1 month
Architecture specific change in rpms/rust-syntex_pos.git
by githook-noreply@fedoraproject.org
The package rpms/rust-syntex_pos.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-syntex_pos.git/commit/?id=dc....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit dc14c41cd82611a1d655cb4d4acd226dd538fd47
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Fri Apr 6 18:06:57 2018 +0200
Unneeded packages after rustfmt retirement
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 6aaeed6..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/syntex_pos-0.59.1.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 212a047..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-syntex_pos
-
-The rust-syntex_pos package
\ No newline at end of file
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..ab3b01f
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Unneeded packages after rustfmt retirement
diff --git a/rust-syntex_pos.spec b/rust-syntex_pos.spec
deleted file mode 100644
index dc16a1b..0000000
--- a/rust-syntex_pos.spec
+++ /dev/null
@@ -1,79 +0,0 @@
-# Generated by rust2rpm
-%bcond_without check
-%global debug_package %{nil}
-
-%global crate syntex_pos
-
-Name: rust-%{crate}
-Version: 0.59.1
-Release: 3%{?dist}
-Summary: Backport of libsyntax_pos
-
-License: MIT or ASL 2.0
-URL: https://crates.io/crates/syntex_pos
-Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{...
-
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
-# [dependencies]
-BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
-BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
-
-%description
-%{summary}.
-
-%package devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description devel
-Backport of libsyntax_pos.
-
-This package contains library source intended for building other packages
-which use %{crate} from crates.io.
-
-%prep
-%autosetup -n %{crate}-%{version} -p1
-%cargo_prep
-
-%build
-%cargo_build
-
-%install
-%cargo_install
-
-%if %{with check}
-%check
-%cargo_test
-%endif
-
-%files devel
-%license LICENSE-MIT LICENSE-APACHE
-%doc README.md
-%{cargo_registry}/%{crate}-%{version}/
-
-%changelog
-* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.59.1-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.59.1-2
-- Rebuild for rust-packaging v5
-
-* Mon Jun 26 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.59.1-1
-- Update to 0.59.1
-
-* Thu Jun 15 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.59.0-1
-- Update to 0.59.0
-
-* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.58.1-2
-- Port to use rust-packaging
-
-* Fri Feb 24 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.58.1-1
-- Update to 0.58.1
-
-* Fri Feb 24 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.58.0-2
-- Use rich dependencies
-
-* Sat Feb 18 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.58.0-1
-- Initial package
diff --git a/sources b/sources
deleted file mode 100644
index 4889265..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (syntex_pos-0.59.1.crate) = d7a34ce17fcea91827977151c482043a096b78c0734ab270b2934d0a119a52e4ad417321d055796479f8d1708e071b5c6bd5af1d5011aa3c3b9896474db3c48c
6 years, 1 month
Architecture specific change in rpms/rust-syntex_errors.git
by githook-noreply@fedoraproject.org
The package rpms/rust-syntex_errors.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-syntex_errors.git/commit/?id....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 6e28ee24154186908ec035bd272e76f5c7058b06
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Fri Apr 6 18:06:49 2018 +0200
Unneeded packages after rustfmt retirement
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 0369662..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/syntex_errors-0.59.1.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 3af6922..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-syntex_errors
-
-The rust-syntex_errors package
\ No newline at end of file
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..ab3b01f
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Unneeded packages after rustfmt retirement
diff --git a/rust-syntex_errors.spec b/rust-syntex_errors.spec
deleted file mode 100644
index 70bf6ae..0000000
--- a/rust-syntex_errors.spec
+++ /dev/null
@@ -1,83 +0,0 @@
-# Generated by rust2rpm
-%bcond_without check
-%global debug_package %{nil}
-
-%global crate syntex_errors
-
-Name: rust-%{crate}
-Version: 0.59.1
-Release: 3%{?dist}
-Summary: Backport of librustc_errors
-
-License: MIT or ASL 2.0
-URL: https://crates.io/crates/syntex_errors
-Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{...
-
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
-# [dependencies]
-BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0)
-BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
-BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
-BuildRequires: (crate(syntex_pos) >= 0.59.0 with crate(syntex_pos) < 0.60.0)
-BuildRequires: (crate(term) >= 0.4.0 with crate(term) < 0.5.0)
-BuildRequires: (crate(unicode-xid) >= 0.1.0 with crate(unicode-xid) < 0.2.0)
-
-%description
-%{summary}.
-
-%package devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description devel
-Backport of librustc_errors.
-
-This package contains library source intended for building other packages
-which use %{crate} from crates.io.
-
-%prep
-%autosetup -n %{crate}-%{version} -p1
-%cargo_prep
-
-%build
-%cargo_build
-
-%install
-%cargo_install
-
-%if %{with check}
-%check
-%cargo_test
-%endif
-
-%files devel
-%license LICENSE-MIT LICENSE-APACHE
-%doc README.md
-%{cargo_registry}/%{crate}-%{version}/
-
-%changelog
-* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.59.1-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.59.1-2
-- Rebuild for rust-packaging v5
-
-* Mon Jun 26 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.59.1-1
-- Update to 0.59.1
-
-* Thu Jun 15 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.59.0-1
-- Update to 0.59.0
-
-* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.58.1-2
-- Port to use rust-packaging
-
-* Fri Feb 24 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.58.1-1
-- Update to 0.58.1
-
-* Fri Feb 24 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.58.0-2
-- Use rich dependencies
-
-* Sat Feb 18 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.58.0-1
-- Initial package
diff --git a/sources b/sources
deleted file mode 100644
index 66115c1..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (syntex_errors-0.59.1.crate) = 58cf16a48545dfcc0faf740f583e1397a36e0364bec50cb10d141dc28e4ff92054358b85a86060deb92cfa2c9946c5bcf86d92691c3e26ee39444e7d800e0c34
6 years, 1 month
Architecture specific change in rpms/rust-rustfmt.git
by githook-noreply@fedoraproject.org
The package rpms/rust-rustfmt.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-rustfmt.git/commit/?id=93c01....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 93c01d4beefb6eaa9215418f5139917064fed7ae
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Fri Apr 6 18:03:54 2018 +0200
Replaced by rustfmt-preview from rustc.src
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 01bc6f4..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/rustfmt-0.9.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 013ad6f..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-rustfmt
-
-The rust-rustfmt package
\ No newline at end of file
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..0324207
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Replaced by rustfmt-preview from rustc.src
diff --git a/rust-rustfmt.spec b/rust-rustfmt.spec
deleted file mode 100644
index ee0937d..0000000
--- a/rust-rustfmt.spec
+++ /dev/null
@@ -1,119 +0,0 @@
-# Generated by rust2rpm
-%bcond_without check
-
-%global crate rustfmt
-
-Name: rust-%{crate}
-Version: 0.9.0
-Release: 7%{?dist}
-Summary: Tool to find and fix Rust formatting issues
-
-License: ASL 2.0 or MIT
-URL: https://crates.io/crates/rustfmt
-Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{...
-# Initial patched metadata
-# * No windows
-Patch0: rustfmt-0.9.0-fix-metadata.diff
-
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
-# [dependencies]
-BuildRequires: (crate(diff) >= 0.1.0 with crate(diff) < 0.2.0)
-BuildRequires: (crate(env_logger) >= 0.4.0 with crate(env_logger) < 0.5.0)
-BuildRequires: (crate(getopts) >= 0.2.0 with crate(getopts) < 0.3.0)
-BuildRequires: (crate(libc) >= 0.2.11 with crate(libc) < 0.3.0)
-BuildRequires: (crate(log) >= 0.3.0 with crate(log) < 0.4.0)
-BuildRequires: (crate(regex) >= 0.2.0 with crate(regex) < 0.3.0)
-BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
-BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
-BuildRequires: (crate(serde_json) >= 1.0.0 with crate(serde_json) < 2.0.0)
-BuildRequires: (crate(strings) >= 0.1.0 with crate(strings) < 0.2.0)
-BuildRequires: (crate(syntex_errors) >= 0.59.0 with crate(syntex_errors) < 0.60.0)
-BuildRequires: (crate(syntex_syntax) >= 0.59.0 with crate(syntex_syntax) < 0.60.0)
-BuildRequires: (crate(term) >= 0.4.0 with crate(term) < 0.5.0)
-BuildRequires: (crate(toml) >= 0.4.0 with crate(toml) < 0.5.0)
-BuildRequires: (crate(unicode-segmentation) >= 1.0.0 with crate(unicode-segmentation) < 2.0.0)
-
-%description
-%{summary}.
-
-%package -n %{crate}
-Summary: %{summary}
-
-%description -n %{crate}
-%{summary}.
-
-%package devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description devel
-Tool to find and fix Rust formatting issues.
-
-This package contains library source intended for building other packages
-which use %{crate} from crates.io.
-
-%prep
-%autosetup -n %{crate}-%{version} -p1
-%cargo_prep
-
-%build
-%cargo_build
-
-%install
-%cargo_install
-
-%if %{with check}
-%check
-%cargo_test
-%endif
-
-%files -n %{crate}
-%license LICENSE-APACHE LICENSE-MIT
-%{_bindir}/rustfmt
-%{_bindir}/cargo-fmt
-
-%files devel
-%license LICENSE-APACHE LICENSE-MIT
-%{cargo_registry}/%{crate}-%{version}/
-
-%changelog
-* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.9.0-7
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.9.0-6
-- Rebuild for rust-packaging v5
-
-* Wed Nov 15 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.9.0-5
-- Rebuild for dependency change
-
-* Tue Nov 14 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.9.0-4
-- Rebuild for dependency change
-
-* Mon Nov 13 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.9.0-3
-- Rebuild for dependencies change
-
-* Sat Nov 11 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.9.0-2
-- Include licenses to main package
-
-* Thu Jun 15 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.9.0-1
-- Update to 0.9.0
-
-* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.8.1-2
-- Port to use rust-packaging
-
-* Thu Mar 30 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.8.1-1
-- Update to 0.8.1
-
-* Sat Mar 11 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.8.0-2
-- Rename with rust prefix
-
-* Wed Mar 08 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.8.0-1
-- Update to 0.8.0
-
-* Sun Feb 26 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.7.1-2
-- Rebuild
-
-* Sun Feb 26 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.7.1-1
-- Initial package
diff --git a/rustfmt-0.9.0-fix-metadata.diff b/rustfmt-0.9.0-fix-metadata.diff
deleted file mode 100644
index ae6f492..0000000
--- a/rustfmt-0.9.0-fix-metadata.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- rustfmt-0.9.0/Cargo.toml 1970-01-01T01:00:00+01:00
-+++ rustfmt-0.9.0/Cargo.toml 2017-06-15T20:07:46.196156+02:00
-@@ -69,10 +69,5 @@
- [features]
- cargo-fmt = []
- default = ["cargo-fmt"]
--[target."cfg(windows)".dependencies.kernel32-sys]
--version = "0.2.2"
--
--[target."cfg(windows)".dependencies.winapi]
--version = "0.2.7"
- [target."cfg(unix)".dependencies.libc]
- version = "0.2.11"
diff --git a/sources b/sources
deleted file mode 100644
index 9b6e96c..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (rustfmt-0.9.0.crate) = 6a09091f27dedcb8e838ee4561ebf05dd23b2e368853b8494a3e14574cd47ce04da20a388963c885863f535a50d8e37f9880a6eaba35c5cc7677bde342f47bce
6 years, 1 month
Architecture specific change in rpms/micro.git
by githook-noreply@fedoraproject.org
The package rpms/micro.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/micro.git/commit/?id=1dce91561049....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 1dce9156104975b3546c706e1ad21c230fb3818d
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Fri Apr 6 14:34:59 2018 +0200
Add missing versioning data to build stage
Update to new Go packaging guidelines
diff --git a/micro.spec b/micro.spec
index d6e8904..0230ac1 100644
--- a/micro.spec
+++ b/micro.spec
@@ -1,24 +1,28 @@
-# Build with debug info rpm
-%global with_debug 1
+%global shortcommit af520cf
+%global compiledate April\ 06,\ 2018
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
+%global goipath github.com/zyedidia/micro
+Version: 1.4.0
+
+%global common_description %{expand:
+Micro is a terminal-based text editor that aims to be easy to use and
+intuitive, while also taking advantage of the full capabilities of modern
+terminals. It comes as one single, batteries-included, static binary with no
+dependencies, and you can download and use it right now.
+
+As the name indicates, micro aims to be somewhat of a successor to the nano
+editor by being easy to install and use in a pinch, but micro also aims to be
+enjoyable to use full time, whether you work in the terminal because you prefer
+it (like me), or because you need to (over ssh).}
+
+%gometa
Name: micro
-Version: 1.4.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A modern and intuitive terminal-based text editor
License: MIT
URL: https://micro-editor.github.io/
-Source0: https://github.com/zyedidia/micro/archive/v%{version}/%{name}-%{version}....
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+Source0: %{gosource}
BuildRequires: golang(gopkg.in/yaml.v2)
BuildRequires: golang(github.com/blang/semver)
@@ -40,35 +44,26 @@ BuildRequires: golang(github.com/zyedidia/tcell)
BuildRequires: golang(github.com/zyedidia/terminal)
BuildRequires: golang(layeh.com/gopher-luar)
-
%description
-Micro is a terminal-based text editor that aims to be easy to use and
-intuitive, while also taking advantage of the full capabilities of modern
-terminals. It comes as one single, batteries-included, static binary with no
-dependencies, and you can download and use it right now.
-
-As the name indicates, micro aims to be somewhat of a successor to the nano
-editor by being easy to install and use in a pinch, but micro also aims to be
-enjoyable to use full time, whether you work in the terminal because you prefer
-it (like me), or because you need to (over ssh).
+%{common_description}
%prep
-%autosetup -p1 -n %{name}-%{version}
+%forgeautosetup
rm -rf micro/cmd/micro/vendor/
-%build
-mkdir -p ./_build/src/github.com/zyedidia/
-ln -s $(pwd) ./_build/src/github.com/zyedidia/micro
-export GOPATH=$(pwd)/_build:%{gopath}
-
-%gobuild -o micro ./cmd/micro
+%build
+%gobuildroot
+export LDFLAGS="-X main.Version=%{version} \
+ -X main.CommitHash=%{shortcommit} \
+ -X 'main.CompileDate=%{compiledate}'"
+%gobuild -o _bin/micro %{goipath}/cmd/micro
%install
-install -p -D -m 0755 ./micro %{buildroot}%{_bindir}/micro
+install -Dpm 0755 _bin/micro %{buildroot}%{_bindir}/micro
%files
@@ -78,6 +73,10 @@ install -p -D -m 0755 ./micro %{buildroot}%{_bindir}/micro
%changelog
+* Fri Apr 06 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 1.4.0-2
+- Add missing versioning data to build stage
+- Update to new Go packaging guidelines
+
* Fri Jan 26 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 1.4.0-1
- Upstream release 1.4.0
6 years, 1 month
Architecture specific change in rpms/micro.git
by githook-noreply@fedoraproject.org
The package rpms/micro.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/micro.git/commit/?id=42210e59c469....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 42210e59c4692e3ba3094ddc6263f34232576a2a
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Fri Apr 6 14:34:59 2018 +0200
Add missing versioning data to build stage
Update to new Go packaging guidelines
diff --git a/micro.spec b/micro.spec
index d6e8904..0230ac1 100644
--- a/micro.spec
+++ b/micro.spec
@@ -1,24 +1,28 @@
-# Build with debug info rpm
-%global with_debug 1
+%global shortcommit af520cf
+%global compiledate April\ 06,\ 2018
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
+%global goipath github.com/zyedidia/micro
+Version: 1.4.0
+
+%global common_description %{expand:
+Micro is a terminal-based text editor that aims to be easy to use and
+intuitive, while also taking advantage of the full capabilities of modern
+terminals. It comes as one single, batteries-included, static binary with no
+dependencies, and you can download and use it right now.
+
+As the name indicates, micro aims to be somewhat of a successor to the nano
+editor by being easy to install and use in a pinch, but micro also aims to be
+enjoyable to use full time, whether you work in the terminal because you prefer
+it (like me), or because you need to (over ssh).}
+
+%gometa
Name: micro
-Version: 1.4.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A modern and intuitive terminal-based text editor
License: MIT
URL: https://micro-editor.github.io/
-Source0: https://github.com/zyedidia/micro/archive/v%{version}/%{name}-%{version}....
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+Source0: %{gosource}
BuildRequires: golang(gopkg.in/yaml.v2)
BuildRequires: golang(github.com/blang/semver)
@@ -40,35 +44,26 @@ BuildRequires: golang(github.com/zyedidia/tcell)
BuildRequires: golang(github.com/zyedidia/terminal)
BuildRequires: golang(layeh.com/gopher-luar)
-
%description
-Micro is a terminal-based text editor that aims to be easy to use and
-intuitive, while also taking advantage of the full capabilities of modern
-terminals. It comes as one single, batteries-included, static binary with no
-dependencies, and you can download and use it right now.
-
-As the name indicates, micro aims to be somewhat of a successor to the nano
-editor by being easy to install and use in a pinch, but micro also aims to be
-enjoyable to use full time, whether you work in the terminal because you prefer
-it (like me), or because you need to (over ssh).
+%{common_description}
%prep
-%autosetup -p1 -n %{name}-%{version}
+%forgeautosetup
rm -rf micro/cmd/micro/vendor/
-%build
-mkdir -p ./_build/src/github.com/zyedidia/
-ln -s $(pwd) ./_build/src/github.com/zyedidia/micro
-export GOPATH=$(pwd)/_build:%{gopath}
-
-%gobuild -o micro ./cmd/micro
+%build
+%gobuildroot
+export LDFLAGS="-X main.Version=%{version} \
+ -X main.CommitHash=%{shortcommit} \
+ -X 'main.CompileDate=%{compiledate}'"
+%gobuild -o _bin/micro %{goipath}/cmd/micro
%install
-install -p -D -m 0755 ./micro %{buildroot}%{_bindir}/micro
+install -Dpm 0755 _bin/micro %{buildroot}%{_bindir}/micro
%files
@@ -78,6 +73,10 @@ install -p -D -m 0755 ./micro %{buildroot}%{_bindir}/micro
%changelog
+* Fri Apr 06 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 1.4.0-2
+- Add missing versioning data to build stage
+- Update to new Go packaging guidelines
+
* Fri Jan 26 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 1.4.0-1
- Upstream release 1.4.0
6 years, 1 month