From 2a0349bd38c03c12b77123d76cb968eb7cf02593 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Wed, 26 Oct 2016 19:17:44 +0200 Subject: [PATCH] tidy up spec file --- libraw1394.spec | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/libraw1394.spec b/libraw1394.spec index 5a5134c..c560a95 100644 --- a/libraw1394.spec +++ b/libraw1394.spec @@ -3,12 +3,10 @@ Name: libraw1394 Version: 2.1.2 Release: 1%{?dist} License: LGPLv2+ -Group: System Environment/Libraries Source: http://www.kernel.org/pub/linux/libs/ieee1394/%{name}-%{version}.tar.xz URL: http://www.dennedy.org/libraw1394/ ExcludeArch: s390 s390x -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: autoconf automake libtool kernel-headers +BuildRequires: kernel-headers %description The libraw1394 library provides direct access to the IEEE-1394 bus. @@ -16,9 +14,9 @@ Support for both the obsolete ieee1394 interface and the new firewire intererface are included, with run-time detection of the active stack. %package devel -Summary: Development libs for libraw1394 -Group: Development/Libraries -Requires: %{name} = %{version}-%{release}, pkgconfig +Summary: Development libs for libraw1394 +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig %description devel Development libraries needed to build applications against libraw1394. @@ -31,19 +29,14 @@ Development libraries needed to build applications against libraw1394. make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT -rm -f $RPM_BUILD_ROOT%{_libdir}/libraw1394.la - -%clean -rm -rf $RPM_BUILD_ROOT +make install DESTDIR=%{buildroot} +rm -f %{buildroot}%{_libdir}/libraw1394.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -%defattr(-,root,root,0755) %doc COPYING.LIB README NEWS %{_bindir}/dumpiso %{_bindir}/sendiso @@ -55,7 +48,6 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man5/isodump.5.gz %files devel -%defattr(-,root,root,0755) %doc doc/libraw1394.sgml %{_includedir}/libraw1394/ %{_libdir}/libraw1394.so @@ -65,6 +57,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Wed Oct 26 2016 Nils Philippsen - 2.1.2-1 - version 2.1.2 +- tidy up spec file * Thu Feb 04 2016 Fedora Release Engineering - 2.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild