Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/libidn.git#44cbc00ed73fb440a59f99cb535c4b42fe14de45
This commit is contained in:
parent
8a8f8306e1
commit
bbd60fa46d
14
libidn.spec
14
libidn.spec
@ -6,7 +6,7 @@
|
|||||||
Summary: Internationalized Domain Name support library
|
Summary: Internationalized Domain Name support library
|
||||||
Name: libidn
|
Name: libidn
|
||||||
Version: 1.36
|
Version: 1.36
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
URL: http://www.gnu.org/software/libidn/
|
URL: http://www.gnu.org/software/libidn/
|
||||||
License: LGPLv2+ and GPLv3+ and GFDL
|
License: LGPLv2+ and GPLv3+ and GFDL
|
||||||
Source0: http://ftp.gnu.org/gnu/libidn/libidn-%{version}.tar.gz
|
Source0: http://ftp.gnu.org/gnu/libidn/libidn-%{version}.tar.gz
|
||||||
@ -56,6 +56,7 @@ BuildRequires: javapackages-local
|
|||||||
BuildRequires: mvn(com.google.code.findbugs:annotations)
|
BuildRequires: mvn(com.google.code.findbugs:annotations)
|
||||||
BuildRequires: mvn(com.google.guava:guava)
|
BuildRequires: mvn(com.google.guava:guava)
|
||||||
BuildRequires: mvn(junit:junit)
|
BuildRequires: mvn(junit:junit)
|
||||||
|
BuildRequires: make
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description java
|
%description java
|
||||||
@ -110,22 +111,22 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|||||||
# without RPATH this needs to be set for idn executed by help2man
|
# without RPATH this needs to be set for idn executed by help2man
|
||||||
export LD_LIBRARY_PATH=$(pwd)/lib/.libs
|
export LD_LIBRARY_PATH=$(pwd)/lib/.libs
|
||||||
|
|
||||||
make %{?_smp_mflags} V=1
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# without RPATH this needs to be set to test the compiled library
|
# without RPATH this needs to be set to test the compiled library
|
||||||
export LD_LIBRARY_PATH=$(pwd)/lib/.libs
|
export LD_LIBRARY_PATH=$(pwd)/lib/.libs
|
||||||
make %{?_smp_mflags} -C tests check VALGRIND=env
|
%make_build -C tests check VALGRIND=env
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT pkgconfigdir=%{_libdir}/pkgconfig \
|
%make_install pkgconfigdir=%{_libdir}/pkgconfig \
|
||||||
%if %{with libidn_enables_java}
|
%if %{with libidn_enables_java}
|
||||||
libidn_jardir=%{_javadir} \
|
libidn_jardir=%{_javadir} \
|
||||||
%endif
|
%endif
|
||||||
;
|
;
|
||||||
|
|
||||||
# provide more examples
|
# provide more examples
|
||||||
make %{?_smp_mflags} -C examples distclean
|
%make_build -C examples distclean
|
||||||
|
|
||||||
# clean up docs
|
# clean up docs
|
||||||
find doc -name "Makefile*" | xargs rm
|
find doc -name "Makefile*" | xargs rm
|
||||||
@ -184,6 +185,9 @@ rm -rf $RPM_BUILD_ROOT%{_javadir}/libidn*.jar
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.36-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
* Tue Jul 28 2020 Miroslav Lichvar <mlichvar@redhat.com> - 1.36-1
|
* Tue Jul 28 2020 Miroslav Lichvar <mlichvar@redhat.com> - 1.36-1
|
||||||
- update to 1.36
|
- update to 1.36
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user