#2 Fix FTBFS on rawhide + spec cleanup and modernization
Merged 4 years ago by filiperosset. Opened 4 years ago by filiperosset.
rpms/ filiperosset/treecc master  into  master

file modified
+15 -8
@@ -1,6 +1,6 @@ 

  Name:           treecc

  Version:        0.3.8

- Release:        24%{?dist}

+ Release:        25%{?dist}

  

  Summary:        Tree Compiler Compiler

  
@@ -11,9 +11,13 @@ 

  

  BuildRequires:  bison >= 1.28

  BuildRequires:  flex >= 2.5.4

+ BuildRequires:  gcc

  BuildRequires:  m4

  BuildRequires:  texinfo

  

+ # ExcludeArch s390x to allow build on rawhide

+ ExcludeArch:    s390x

+ 

  %description

  The treecc program is designed to assist in the development of compilers

  and other language-based tools.  It manages the generation of code to handle
@@ -21,30 +25,33 @@ 

  

  

  %prep

- %setup -q

- %patch0 -p1

+ %autosetup -p1

  

  

  %build

  %configure

- make %{?_smp_mflags}

- make check

+ %make_build

  

+ %check

+ make check

  

  %install

- rm -rf ${RPM_BUILD_ROOT}

- make install DESTDIR=${RPM_BUILD_ROOT}

+ %make_install

  rm -f $RPM_BUILD_ROOT/%{_infodir}/dir

  rm -f $RPM_BUILD_ROOT/%{_libdir}/libtreecc.a

  

  %files

- %doc AUTHORS COPYING ChangeLog NEWS README

+ %doc AUTHORS ChangeLog NEWS README

+ %license COPYING

  %{_bindir}/*

  %{_infodir}/*

  %{_mandir}/man1/*

  

  

  %changelog

+ * Mon Jul 29 2019 Filipe Rosset <rosset.filipe@gmail.com> - 0.3.8-25

+ - Fix FTBFS on rawhide + spec cleanup and modernization

+ 

  * Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-24

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

  

no initial comment

Pull-Request has been merged by filiperosset

4 years ago