소스 검색

perl-XML-LibXML-2.0200-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12088 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 6 년 전
부모
커밋
d69d1521d5
1개의 변경된 파일13개의 추가작업 그리고 1개의 파일을 삭제
  1. 13 1
      p/perl-XML-LibXML/perl-XML-LibXML-vl.spec

+ 13 - 1
p/perl-XML-LibXML/perl-XML-LibXML-vl.spec

@@ -3,7 +3,7 @@ Summary(ja): libxml2 ライブラリへの Perl インターフェイス
 Name: perl-XML-LibXML
 # NOTE: also update perl-XML-LibXSLT to the same version, see
 # https://bugzilla.redhat.com/show_bug.cgi?id=469480
-Version: 2.0117
+Version: 2.0200
 Release: 1%{?_dist_release}
 
 License: GPL+ or Artistic
@@ -13,6 +13,7 @@ URL: http://search.cpan.org/dist/XML-LibXML/
 Source0: http://www.cpan.org/authors/id/P/PA/PAJAS/XML-LibXML-%{version}.tar.gz
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: libxcrypt-devel
 BuildRequires: libxml2-devel
 BuildRequires: perl(XML::NamespaceSupport)
 BuildRequires: perl(XML::SAX)
@@ -40,6 +41,13 @@ validating XML parser and the high performance DOM implementation.
 %prep
 %setup -q -n XML-LibXML-%{version}
 
+%define libxml_libs %(pkg-config --libs libxml-2.0)
+%define libxml_cflags %(pkg-config --cflags libxml-2.0)
+
+perl -pi -e 's|Alien::Libxml2->cflags|"%{libxml_cflags}"|' Makefile.PL
+perl -pi -e 's|Alien::Libxml2->libs|"%{libxml_libs}"|' Makefile.PL
+sed -i -e '/Alien/d' Makefile.PL
+
 %build
 %__perl Makefile.PL SKIP_SAX_INSTALL=1 INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
 %__make %{?_smp_mflags}
@@ -86,6 +94,10 @@ fi
 %{_mandir}/man3/*.3*
 
 %changelog
+* Tue May 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0200-1
+- new upstream release.
+- added BR:libxcrypt-devel.
+
 * Sun Nov 30 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.0117-1
 - new upstream release.
 - built with libxml2 2.9.2