This file is indexed.

/usr/src/blcr-0.8.5/rpm/Makefile.am is in blcr-dkms 0.8.5-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# To get a spec file w/ the version in it, we copy 'specfile' to the final name
# This is also our chance to substitute in an RPM release number and a date.
RPM_SPECFILE = $(PACKAGE)-$(VERSION).spec
RPM_RELEASE = 1
RPM_DATE = $(shell env LC_ALL=C date +"%a %b %d %Y")
$(RPM_SPECFILE): specfile
	@PERL@ -pe 's|\@rpm_release\@|$(RPM_RELEASE)|;' \
	        -e 's|\@date\@|$(RPM_DATE)|;' -- $< >$@

# Unless told otherwise, try to build for current CPU
RPMBUILD_FLAGS = --target @CR_CPU@
EXTRA_DIST = $(RPM_SPECFILE) license.txt
CLEANFILES = $(RPM_SPECFILE)

# Targets to build a kernel-specific RPMs
if HAVE_RPMBUILD
RPM_TARFILE = $(top_builddir)/$(PACKAGE)-$(VERSION).tar.gz
RPM_CMD = @RPMBUILD@ --define '_topdir '`pwd` $(RPMBUILD_FLAGS)
.PHONY: _srpm _rpm _all srpm rpm rpm_prep
_srpm:
	@mkdir -p SRPMS SPECS 
	$(RPM_SUDO) $(RPM_CMD) -ts $(RPM_TARFILE)
	@rm -rf SPECS
_rpm:
	@mkdir -p RPMS SPECS BUILD
	$(RPM_CMD) -tb $(RPM_TARFILE)
	@rm -rf SPECS BUILD
_all:
	@mkdir -p SRPMS RPMS SPECS BUILD
	$(RPM_CMD) -ta $(RPM_TARFILE)
	@rm -rf SPECS BUILD
rpm_prep:
	@rm -f $(RPM_TARFILE) $(RPM_SPECFILE) # ensure we start fresh, specfile will be rebuilt by dist-gzip
	$(RPM_SUDO) $(MAKE) $(AM_MAKEFLAGS) -C $(top_builddir) dist-gzip TAR_OPTIONS="--owner=0 --group=0"
srpm: rpm_prep
	$(MAKE) $(AM_MAKEFLAGS) _srpm
rpm: rpm_prep
	$(MAKE) $(AM_MAKEFLAGS) _rpm
all: rpm_prep
	$(MAKE) $(AM_MAKEFLAGS) _all
clean-local:
	-rm -rf RPMS SRPMS SPECS BUILD $(RPM_SPECFILE)
distcheck-hook: _all
	$(MAKE) $(AM_MAKEFLAGS) clean
else
all:
	@echo "==========================================="
	@echo "Don't know how to build RPMs on your system"
	@echo "==========================================="
distcheck-hook:
	@true
endif