From 8aa347f0b7467473ba76737223c80be1dcbc458f Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 5 Jan 2015 10:45:37 +0000 Subject: [PATCH] New dtc 1.4.1 release, Update URL and Sources, Cleanup spec --- .gitignore | 6 +++--- dtc.spec | 28 +++++++++++++++------------- sources | 2 +- 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 503c4cd..efe2c3f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -dtc-v1.2.0.tgz -/dtc-v1.3.0.tgz -/dtc-v1.4.0.tgz +/dtc-*.tgz +/dtc-*.tar.bz2 +/dtc-*.tar.gz diff --git a/dtc.spec b/dtc.spec index 876a204..a166e6c 100644 --- a/dtc.spec +++ b/dtc.spec @@ -1,13 +1,16 @@ +# Tarfile created using git +# git clone git://git.kernel.org/pub/scm/utils/dtc/dtc.git +# git archive --format=tar --prefix=%{name}-%{version}/ v%{version} | bzip2 > ~/%{name}-%{version}.tar.bz2 + Name: dtc -Version: 1.4.0 -Release: 5%{?dist} +Version: 1.4.1 +Release: 1%{?dist} Summary: Device Tree Compiler Group: Development/Tools License: GPLv2+ -URL: http://git.jdl.com/gitweb/?p=dtc.git;a=summary -Source: http://www.jdl.com/software/dtc-v%{version}.tgz +URL: http://devicetree.org/Device_Tree_Compiler +Source: %{name}-%{version}.tar.bz2 Patch1: use-tx-as-the-type-specifier-instead-of-zx.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: flex, bison @@ -32,14 +35,13 @@ Requires: libfdt = %{version}-%{release} This package provides development files for libfdt %prep -%setup -q -n dtc-v%{version} +%setup -q %patch1 -p1 %build -make %{?_smp_mflags} +make %{?_smp_mflags} V=1 %install -rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT PREFIX=/usr LIBDIR=%{_libdir} rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.a @@ -47,22 +49,17 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.a # it (rhbz 797805) rm -f $RPM_BUILD_ROOT/%{_bindir}/ftdump -%clean -rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root,-) %doc GPL %{_bindir}/* %files -n libfdt -%defattr(-,root,root,-) %doc GPL %{_libdir}/libfdt-%{version}.so %{_libdir}/libfdt.so.* %files -n libfdt-devel -%defattr(-,root,root,-) %{_libdir}/libfdt.so %{_includedir}/* @@ -71,6 +68,11 @@ rm -rf $RPM_BUILD_ROOT %postun -n libfdt -p /sbin/ldconfig %changelog +* Mon Jan 5 2015 Peter Robinson 1.4.1-1 +- New dtc 1.4.1 release +- Update URL and Sources +- Cleanup spec + * Sat Aug 16 2014 Fedora Release Engineering - 1.4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild diff --git a/sources b/sources index 6c254a9..776dbb7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -993e14242818bcfd801edd4f27ddd5a3 dtc-v1.4.0.tgz +adde6d73776064db90717ef4e5dd9dd7 dtc-1.4.1.tar.bz2