public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/erlang-rebar3-pc] rawhide: Switch to declarative build (f44+)
@ 2026-10-19 22:40 Peter Lemenkov
  0 siblings, 0 replies; only message in thread
From: Peter Lemenkov @ 2026-10-19 22:40 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/erlang-rebar3-pc
            Branch : rawhide
            Commit : d125594f6086ccf228dcccb7c25b8c2d2edc38bb
            Author : Peter Lemenkov <lemenkov@gmail.com>
            Date   : 2026-10-20T00:29:34+02:00
            Stats  : +3/-16 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/erlang-rebar3-pc/c/d125594f6086ccf228dcccb7c25b8c2d2edc38bb?branch=rawhide

            Log:
            Switch to declarative build (f44+)

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>

---
diff --git a/.gitignore b/.gitignore
index 0d84fc9..183c3d5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-/port_compiler-1.14.0.tar.gz
-/port_compiler-1.15.0.tar.gz
+/port_compiler-*.tar.gz

diff --git a/erlang-rebar3-pc.spec b/erlang-rebar3-pc.spec
index cd202d8..11795ee 100644
--- a/erlang-rebar3-pc.spec
+++ b/erlang-rebar3-pc.spec
@@ -7,9 +7,9 @@ Summary:	A port compiler for Rebar3
 License:	MIT
 URL:		https://github.com/blt/port_compiler
 VCS:		git:%{url}.git
-Source0:	%{url}/archive/v%{version}/port_compiler-%{version}.tar.gz
+Source:		%{url}/archive/v%{version}/port_compiler-%{version}.tar.gz
 BuildArch:	noarch
-BuildRequires:	erlang-rebar3
+BuildSystem:	rebar3
 # Required for port compiling but cannot be picked up automatically yet
 Requires:	erlang-erl_interface
 
@@ -19,18 +19,6 @@ code. It is not a drop-in replacement in terms of command-line interface but
 the exact configuration interface in projects' rebar.configs have been
 preserved.
 
-%prep
-%autosetup -p1 -n port_compiler-%{version}
-
-%build
-%{erlang3_compile}
-
-%check
-%{erlang3_test}
-
-%install
-%{erlang3_install}
-
 %files
 %license LICENSE
 %doc README.md

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-19 22:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-19 22:40 [rpms/erlang-rebar3-pc] rawhide: Switch to declarative build (f44+) Peter Lemenkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox