]> git.pld-linux.org Git - packages/userspace-rcu.git/commitdiff
- revert last commit
authorMarcin Krol <hawk@tld-linux.org>
Fri, 10 Feb 2023 17:09:21 +0000 (18:09 +0100)
committerMarcin Krol <hawk@tld-linux.org>
Fri, 10 Feb 2023 17:09:21 +0000 (18:09 +0100)
no_examples.patch [deleted file]
userspace-rcu.spec

diff --git a/no_examples.patch b/no_examples.patch
deleted file mode 100644 (file)
index 20b5ed1..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
---- userspace-rcu-0.13.1/doc/Makefile.am       2023-02-10 18:00:32.314848761 +0100
-+++ userspace-rcu-0.13.1/doc/Makefile.am       2023-02-10 18:00:35.760848972 +0100
-@@ -1,4 +1,4 @@
--SUBDIRS = examples
-+#SUBDIRS = examples
- dist_doc_DATA = rcu-api.md \
-               cds-api.md \
index fd2ccd0c19a259a8979fa3cc788b88a67353d7ad..5612de090073dfef58b647a45c0a0f6e72703de3 100644 (file)
@@ -7,7 +7,6 @@ License:        LGPL v2.1+ (library), GPL v2 (tests)
 Group:         Libraries
 Source0:       https://lttng.org/files/urcu/%{name}-%{version}.tar.bz2
 # Source0-md5: eecffc78f89938424b328298d76d856f
-Patch0:                no_examples.patch
 URL:           http://liburcu.org/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -62,16 +61,12 @@ Statyczne biblioteki Userspace RCU.
 
 %prep
 %setup -q
-%patch -p1
 
 %build
-%{__aclocal}
-%{__autoconf} -I m4
-%{__automake}
 %configure \
        --disable-silent-rules
 
-%{make}
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -84,6 +79,9 @@ rm -rf $RPM_BUILD_ROOT
 # packaged as %doc
 %{__rm} $RPM_BUILD_ROOT%{_docdir}/userspace-rcu/{{rcu,cds,uatomic}-api.md,LICENSE,README.md,solaris-build.md}
 
+install -d $RPM_BUILD_ROOT%{_examplesdir}
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/userspace-rcu/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -138,6 +136,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_pkgconfigdir}/liburcu-memb.pc
 %{_pkgconfigdir}/liburcu-qsbr.pc
 %{_pkgconfigdir}/liburcu-signal.pc
+%{_examplesdir}/%{name}-%{version}
 
 %files static
 %defattr(644,root,root,755)
This page took 0.088808 seconds and 4 git commands to generate.