Update to official release. Yay! No more stupid snapshot garbage

This commit is contained in:
jwboyer 2007-08-10 03:16:20 +00:00
parent 0f6d2e0a32
commit 21bb059aac
3 changed files with 14 additions and 13 deletions

View File

@ -1 +1 @@
dtc-20070709.tar.gz dtc-1.0.0.tgz

View File

@ -1,17 +1,11 @@
Name: dtc Name: dtc
Version: 0 Version: 1.0.0
Release: 0.5.20070709%{?dist} Release: 1%{?dist}
Summary: Device Tree Compiler Summary: Device Tree Compiler
Group: Development/Tools Group: Development/Tools
License: GPLv2+ License: GPLv2+
URL: http://dtc.ozlabs.org/ URL: http://dtc.ozlabs.org/
# The source for this package was pulled from upstream's vcs. Use the Source: http://www.jdl.com/software/dtc-%{version}.tgz
# following commands to generate the tarball:
# git clone git://www.jdl.com/software/dtc.git; cd dtc;
# git checkout fdd2e6f9; rm -rf .git; cd ..; mv dtc dtc-20070709;
# tar -czvf dtc-20070709.tar.gz dtc-20070709;
Source: dtc-20070709.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: flex, bison BuildRequires: flex, bison
@ -21,14 +15,18 @@ The Device Tree Compiler generates flattened Open Firmware style device trees
for use with PowerPC machines that lack an Open Firmware implementation for use with PowerPC machines that lack an Open Firmware implementation
%prep %prep
%setup -q -n dtc-20070709 %setup -q -n dtc
%build %build
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT PREFIX=/usr
#remove the devel stuff.
rm -rf $RPM_BUILD_ROOT/usr/include/*
rm -rf $RPM_BUILD_ROOT/usr/lib/*.a
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -39,6 +37,9 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/* %{_bindir}/*
%changelog %changelog
* Thu Aug 09 2007 Josh Boyer <jwboyer@jdub.homelinux.org>
- Update to official 1.0.0 release
* Fri Aug 03 2007 Josh Boyer <jwboyer@jdub.homelinux.org> * Fri Aug 03 2007 Josh Boyer <jwboyer@jdub.homelinux.org>
- Update license field - Update license field

View File

@ -1 +1 @@
74d968671d676b01c983ff656134a353 dtc-20070709.tar.gz cca7b9219bc6e39926480f651c30d67a dtc-1.0.0.tgz