Compare commits

...

No commits in common. "c8" and "c9s" have entirely different histories.
c8 ... c9s

6 changed files with 92 additions and 16 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/ucpp-1.3.4.tar.xz
/ucpp-*.tar.*

View File

@ -1 +1 @@
37797b9817ac3ed8bd443b6f07d800403583fb51 SOURCES/ucpp-1.3.4.tar.xz
19562f99199607f7f427eb115b7a0718e5fa5e12 ucpp-1.3.5.tar.bz2

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (ucpp-1.3.5.tar.bz2) = 24b9d91165ae830fae48519cee9996d7d6e2997a0dcfa6e36adc90bafc835b1740be47316a29470c0e98593d10c678652a6c7994e679ef41346345af8aec0652

39
ucpp-rpm.patch Normal file
View File

@ -0,0 +1,39 @@
diff -up ucpp/Makefile.r ucpp/Makefile
--- ucpp/Makefile.r 2011-08-09 07:13:15.000000000 +0200
+++ ucpp/Makefile 2013-05-02 01:36:23.659241707 +0200
@@ -91,25 +91,25 @@ COBJ = mem.o nhash.o cpp.o lexer.o asser
CFLAGS = $(FLAGS)
all: ucpp
- @ar cq libucpp.a *.o
+ ar cq libucpp.a *.o
clean:
- @rm -f *.o ucpp core *.a
+ rm -f *.o ucpp core *.a
ucpp: $(COBJ)
- @$(FINAL_STEP)
+ $(FINAL_STEP)
assert.o: tune.h ucppi.h cpp.h nhash.h mem.h
- @$(CC) $(CFLAGS) -c assert.c
+ $(CC) $(CFLAGS) -c assert.c
cpp.o: tune.h ucppi.h cpp.h nhash.h mem.h
- @$(CC) $(CFLAGS) -c cpp.c
+ $(CC) $(CFLAGS) -c cpp.c
eval.o: tune.h ucppi.h cpp.h nhash.h mem.h arith.c arith.h
- @$(CC) $(CFLAGS) -c eval.c
+ $(CC) $(CFLAGS) -c eval.c
lexer.o: tune.h ucppi.h cpp.h nhash.h mem.h
- @$(CC) $(CFLAGS) -c lexer.c
+ $(CC) $(CFLAGS) -c lexer.c
macro.o: tune.h ucppi.h cpp.h nhash.h mem.h
- @$(CC) $(CFLAGS) -c macro.c
+ $(CC) $(CFLAGS) -c macro.c
mem.o: mem.h
- @$(CC) $(CFLAGS) -c mem.c
+ $(CC) $(CFLAGS) -c mem.c
nhash.o: nhash.h mem.h
- @$(CC) $(CFLAGS) -c nhash.c
+ $(CC) $(CFLAGS) -c nhash.c

View File

@ -1,11 +1,11 @@
Summary: Embeddable, quick, light and fully compliant ISO C99 preprocessor
Name: ucpp
Version: 1.3.4
Release: 11%{?dist}
URL: https://github.com/scarabeusiv/ucpp
Source0: http://dev.gentooexperimental.org/%7Escarabeus/ucpp-%{version}.tar.xz
Version: 1.3.5
Release: 8%{?dist}
URL: https://gitlab.com/scarabeusiv/ucpp
Source0: https://gitlab.com/scarabeusiv/ucpp/-/archive/%{version}/ucpp-%{version}.tar.bz2
License: BSD
# fix rpath issue
BuildRequires: make
BuildRequires: libtool
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
@ -42,32 +42,27 @@ This package contains the development files for the library.
iconv -f iso8859-1 -t utf8 README >README.utf8 && \
touch -r README.utf8 README && \
mv README.utf8 README
# autoreconf to fix rpath issue
autoreconf -vif
%build
%configure \
--disable-rpath \
--disable-silent-rules \
--disable-static \
--disable-werror \
make %{?_smp_mflags}
%make_build
%install
make DESTDIR=%{buildroot} install
%make_install
rm %{buildroot}%{_libdir}/libucpp.la
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%files
%{_bindir}/ucpp
%{_mandir}/man1/ucpp.1*
%files libs
%doc AUTHORS ChangeLog* COPYING README
%{_libdir}/libucpp.so.*
%{_libdir}/libucpp.so.13*
%files devel
%{_includedir}/libucpp
@ -75,6 +70,41 @@ rm %{buildroot}%{_libdir}/libucpp.la
%{_libdir}/pkgconfig/libucpp.pc
%changelog
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.3.5-8
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.3.5-7
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Mar 19 2020 Dominik Mierzejewski <rpm@greysector.net> 1.3.5-4
- fix FTBFS due to -Werror on s390x
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jun 27 2019 Dominik Mierzejewski <rpm@greysector.net> 1.3.5-1
- update to 1.3.5
- update upstream location
- include SO version in files list to avoid unexpected bumps
- use modern macros
- drop obsolete comments
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild