cleanup spec file
This commit is contained in:
parent
646ec212de
commit
89d077e9fa
1 changed files with 1 additions and 9 deletions
10
afflib.spec
10
afflib.spec
|
|
@ -9,7 +9,6 @@ Group: System Environment/Libraries
|
|||
License: BSD with advertising
|
||||
URL: https://github.com/simsong/AFFLIBv3
|
||||
Source0: https://github.com/simsong/AFFLIBv3/archive/v%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: libtool
|
||||
|
||||
|
|
@ -83,35 +82,27 @@ make %{?_smp_mflags}
|
|||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS BUGLIST.txt ChangeLog COPYING NEWS README
|
||||
%doc doc/announce_2.2.txt
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files -n afftools
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/aff*
|
||||
%{python_sitearch}/pyaff.so
|
||||
%{_mandir}/man1/affcat.1.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/crypto_design.txt doc/crypto_doc.txt
|
||||
%{_includedir}/afflib/
|
||||
%{_libdir}/*.so
|
||||
|
|
@ -121,6 +112,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%changelog
|
||||
* Sun Jan 04 2015 Nicolas Chauvet <kwizart@gmail.com> - 3.7.4-1
|
||||
- Update to 3.7.4
|
||||
- cleanup spec file
|
||||
|
||||
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue