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