commit
23280ebf0f
15
rcs-5.8-build-tweaks.patch
Normal file
15
rcs-5.8-build-tweaks.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff -up ./man/Makefile.in.build-tweaks ./man/Makefile.in
|
||||||
|
--- ./man/Makefile.in.build-tweaks 2013-05-06 09:28:45.000000000 +0200
|
||||||
|
+++ ./man/Makefile.in 2013-05-10 23:03:36.975917262 +0200
|
||||||
|
@@ -1237,9 +1237,9 @@ top_build_prefix = @top_build_prefix@
|
||||||
|
top_builddir = @top_builddir@
|
||||||
|
top_srcdir = @top_srcdir@
|
||||||
|
dist_man_MANS = ci.1 co.1 ident.1 merge.1 rcs.1 rcsclean.1 \
|
||||||
|
- rcsdiff.1 rcsfile.5 rcsmerge.1 rlog.1
|
||||||
|
+ rcsdiff.1 rcsfile.5 rcsmerge.1 rlog.1 rcsfreeze.1
|
||||||
|
|
||||||
|
-dist_noinst_MANS = rcsfreeze.1
|
||||||
|
+#dist_noinst_MANS = rcsfreeze.1
|
||||||
|
BUILT_SOURCES = REL $(dist_noinst_MANS)
|
||||||
|
bits = b-base \
|
||||||
|
b-emptylogmessage \
|
||||||
11
rcs-5.9.4-t810_disable.patch
Normal file
11
rcs-5.9.4-t810_disable.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff -up rcs-5.9.4/tests/known-failures.in.t810_disable rcs-5.9.4/tests/known-failures.in
|
||||||
|
--- rcs-5.9.4/tests/known-failures.in.t810_disable 2018-03-27 14:48:15.344270665 +0200
|
||||||
|
+++ rcs-5.9.4/tests/known-failures.in 2018-03-27 14:48:55.305831852 +0200
|
||||||
|
@@ -134,6 +134,7 @@ exit 0
|
||||||
|
;; t805 under OSX (see "bletcherous hack" above)
|
||||||
|
|
||||||
|
* 5.9.4
|
||||||
|
+ t810 ; ‘ci -l -d -T’ => RCS file mtime set to epoch
|
||||||
|
|
||||||
|
* end matter
|
||||||
|
*** Local variables:
|
||||||
BIN
rcs-5.9.4.tar.xz
Normal file
BIN
rcs-5.9.4.tar.xz
Normal file
Binary file not shown.
67
rcs.spec
Normal file
67
rcs.spec
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
Summary: Revision Control System (RCS) file version management tools
|
||||||
|
Name: rcs
|
||||||
|
Version: 5.9.4
|
||||||
|
Release: 11
|
||||||
|
License: GPLv3+
|
||||||
|
URL: http://www.gnu.org/software/rcs/
|
||||||
|
Source: ftp://ftp.gnu.org/gnu/rcs/%{name}-%{version}.tar.xz
|
||||||
|
Patch0: rcs-5.8-build-tweaks.patch
|
||||||
|
Patch1: rcs-5.9.4-t810_disable.patch
|
||||||
|
|
||||||
|
Provides: bundled(gnulib)
|
||||||
|
BuildRequires: gcc autoconf groff ghostscript ed texinfo
|
||||||
|
Requires: diffutils
|
||||||
|
Requires(post): /sbin/install-info
|
||||||
|
Requires(postun): /sbin/install-info
|
||||||
|
|
||||||
|
%description
|
||||||
|
The Revision Control System (RCS) is a system for managing multiple
|
||||||
|
versions of files. RCS automates the storage, retrieval, logging,
|
||||||
|
identification and merging of file revisions. RCS is useful for text
|
||||||
|
files that are revised frequently (for example, programs,
|
||||||
|
documentation, graphics, papers and form letters).
|
||||||
|
|
||||||
|
The rcs package should be installed if you need a system for managing
|
||||||
|
different versions of files.
|
||||||
|
|
||||||
|
%package_help
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-%{version} -p1 -Sgit
|
||||||
|
autoconf
|
||||||
|
|
||||||
|
%build
|
||||||
|
%if "%{version}" <= "5.9.4"
|
||||||
|
CFLAGS="${RPM_OPT_FLAGS} -std=c99"
|
||||||
|
%endif
|
||||||
|
%configure --with-diffutils
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
install -m 755 src/rcsfreeze $RPM_BUILD_ROOT%{_bindir}
|
||||||
|
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check XFAIL_TESTS="`tests/known-failures %{version}`"
|
||||||
|
|
||||||
|
%post
|
||||||
|
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir 2>/dev/null || :
|
||||||
|
|
||||||
|
%postun
|
||||||
|
if [ $1 -eq 0 ]; then
|
||||||
|
/sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir 2>/dev/null || :
|
||||||
|
fi
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc ChangeLog COPYING THANKS NEWS README
|
||||||
|
%{_bindir}/*
|
||||||
|
%{_infodir}/*
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%{_mandir}/man[15]/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Feb 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.9.4-11
|
||||||
|
- Package init
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user