Update to 3.1.1

- NEWS seems to be valid UTF-8 nowadays
This commit is contained in:
Tomas Bzatek 2013-01-14 17:20:29 +01:00
parent b71c2f0945
commit 3a6b6497d0
3 changed files with 13 additions and 7 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ libarchive-2.8.4.tar.gz
/libarchive-3.0.0a.tar.gz /libarchive-3.0.0a.tar.gz
/libarchive-3.0.3.tar.gz /libarchive-3.0.3.tar.gz
/libarchive-3.0.4.tar.gz /libarchive-3.0.4.tar.gz
/v3.1.1.tar.gz

View File

@ -1,12 +1,12 @@
Name: libarchive Name: libarchive
Version: 3.0.4 Version: 3.1.1
Release: 3%{?dist} Release: 1%{?dist}
Summary: A library for handling streaming archive formats Summary: A library for handling streaming archive formats
Group: System Environment/Libraries Group: System Environment/Libraries
License: BSD License: BSD
URL: http://code.google.com/p/libarchive/ URL: http://libarchive.github.com/
Source0: https://github.com/downloads/libarchive/libarchive/%{name}-%{version}.tar.gz Source0:  https://github.com/libarchive/libarchive/archive/v%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -21,6 +21,7 @@ BuildRequires: libattr-devel
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: libunistring-devel BuildRequires: libunistring-devel
BuildRequires: automake autoconf libtool
%description %description
@ -62,6 +63,7 @@ libarchive packages.
%build %build
build/autogen.sh
%configure --disable-static --disable-rpath %configure --disable-static --disable-rpath
# remove rpaths # remove rpaths
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@ -72,7 +74,6 @@ 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
iconv -f latin1 -t utf-8 < NEWS > NEWS.utf8; cp NEWS.utf8 NEWS
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
@ -88,7 +89,7 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING README NEWS %doc COPYING README NEWS
%{_libdir}/libarchive.so.12* %{_libdir}/libarchive.so.13*
%{_mandir}/*/cpio.* %{_mandir}/*/cpio.*
%{_mandir}/*/mtree.* %{_mandir}/*/mtree.*
%{_mandir}/*/tar.* %{_mandir}/*/tar.*
@ -117,6 +118,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Mon Jan 14 2013 Tomas Bzatek <tbzatek@redhat.com> - 3.1.1-1
- Update to 3.1.1
- NEWS seems to be valid UTF-8 nowadays
* Wed Oct 03 2012 Pavel Raiskup <praiskup@redhat.com> - 3.0.4-3 * Wed Oct 03 2012 Pavel Raiskup <praiskup@redhat.com> - 3.0.4-3
- better install manual pages for libarchive/bsdtar/bsdcpio (# ... ) - better install manual pages for libarchive/bsdtar/bsdcpio (# ... )
- several fedora-review fixes ...: - several fedora-review fixes ...:

View File

@ -1 +1 @@
af443ca9a10ddbcbf00f7ae34ca7fc16 libarchive-3.0.4.tar.gz b482463d73370bdbe8e234095a6ef6c9 v3.1.1.tar.gz