nalimilan pushed to utf8proc (master). "New upstream release 1.2"

notifications at fedoraproject.org notifications at fedoraproject.org
Sat Mar 28 14:42:44 UTC 2015


>From 65b659400a9d33042784988eaa065c34c38b19ac Mon Sep 17 00:00:00 2001
From: Milan Bouchet-Valat <nalimilan at club.fr>
Date: Sat, 28 Mar 2015 15:22:58 +0100
Subject: New upstream release 1.2


diff --git a/.gitignore b/.gitignore
index 5248ed9..5796326 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /utf8proc-v1.1.6.tar.gz
+/utf8proc-1.2.tar.gz
diff --git a/sources b/sources
index 2db3aaa..7be7e94 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2462346301fac2994c34f5574d6c3ca7  utf8proc-v1.1.6.tar.gz
+dfdacacce306ecf7113c565f5ba35ce3  utf8proc-1.2.tar.gz
diff --git a/utf8proc.spec b/utf8proc.spec
index 06d51cf..230b64b 100644
--- a/utf8proc.spec
+++ b/utf8proc.spec
@@ -1,13 +1,11 @@
-%global soversion 0.1
-
 Summary: Library for processing UTF-8 encoded Unicode strings
 Name:    utf8proc
-Version: 1.1.6
-Release: 5%{?dist}
+Version: 1.2
+Release: 1%{?dist}
 License: BSD
 Group:   System Environment/Libraries
-URL:     http://www.public-software-group.org/utf8proc
-Source:  http://www.public-software-group.org/pub/projects/utf8proc/v%{version}/utf8proc-v%{version}.tar.gz
+URL:     http://julialang.org/utf8proc/
+Source:  https://github.com/JuliaLang/utf8proc/archive/v%{version}.tar.gz#/utf8proc-%{version}.tar.gz
 
 %description
 utf8proc is a library for processing UTF-8 encoded Unicode strings.
@@ -36,27 +34,25 @@ The documentation for the C library is found in the utf8proc.h header file.
 strings, unless you want to allocate memory yourself.
 
 %prep
-%setup -qn utf8proc-v%{version}
+%setup -q
 
 %build
-make %{?_smp_mflags} CFLAGS="%{optflags} -Wl,-soname,libutf8proc.so.%{soversion}"
-mv libutf8proc.so libutf8proc.so.%{soversion}
-ln -s libutf8proc.so.%{soversion} libutf8proc.so
-ln -s libutf8proc.so.%{soversion} libutf8proc.so.0
-chmod 755 libutf8proc.so*
+make %{?_smp_mflags} CFLAGS="%{optflags}"
+
+%check
+make %{?_smp_mflags} CFLAGS="%{optflags}" \
+     test/normtest test/graphemetest test/printproperty \
+     test/charwidth test/normtest test/graphemetest test/charwidth
 
 %install
-install -d %{buildroot}%{_libdir} %{buildroot}%{_includedir}
-install libutf8proc.so.%{soversion} %{buildroot}%{_libdir}/libutf8proc.so.%{soversion}
-cp -dp libutf8proc.so.0 %{buildroot}%{_libdir}/
-cp -dp libutf8proc.so %{buildroot}%{_libdir}/
-cp -p utf8proc.h %{buildroot}%{_includedir}/utf8proc.h
+make install DESTDIR=%{buildroot} prefix=%{_prefix} includedir=%{_includedir} libdir=%{_libdir}
+rm %{buildroot}%{_libdir}/libutf8proc.a
 
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
-%doc Changelog lump.txt LICENSE README
+%doc LICENSE.md NEWS.md README.md
 %{_libdir}/libutf8proc.so.*
 
 %files devel
@@ -64,6 +60,9 @@ cp -p utf8proc.h %{buildroot}%{_includedir}/utf8proc.h
 %{_libdir}/libutf8proc.so
 
 %changelog
+* Sat Mar 28 2015 Milan Bouchet-Valat <nalimilan at club.fr> - 1.2-1
+- New upstream release.
+
 * Mon Aug 18 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.6-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/utf8proc.git/commit/?h=master&id=65b659400a9d33042784988eaa065c34c38b19ac


More information about the scm-commits mailing list