Commit 6f17f8 - update to latest 10_2 upstream version + spec cleanup

3 files Authored and Committed by filiperosset 4 months ago
- update to latest 10_2 upstream version + spec cleanup

    
1 @@ -4,3 +4,4 @@
2   /verilog-0.9.5.tar.gz
3   /verilog-0.9.6.tar.gz
4   /iverilog-6d0ab9978f036e6029858e0d1b0bdab52e3fbad7.tar.gz
5 + /iverilog-10_2.tar.gz
 1 @@ -1,21 +1,15 @@
 2 - %global commit 6d0ab9978f036e6029858e0d1b0bdab52e3fbad7
 3 - %global shortcommit %(c=%{commit}; echo ${c:0:7})
 4 -  
 5   Name:        iverilog
 6 - Version:     10
 7 - Release:     8%{?dist}
 8 + Version:     10_2
 9 + Release:     1%{?dist}
10   Summary:     Icarus Verilog is a verilog compiler and simulator
11 -  
12   Group:       Applications/Engineering
13   License:     GPLv2
14   URL:         http://iverilog.icarus.com
15 -  
16 - Source0:       http://github.com/steveicarus/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
17 + #fix ugly Source0
18 + Source0:     iverilog-10_2.tar.gz
19    
20   BuildRequires: autoconf
21   BuildRequires: zlib-devel bzip2-devel bison flex gperf gcc-c++ readline-devel
22 - #Provides:      iverilog-devel = %{version}-%{release}
23 - #Obsoletes:     iverilog-devel < 0.9.20100911-1
24    
25   %description
26   Icarus Verilog is a Verilog compiler that generates a variety of
27 @@ -23,27 +17,20 @@
28   to the IEEE-1364 standard.
29    
30   %prep
31 - %setup -q -n %{name}-%{commit}
32 -  
33 + %autosetup
34 + 
35   # Clean junks from tarball
36   find . -type f -name ".git" -exec rm '{}' \;
37   rm -rf `find . -type d -name "autom4te.cache" -exec echo '{}' \;`
38 -  
39 -  
40 + 
41   %build
42   chmod +x autoconf.sh
43 - ./autoconf.sh
44 - 
45 - CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \
46 -  
47 - # Add configure to get good results
48 + sh autoconf.sh
49   %configure
50 -  
51 - # Try to build across three CPUs.
52 - make %{?_smp_mflags}
53 + %make_build
54 + 
55    
56   %install
57 -  
58   %{__make}    prefix=%{buildroot}%{_prefix} \
59                bindir=%{buildroot}%{_bindir} \
60                libdir=%{buildroot}%{_libdir} \
61 @@ -59,7 +46,8 @@
62    
63    
64   %files
65 - %doc BUGS.txt COPYING README.txt QUICK_START.txt  
66 + %doc BUGS.txt README.txt QUICK_START.txt
67 + %license COPYING
68   %doc ieee1364-notes.txt mingw.txt swift.txt netlist.txt
69   %doc t-dll.txt vpi.txt cadpli/cadpli.txt
70   %doc xilinx-hint.txt examples/
71 @@ -74,10 +62,14 @@
72    
73    
74   %changelog
75 + * Mon Apr 09 2018 Filipe Rosset <rosset.filipe@gmail.com> - 10_2-1
76 + - update to latest 10_2 upstream version + spec cleanup
77 + 
78   * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 10-8
79   - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
80   
81   * Wed Aug 09 2017 Filipe Rosset <rosset.filipe@gmail.com> - 10-7
82 + - rebuilt
83   
84   * Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 10-6
85   - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
sources +1 -1
1 @@ -1,1 +1,1 @@
2 - baa78c3c93d1ea88477832d0e2b0676c  iverilog-6d0ab9978f036e6029858e0d1b0bdab52e3fbad7.tar.gz
3 + SHA512 (iverilog-10_2.tar.gz) = a6d2d3123bbec093784ad14e91fd1d350b2092cf998348b6a9ce764bc739a14834adee5661bf3d21fef187d38fc03c37a079181ce65c3c64a92b1ce16df1aaca