]> git.pld-linux.org Git - packages/userspace-rcu.git/commitdiff
- updated to 0.13.1
authorMarcin Krol <hawk@tld-linux.org>
Fri, 10 Feb 2023 17:07:31 +0000 (18:07 +0100)
committerMarcin Krol <hawk@tld-linux.org>
Fri, 10 Feb 2023 17:07:31 +0000 (18:07 +0100)
no_examples.patch [new file with mode: 0644]
userspace-rcu.spec

diff --git a/no_examples.patch b/no_examples.patch
new file mode 100644 (file)
index 0000000..20b5ed1
--- /dev/null
@@ -0,0 +1,8 @@
+--- 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 5612de090073dfef58b647a45c0a0f6e72703de3..fd2ccd0c19a259a8979fa3cc788b88a67353d7ad 100644 (file)
@@ -7,6 +7,7 @@ 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)
 
@@ -61,12 +62,16 @@ 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
@@ -79,9 +84,6 @@ 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
 
@@ -136,7 +138,6 @@ 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.190769 seconds and 4 git commands to generate.