Spec file clean up

This commit is contained in:
Jakub Čajka 2014-05-30 10:09:08 +02:00
parent 3d66f91da4
commit b9c41caa31

View File

@ -1,12 +1,12 @@
Summary: Libraries to provide access to RTAS calls and RTAS events
Name: librtas
Version: 1.3.9
Release: 3%{?dist}
Release: 4%{?dist}
URL: http://librtas.ozlabs.org
License: CPL
Group: System Environment/Libraries
Source: http://librtas.ozlabs.org/releases/%{name}-%{version}.tar.gz
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
#Fedora specific patch
Patch0: %{name}-1.3.4-libdir.patch
Patch1: %{name}-1.3.6-ln.patch
@ -26,7 +26,7 @@ the contents of RTAS events.
%package devel
Summary: C header files for development with librtas
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The librtas-devel packages contains the header files necessary for
@ -53,18 +53,13 @@ mkdir -p %{buildroot}/%{_libdir}
%postun -p /sbin/ldconfig
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc COPYRIGHT README Changelog
%{_libdir}/librtas.so.%{version}
%{_libdir}/librtasevent.so.%{version}
%{_libdir}/libofdt.so.%{version}
%files devel
%defattr(-,root,root,-)
%{_libdir}/librtas.so
%{_libdir}/librtasevent.so
%{_includedir}/librtas.h
@ -76,6 +71,9 @@ mkdir -p %{buildroot}/%{_libdir}
%{_libdir}/libofdt.so
%changelog
* Mon May 26 2014 Jakub Čajka <jcajka@redhat.com> 1.3.9-4
- Spec file clean up
* Fri Mar 07 2014 Karsten Hopp <karsten@redhat.com> 1.3.9-3
- fix CFLAGS