set release to 1

This commit is contained in:
weidong 2020-08-13 16:01:14 +08:00
parent 8724eb0ac4
commit c23d8a5ee6
2 changed files with 2 additions and 30 deletions

View File

@ -1,26 +0,0 @@
From 01a2555beff4303908b4f940a2054b1938b32fb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Wed, 12 Jul 2017 08:42:26 +0200
Subject: [PATCH] Normalize shell bang
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
bin/xml-pretty | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/xml-pretty b/bin/xml-pretty
index a9fd406..d647105 100644
--- a/bin/xml-pretty
+++ b/bin/xml-pretty
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!perl
use XML::LibXML::PrettyPrint qw(print_xml);
print_xml <>;
--
2.9.4

View File

@ -1,13 +1,12 @@
%global _empty_manifest_terminate_build 0
Name: perl-XML-LibXML-PrettyPrint
Version: 0.006
Release: 5
Release: 1
Summary: Add pleasant whitespace to a DOM tree
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/XML-LibXML-PrettyPrint/
Source0: http://www.cpan.org/authors/id/T/TO/TOBYINK/XML-LibXML-PrettyPrint-%{version}.tar.gz
Patch0: XML-LibXML-PrettyPrint-0.006-Normalize-shell-bang.patch
BuildArch: noarch
BuildRequires: perl >= 0:5.008001
BuildRequires: perl-generators
@ -36,7 +35,6 @@ application stores its configuration in XML, or you need to dump some XML
to STDOUT for debugging purposes.
%prep
%setup -q -n XML-LibXML-PrettyPrint-%{version}
%patch0 -p1
%build
export PERL_MM_OPT=""
%{__perl} Makefile.PL INSTALLDIRS=vendor
@ -83,5 +81,5 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/*
%changelog
* Wed Aug 12 2020 weidong <weidong@uniontech.com> 0.006-5
* Wed Aug 12 2020 weidong <weidong@uniontech.com> 0.006-1
- Initial release for OpenEuler