Projects
openEuler:Mainline
autogen
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
_service:tar_scm:autogen.spec
Changed
@@ -1,6 +1,6 @@ Name: autogen Version: 5.18.16 -Release: 1 +Release: 3 License: GPLv2+ and GPLv3+ Summary: Automated text file generator URL: http://www.gnu.org/software/autogen/ @@ -8,8 +8,11 @@ Obsoletes: autogen-libopts Source0: http://ftp.gnu.org/gnu/autogen/rel%{version}/%{name}-%{version}.tar.xz +Patch0: backport-fix-stray-blanking-of-config-file-char.patch + BuildRequires: gcc guile-devel libtool libxml2-devel BuildRequires: perl-generators +BuildRequires: chrpath %description AutoGen is a tool designed to simplify the creation and maintenance of @@ -56,6 +59,13 @@ %install make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT + +#Remove rpath +chrpath --delete $RPM_BUILD_ROOT%{_bindir}/{columns,getdefs,%{name},xml2ag} + +mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d +echo "%{_libdir}" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf + %delete_la_and_a @@ -72,6 +82,7 @@ %dir %{_libdir}/%{name} %{_libdir}/%{name}/* %{_libdir}/libopts.so.25* +%config(noreplace) /etc/ld.so.conf.d/* %files devel %{_bindir}/autoopts-config @@ -93,6 +104,12 @@ %exclude %{_infodir}/dir %changelog +* Tue Oct 18 2022 zhangruifang <zhangruifang1@h-partners.com> - 5.18.16-3 +- fix stray blanking of config file char + +* Thu Jul 28 2022 zoulin <zoulin13@h-partners.com> - 5.18.16-2 +- remove rpath and runpath of exec files and libraries + * Thu Jul 16 2020 wangchen <wangchen137@huawei.com> - 5.18.16-1 - Update to 5.18.16
View file
_service:tar_scm:backport-fix-stray-blanking-of-config-file-char.patch
Added
@@ -0,0 +1,38 @@ +From 3b33eb2fc09a2d7221da6bc7159f374fdef8906a Mon Sep 17 00:00:00 2001 +From: Bruce Korb <bkorb@gnu.org> +Date: Fri, 6 Sep 2019 08:28:00 -0700 +Subject: PATCH fix stray blanking of config file char + +* autoopts/configfile.c (trim_xml_text): remove unnecessary and + occasionally destructive blanking of first character. +--- + autoopts/configfile.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/autoopts/configfile.c b/autoopts/configfile.c +index 783a9d8a..e8f557ad 100644 +--- a/autoopts/configfile.c ++++ b/autoopts/configfile.c +@@ -802,10 +802,9 @@ trim_xml_text(char * intxt, char const * pznm, tOptionLoadMode mode) + pz1 = '/'; + memcpy(pz+2, pznm, nm_len); + nm_len += 2; +- pznm_len++ = '>'; ++ pznm_len++ = '>'; // nm_len is now length of end mark + pznm_len = NUL; + +- *intxt = ' '; + etext = strstr(intxt, pz); + if (pz != z) AGFREE(pz); + } +@@ -825,6 +824,7 @@ trim_xml_text(char * intxt, char const * pznm, tOptionLoadMode mode) + } + + /** ++ * process hex and amphersand encoded characters. + */ + static void + cook_xml_text(char * pzData) +-- +2.27.0 +
View file
_service
Changed
@@ -2,7 +2,7 @@ <service name="tar_scm"> <param name="scm">git</param> <param name="url">git@gitee.com:src-openeuler/autogen.git</param> - <param name="revision">03f9a54249740b5bbc88f91d8cbd216b95c351a3</param> + <param name="revision">master</param> <param name="exclude">*</param> <param name="extract">*</param> </service>
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2