Skip to content

Commit

Permalink
Modernize the RPM spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
pfusik committed Jul 11, 2023
1 parent 70c907b commit 9732817
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions xasm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ Version: 3.2.1
Release: 1
Summary: 6502 cross-assembler
License: Poetic
Group: Applications/Programming
Source: http://pfusik.github.io/xasm/xasm-%{version}.tar.gz
URL: https://github.com/pfusik/xasm
BuildRequires: dmd >= 2, asciidoc
BuildRoot: %{_tmppath}/%{name}-root

%description
xasm is a 6502 cross-assembler with original syntax extensions.
Expand All @@ -21,14 +19,9 @@ xasm is a 6502 cross-assembler with original syntax extensions.
make xasm xasm.1

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install

%clean
rm -rf $RPM_BUILD_ROOT
make DESTDIR=%{buildroot} prefix=%{_prefix} install

%files
%defattr(-,root,root)
%{_bindir}/xasm
%{_mandir}/man1/xasm.1.gz

Expand Down

0 comments on commit 9732817

Please sign in to comment.